html
html copied to clipboard
Add oncontentvisibilityautostatechange
The contentvisibilityautostatechange event was added in CSSWG: https://www.w3.org/TR/css-contain-2/#content-visibility-auto-state-changed
An issue was raised that rightly points out that oncontentvisibilityautostatechange should also be added in line with design principles
This PR does this.
- [ ] At least two implementers are interested (and none opposed):
- Blink supports this
- Gecko ...
- WebKit ...
- [x] Tests are written and can be reviewed and commented upon at:
- https://wpt.fyi/results/css/css-contain/content-visibility?label=master&label=experimental&aligned&q=content-visibility-auto-state
- [x] Implementation bugs are filed:
- Chromium: NA
- Gecko: NA
- WebKit: NA
- Deno (only for timers, structured clone, base64 utils, channel messaging, module resolution, web workers, and web storage): NA
- Node.js (only for timers, structured clone, base64 utils, channel messaging, and module resolution): NA
- [x] MDN issue is filed:
- https://developer.mozilla.org/en-US/docs/Web/API/Element/contentvisibilityautostatechange_event
- [x] The top of this comment includes a clear commit message to use.
(See WHATWG Working Mode: Changes for more details.)
/dom.html ( diff ) /indices.html ( diff ) /webappapis.html ( diff )