As far as I know, this isn't an issue for the HTML parser. The spec doesn't require any special parsing behavior for the "inert" attribute. But I don't know what other component would be appropriate instead.
Sorry for the noise, I see the component has already been changed. I'll shut up now...
There's no such attribute. If we implement this concept it'll be as part of <dialog>. There's no need for this bug as far as I can tell.
Status: NEW → RESOLVED
Last Resolved: 4 years ago
Resolution: --- → INVALID
Yeah, for the record here, the attribute was dropped from the spec more than year ago https://html5.org/r/8536
so, Chrome is bringing back the "inert" attribute: https://github.com/WICG/inert Their intent to implemement: https://groups.google.com/a/chromium.org/forum/#!topic/blink-dev/N--HhuYFJQI Should we reconsider? Seems useful.
Status: RESOLVED → REOPENED
Resolution: INVALID → ---
Cc'ing :ntim based on bug 1322939 comment 25.
Further to Chrome's intent to implement, it is shipping behind a flag now: https://twitter.com/rob_dodson/status/868296999375847424 Webkit bug is: https://bugs.webkit.org/show_bug.cgi?id=165279
The little video in the tweet shows how tremendously useful this will be (beyond `dialog`).  https://twitter.com/rob_dodson/status/868296999375847424
The video in the tweet illustrates one use case which is easy to show visually, but you could reasonably make the argument that a slide-in menu is <dialog> like. However, a related, important case is when that slide-in menu is offscreen. You want to keep it laid out to avoid paying that cost each time it slides in and out, but if it's laid out then the focusable items in the menu are in the tab order. `inert` allows you to temporarily remove them from both the tab order and from assistive technology while not forcing the offscreen content to re-render each time you show it. https://www.youtube.com/watch?v=fGLp_gfMMGU goes into this case in more detail.
Another video showing the modal dialog use case: https://www.youtube.com/watch?v=JS68faEUduk
Note that this bug has now been opened for Edge: https://wpdev.uservoice.com/forums/257854-microsoft-edge-developer/suggestions/31606522-support-the-inert-attribute
Unassigning to reflect real status.
Assignee: ntim.bugs → nobody
You need to log in before you can comment on or make changes to this bug.