We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HTMLElement#inert
Hi, according to the HTML Spec (https://html.spec.whatwg.org/multipage/interaction.html#dom-inert) the HTMLElement has the inert property which reflects its inert boolean attribute and the inert state of the DOM element (https://html.spec.whatwg.org/multipage/interaction.html#inert) (no focus, click, etc).
inert
happy-dom seems not yet to support this. e.g.
import { Window } from 'happy-dom'; const window = new Window(); const document = window.document; document.body.innerHTML = '<div class="container"></div>'; const container = document.querySelector('.container'); container.inert = true; console.log(container.outerHTML); // will print `<div class="container"></div>` instead of `<div class="container" inert></div>`
cheers
The text was updated successfully, but these errors were encountered:
feat: [capricorn86#1124] Implement inert attribute
22ee66a
Merge pull request #1383 from odanado/fix/1124
5c745d4
feat: [#1124] Implement inert attribute
Thank you for reporting @mbehzad! 🙂
Big thanks to @odanado for contributing with a fix ⭐
You can read more about the release here: https://github.com/capricorn86/happy-dom/releases/tag/v14.6.0
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Hi,
according to the HTML Spec (https://html.spec.whatwg.org/multipage/interaction.html#dom-inert) the HTMLElement has the
inert
property which reflects itsinert
boolean attribute and the inert state of the DOM element (https://html.spec.whatwg.org/multipage/interaction.html#inert) (no focus, click, etc).happy-dom seems not yet to support this. e.g.
cheers
The text was updated successfully, but these errors were encountered: