Skip to content
New issue

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

Add oncontentvisibilityautostatechange #10364

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -13155,6 +13155,7 @@ https://software.hixie.ch/utilities/js/live-dom-viewer/?%3C%21DOCTYPE%20HTML%3E%
<li><code data-x="handler-onchange">onchange</code></li>
<li><code data-x="handler-onclick">onclick</code></li>
<li><code data-x="handler-onclose">onclose</code></li>
<li><code data-x="handler-oncontentvisibilityautostatechange">oncontentvisibilityautostatechange</code></li>
<li><code data-x="handler-oncontextlost">oncontextlost</code></li>
<li><code data-x="handler-oncontextmenu">oncontextmenu</code></li>
<li><code data-x="handler-oncontextrestored">oncontextrestored</code></li>
Expand Down Expand Up @@ -111513,6 +111514,7 @@ typedef <span>OnBeforeUnloadEventHandlerNonNull</span>? <dfn typedef>OnBeforeUnl
<tr><td><dfn attribute for="HTMLElement,Document,Window,GlobalEventHandlers"><code data-x="handler-onchange">onchange</code></dfn> <td> <code data-x="event-change">change</code> <!-- widely used -->
<tr><td><dfn attribute for="HTMLElement,Document,Window,GlobalEventHandlers"><code data-x="handler-onclick">onclick</code></dfn> <td> <code data-x="event-click">click</code> <!-- widely used -->
<tr><td><dfn attribute for="HTMLElement,Document,Window,GlobalEventHandlers"><code data-x="handler-onclose">onclose</code></dfn> <td> <code data-x="event-close">close</code> <!-- new for <dialog> -->
<tr><td><dfn attribute for="HTMLElement,Document,Window,GlobalEventHandlers"><code data-x="handler-oncontentvisibilityautostatechange">oncontentvisibilityautostatechange</code></dfn> <td> <code data-x="event-contentvisibilityautostatechange">contentvisibilityautostatechange</code>
<tr><td><dfn attribute for="HTMLElement,Document,Window,GlobalEventHandlers"><code data-x="handler-oncontextlost">oncontextlost</code></dfn> <td> <code data-x="event-contextlost">contextlost</code>
<tr><td><dfn attribute for="HTMLElement,Document,Window,GlobalEventHandlers"><code data-x="handler-oncontextmenu">oncontextmenu</code></dfn> <td> <code data-x="event-contextmenu">contextmenu</code> <!-- widely used -->
<tr><td><dfn attribute for="HTMLElement,Document,Window,GlobalEventHandlers"><code data-x="handler-oncontextrestored">oncontextrestored</code></dfn> <td> <code data-x="event-contextrestored">contextrestored</code>
Expand Down Expand Up @@ -111685,6 +111687,7 @@ typedef <span>OnBeforeUnloadEventHandlerNonNull</span>? <dfn typedef>OnBeforeUnl
attribute <span>EventHandler</span> <span data-x="handler-onchange">onchange</span>;
attribute <span>EventHandler</span> <span data-x="handler-onclick">onclick</span>;
attribute <span>EventHandler</span> <span data-x="handler-onclose">onclose</span>;
attribute <span>EventHandler</span> <span data-x="handler-oncontentvisibilityautostatechange">oncontentvisibilityautostatechange</span>;
attribute <span>EventHandler</span> <span data-x="handler-oncontextlost">oncontextlost</span>;
attribute <span>EventHandler</span> <span data-x="handler-oncontextmenu">oncontextmenu</span>;
attribute <span>EventHandler</span> <span data-x="handler-oncontextrestored">oncontextrestored</span>;
Expand Down Expand Up @@ -141143,6 +141146,12 @@ interface <dfn interface>External</dfn> {
<td> <code data-x="event-close">close</code> event handler
<td> <span data-x="event handler content attributes">Event handler content attribute</span>

<tr>
<th id="ix-handler-oncontentvisibilityautostatechange"> <code data-x="">oncontentvisibilityautostatechange</code>
<td> <span data-x="handler-oncontentvisibilityautostatechange">HTML elements</span>
<td> <code data-x="event-contentvisibilityautostatechange">contentvisibilityautostatechange</code> event handler
<td> <span data-x="event handler content attributes">Event handler content attribute</span>

<tr>
<th id="ix-handler-oncontextlost"> <code data-x="">oncontextlost</code>
<td> <span data-x="handler-oncontextlost">HTML elements</span>
Expand Down Expand Up @@ -142156,6 +142165,14 @@ INSERT INTERFACES HERE
<td> <code>SharedWorkerGlobalScope</code>
<td> Fired at a shared worker's global scope when a new client connects

<tr> <!-- contentvisibilityautostatechange -->
<td> <dfn event for="HTMLElement"><code data-x="event-contentvisibilityautostatechange">contentvisibilityautostatechange</code></dfn>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So actually we should remove this:

This means we'll add an xref to the definitions section pointing to https://drafts.csswg.org/css-contain-2/#eventdef-element-contentvisibilityautostatechange .

<td> <code>Event</code>
<td> Elements
<td> Fired on elements with the <code
data-x="content-visibility-auto">content-visibility: auto</code> property when the <span data-x="skips its contents">skipped</span>
state changes.

<tr> <!-- contextlost -->
<td> <dfn event for="HTMLElement,OffscreenCanvas"><code data-x="event-contextlost">contextlost</code></dfn>
<td> <code>Event</code>
Expand Down
Loading