@@ -1857,10 +1857,10 @@ Using ''content-visibility: auto''</h3>
1857
1857
will be forced to rely on the ''200px'' height estimate.
1858
1858
</div>
1859
1859
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 }
1861
1861
--------------------------------------------------------------------------------------------------------------------------------------------
1862
1862
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
1864
1864
the rendering state changes and the element either becomes or stops being
1865
1865
[=relevant to the user=] .
1866
1866
@@ -1875,20 +1875,20 @@ This event is dispatched by posting a task at the time when the state change occ
1875
1875
1876
1876
<pre class='idl'>
1877
1877
[Exposed=Window]
1878
- interface ContentVisibilityAutoStateChangedEvent : Event {
1879
- constructor(DOMString type, optional ContentVisibilityAutoStateChangedEventInit eventInitDict = {});
1878
+ interface ContentVisibilityAutoStateChangeEvent : Event {
1879
+ constructor(DOMString type, optional ContentVisibilityAutoStateChangeEventInit eventInitDict = {});
1880
1880
readonly attribute boolean skipped;
1881
1881
};
1882
- dictionary ContentVisibilityAutoStateChangedEventInit : EventInit {
1882
+ dictionary ContentVisibilityAutoStateChangeEventInit : EventInit {
1883
1883
boolean skipped = false;
1884
1884
};
1885
1885
</pre>
1886
1886
1887
1887
<div class="attributes">
1888
1888
1889
- Description of ContentVisibilityAutoStateChangedEvent attributes:
1889
+ Description of ContentVisibilityAutoStateChangeEvent attributes:
1890
1890
1891
- : <dfn attribute for=ContentVisibilityAutoStateChangedEvent >skipped</dfn>
1891
+ : <dfn attribute for=ContentVisibilityAutoStateChangeEvent >skipped</dfn>
1892
1892
:: Set to true if target changed state to [=skip its contents=] , and false otherwise.
1893
1893
1894
1894
<wpt>
@@ -1900,10 +1900,10 @@ Description of ContentVisibilityAutoStateChangedEvent attributes:
1900
1900
1901
1901
<div class="members">
1902
1902
1903
- Description of ContentVisibilityAutoStateChangedEventInit members:
1903
+ Description of ContentVisibilityAutoStateChangeEventInit members:
1904
1904
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.
1907
1907
1908
1908
</div>
1909
1909
@@ -2279,6 +2279,7 @@ Changes from <a href="https://www.w3.org/TR/2022/WD-css-contain-2-20220917/">202
2279
2279
2280
2280
* 'content-visibility' applies to the same properties as [=size containment=] rather than [=layout containment=]
2281
2281
* 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.
2282
2283
2283
2284
<h3 id="changes-since-2020-12-16">
2284
2285
Changes from <a href="https://www.w3.org/TR/2020/WD-css-contain-2-20201216/">2020-12-16 Working Draft</a>
0 commit comments