adding content for ContentVisibilityAutoStateChangedEvent
Description
This PR adds content for the ContentVisibilityAutoStateChangedEvent interface and its related event.
See my research sheet for more details: https://docs.google.com/document/d/1UobZG27MYj2jsV5m4mEAYyHbs59EJ2_3RDHuwYZLGEY/edit#
Some other notes:
- I've added a separate page for the actual event at
Web/API/contentvisibilityautostatechanged_event, as it is a global event, not attached to a specific interface (it fires on any element that hascontent-visibility: autoset on it). This feels weird, but I wasn't sure what else to do. - As a result, the sidebar was a bit weird. I've added a separate entry in
GroupData.jsonforContentVisibilityAutoStateChangedEvent, and used it on the event pages so at least you get a link to the event object in the side bar. But, again, it's a bit weird...
Motivation
Readers will want to know about this new API
Additional details
Related issues and pull requests
Preview URLs (7 pages)
- /en-US/docs/Web/API/ContentVisibilityAutoStateChangedEvent/ContentVisibilityAutoStateChangedEvent
- /en-US/docs/Web/API/ContentVisibilityAutoStateChangedEvent/skipped
- /en-US/docs/Web/API/ContentVisibilityAutoStateChangedEvent
- /en-US/docs/Web/API/Element/contentvisibilityautostatechanged_event
- /en-US/docs/Web/API/Element
- /en-US/docs/Web/CSS/CSS_Containment
- /en-US/docs/Web/CSS/content-visibility
Flaws (8)
Note! 5 documents with no flaws that don't need to be listed. 🎉
URL: /en-US/docs/Web/API/Element
Title: Element
Flaw count: 7
- macros:
/en-US/docs/Web/API/Element/getBoxQuads does not exist/en-US/docs/Web/API/Element/select_event redirects to /en-US/docs/Web/API/HTMLInputElement/select_event/en-US/docs/Web/API/HTMLElement/oncopy redirects to /en-US/docs/Web/API/HTMLElement/copy_event/en-US/docs/Web/API/HTMLElement/oncut redirects to /en-US/docs/Web/API/HTMLElement/cut_event/en-US/docs/Web/API/HTMLElement/onpaste redirects to /en-US/docs/Web/API/HTMLElement/paste_event
- bad_bcd_links:
- no explanation!
- no explanation!
URL: /en-US/docs/Web/API/Element/contentvisibilityautostatechanged_event
Title: Element: contentvisibilityautostatechanged event
Flaw count: 1
- bad_bcd_queries:
No BCD data for query: api.element.contentvisibilityautostatechanged_event
External URLs (3)
URL: /en-US/docs/Web/CSS/CSS_Containment
Title: CSS Containment
- https://blogs.igalia.com/mrego/2019/01/11/an-introduction-to-css-containment/ (1 time) (Note! This may be a new URL 👀)
- https://www.w3.org/TR/css-contain-2/ (2 times) (Note! This may be a new URL 👀)
URL: /en-US/docs/Web/API/ContentVisibilityAutoStateChangedEvent
Title: ContentVisibilityAutoStateChangedEvent
- https://www.w3.org/TR/css-contain-2/ (1 time) (Note! This may be a new URL 👀)
(comment last updated: 2022-12-05 08:19:50)
Thanks for the great comments, @teoli2003 ! I think I've answered them all; not much outstanding now.
This pull request has merge conflicts that must be resolved before it can be merged.
(I resolved the conflict. If I made a mistake, feel free to make a follow-up PR)