[cssom-view-1] Add: run snapshot post-layout state steps #10796 - #11037
Conversation
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.
|
@emilio Does this look like a reasonable approach? HTML would then invoke this step in the appropriate place, and other specs would refer to this and say what they snapshot. |
emilio
left a comment
There was a problem hiding this comment.
This looks good conceptually, a nit and few doubts about editorial-ish things... Thanks!
|
|
||
| 1. For each CSS feature that needs to snapshot post-layout state, take a snapshot of the relevant state. | ||
|
|
||
| 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. |
There was a problem hiding this comment.
I don't quite know what the right thing to do is for other specs to reference these kind of things, but be good to have them listed here or something actually... @tabatkins do you know what the best thing to do here is?
There was a problem hiding this comment.
We just need some defined term here for other specs to hook, like <dfn export>snapshotted post-layout state</dfn>.
And fwiw, the "should" in this line needs to be "must".
1b92ee9 to
f0c414f
Compare
Add "run snapshot post-layout state steps" as resolved in issue #10796. Let other specifications specify what they snapshot on a feature-by-feature basis.
Resolution: #10796 (comment)