Skip to content

Commit 8706306

Browse files
[css-view-transitions-1] Fix spec text for suppressing rendering. (#8328)
* Fix spec text for suppressing rendering * Update Overview.bs * Whitespace tweak Co-authored-by: Jake Archibald <jaffathecake@gmail.com>
1 parent 537adc8 commit 8706306

File tree

1 file changed

+4
-13
lines changed

1 file changed

+4
-13
lines changed

css-view-transitions-1/Overview.bs

Lines changed: 4 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -682,21 +682,12 @@ urlPrefix: https://html.spec.whatwg.org/multipage/rendering.html; type: dfn;
682682
</div>
683683

684684
<div algorithm="suppress rendering">
685-
1. For each {{Document}} in <var ignore>docs</var> with a [=document/transition suppressing rendering=] of true:
686-
687-
Issue: Move this to the html spec.
688-
See [html/8368](https://github.com/whatwg/html/pull/8368/files).
689-
690-
Issue: How should input be handled when in this state?
691-
The last frame presented to the user will not reflect the DOM state as it asynchronously switches to the new version.
692-
See [issue 7797](https://github.com/w3c/csswg-drafts/issues/7797).
693-
694-
Note: The aim is to prevent unintended DOM updates from being presented to the user after a cached snapshot for the elements has been captured.
695-
We wait for one [=rendering opportunity=] after prepare to present DOM mutations made by the author before prepare to be presented to the user.
696-
This is also the content captured in snapshots.
685+
In the definition for [=rendering opportunity=], add the following condition:
686+
687+
A navigable has no rendering opportunities if active document has [=document/transition suppressing rendering=] set to true.
697688

698689
Note: These steps will be added to the [=update the rendering=] in the HTML spec.
699-
As such, the prose style is written to match other steps in that algorithm.
690+
See <a href="https://github.com/w3c/csswg-drafts/issues/7784">#7884</a> for more context.
700691
</div>
701692

702693
## [=Perform pending transition operations=] ## {#perform-pending-transition-operations-algorithm}

0 commit comments

Comments
 (0)