content icon indicating copy to clipboard operation
content copied to clipboard

adding content for ContentVisibilityAutoStateChangedEvent

Open chrisdavidmills opened this issue 3 years ago • 2 comments

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:

  1. 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 has content-visibility: auto set on it). This feels weird, but I wasn't sure what else to do.
  2. As a result, the sidebar was a bit weird. I've added a separate entry in GroupData.json for ContentVisibilityAutoStateChangedEvent, 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

chrisdavidmills avatar Nov 08 '22 10:11 chrisdavidmills

Preview URLs (7 pages)
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


URL: /en-US/docs/Web/API/ContentVisibilityAutoStateChangedEvent Title: ContentVisibilityAutoStateChangedEvent

(comment last updated: 2022-12-05 08:19:50)

github-actions[bot] avatar Nov 08 '22 10:11 github-actions[bot]

Thanks for the great comments, @teoli2003 ! I think I've answered them all; not much outstanding now.

chrisdavidmills avatar Nov 09 '22 10:11 chrisdavidmills

This pull request has merge conflicts that must be resolved before it can be merged.

github-actions[bot] avatar Nov 14 '22 16:11 github-actions[bot]

(I resolved the conflict. If I made a mistake, feel free to make a follow-up PR)

teoli2003 avatar Dec 05 '22 08:12 teoli2003