Skip to content

Commit 6917bc3

Browse files
authored
[cssom-view-1] Add: run snapshot post-layout state steps w3c#10796 (w3c#11037)
Add "run snapshot post-layout state steps" as resolved in issue w3c#10796. Let other specifications specify what they snapshot on a feature-by-feature basis.
1 parent cc97bde commit 6917bc3

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

cssom-view-1/Overview.bs

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2015,6 +2015,18 @@ Issue: In what order are scrollend events dispatched? Ordered based on scroll st
20152015
</table>
20162016

20172017

2018+
Post-Layout State Snapshotting {#post-layout-snapshot}
2019+
======================================================
2020+
2021+
Some CSS features use post-layout state, like scroll position, as input to the next style and layout update.
2022+
2023+
When asked to <dfn export>run snapshot post-layout state steps</dfn> for a {{Document}} <var>doc</var>, run these steps:
2024+
2025+
1. For each CSS feature that needs to snapshot post-layout state, take a snapshot of the relevant state in <var>doc</var>.
2026+
2027+
The state that is snapshot is defined in other specifications. These steps must not invalidate <var>doc</var> or any other {{Document}}s in such a way that other post-layout snapshotting steps can observe that such snapshotting happened. It follows that the order of which such snapshotting takes place should not matter.
2028+
2029+
20182030
Security and Privacy Considerations {#priv-sec}
20192031
===============================================
20202032

0 commit comments

Comments
 (0)