Skip to content

Commit

Permalink
Reference HTML process model (#9157)
Browse files Browse the repository at this point in the history
  • Loading branch information
vmpstr authored Aug 23, 2023
1 parent 61da22e commit 91f68d0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions css-contain-2/Overview.bs
Original file line number Diff line number Diff line change
Expand Up @@ -1994,9 +1994,8 @@ Restrictions and Clarifications {#cv-notes}
must determine their proximity to the viewport
in the next [=update the rendering=] cycle.
The effect of this determination must be reflected in the visual update which results from this [=update the rendering=] cycle.
See <a href="https://html.spec.whatwg.org/multipage/webappapis.html#event-loop-processing-model:content-visibility-auto">the event loop process model</a> for the concrete algorithm description.

ISSUE: Reference the HTML spec algorithm here, when it's available.

<div class=note>
When an element first gains ''content-visibility: auto'', it may or may not
be positioned on screen. The determination of this state and thus
Expand Down Expand Up @@ -2303,6 +2302,7 @@ This appendix is <em>informative</em>.
Changes from <a href="https://www.w3.org/TR/2022/WD-css-contain-2-20220917/">2022-09-17 Working Draft</a>
</h3>

* Referenced the HTML event loop process model in the [[#cv-notes]], clarification 4.
* defined [=proximity to the viewport=] and used it in the [[#cv-notes]], clarification 4.
* 'content-visibility' applies to the same properties as [=size containment=] rather than [=layout containment=]
* clarified that 'content-visibility' affects the used value, not computed value, of the 'contain' property
Expand Down

0 comments on commit 91f68d0

Please sign in to comment.