Skip to content

Commit 83910c8

Browse files
authored
[css-contain-2] rename ContentVisibilityAutoStateChanged to ContentVisibilityAutoStateChange (w3c#8413)
1 parent d76c8ca commit 83910c8

File tree

1 file changed

+11
-10
lines changed

1 file changed

+11
-10
lines changed

css-contain-2/Overview.bs

+11-10
Original file line numberDiff line numberDiff line change
@@ -1857,10 +1857,10 @@ Using ''content-visibility: auto''</h3>
18571857
will be forced to rely on the ''200px'' height estimate.
18581858
</div>
18591859

1860-
Detecting ''content-visibility: auto'' state changes: the <a event>contentvisibilityautostatechanged</a> event {#content-visibility-auto-state-changed}
1860+
Detecting ''content-visibility: auto'' state changes: the <a event>contentvisibilityautostatechange</a> event {#content-visibility-auto-state-change}
18611861
--------------------------------------------------------------------------------------------------------------------------------------------
18621862

1863-
The <dfn event dfn-for="Element">contentvisibilityautostatechanged</dfn> event is fired on an element with ''content-visibility: auto'' style when
1863+
The <dfn event dfn-for="Element">contentvisibilityautostatechange</dfn> event is fired on an element with ''content-visibility: auto'' style when
18641864
the rendering state changes and the element either becomes or stops being
18651865
[=relevant to the user=].
18661866

@@ -1875,20 +1875,20 @@ This event is dispatched by posting a task at the time when the state change occ
18751875

18761876
<pre class='idl'>
18771877
[Exposed=Window]
1878-
interface ContentVisibilityAutoStateChangedEvent : Event {
1879-
constructor(DOMString type, optional ContentVisibilityAutoStateChangedEventInit eventInitDict = {});
1878+
interface ContentVisibilityAutoStateChangeEvent : Event {
1879+
constructor(DOMString type, optional ContentVisibilityAutoStateChangeEventInit eventInitDict = {});
18801880
readonly attribute boolean skipped;
18811881
};
1882-
dictionary ContentVisibilityAutoStateChangedEventInit : EventInit {
1882+
dictionary ContentVisibilityAutoStateChangeEventInit : EventInit {
18831883
boolean skipped = false;
18841884
};
18851885
</pre>
18861886

18871887
<div class="attributes">
18881888

1889-
Description of ContentVisibilityAutoStateChangedEvent attributes:
1889+
Description of ContentVisibilityAutoStateChangeEvent attributes:
18901890

1891-
: <dfn attribute for=ContentVisibilityAutoStateChangedEvent>skipped</dfn>
1891+
: <dfn attribute for=ContentVisibilityAutoStateChangeEvent>skipped</dfn>
18921892
:: Set to true if target changed state to [=skip its contents=], and false otherwise.
18931893

18941894
<wpt>
@@ -1900,10 +1900,10 @@ Description of ContentVisibilityAutoStateChangedEvent attributes:
19001900

19011901
<div class="members">
19021902

1903-
Description of ContentVisibilityAutoStateChangedEventInit members:
1903+
Description of ContentVisibilityAutoStateChangeEventInit members:
19041904

1905-
: <dfn dict-member for=ContentVisibilityAutoStateChangedEventInit>skipped</dfn>
1906-
:: See the description of the {{ContentVisibilityAutoStateChangedEvent/skipped}} attribute.
1905+
: <dfn dict-member for=ContentVisibilityAutoStateChangeEventInit>skipped</dfn>
1906+
:: See the description of the {{ContentVisibilityAutoStateChangeEvent/skipped}} attribute.
19071907

19081908
</div>
19091909

@@ -2279,6 +2279,7 @@ Changes from <a href="https://www.w3.org/TR/2022/WD-css-contain-2-20220917/">202
22792279

22802280
* 'content-visibility' applies to the same properties as [=size containment=] rather than [=layout containment=]
22812281
* clarified that 'content-visibility' affects the used value, not computed value, of the 'contain' property
2282+
* Updated the ContentVisibilityAutoStateChanged event name to ContentVisibilityAutoStateChange to follow the convention for event names.
22822283

22832284
<h3 id="changes-since-2020-12-16">
22842285
Changes from <a href="https://www.w3.org/TR/2020/WD-css-contain-2-20201216/">2020-12-16 Working Draft</a>

0 commit comments

Comments
 (0)