Skip to content

Commit

Permalink
[css-view-transitions-1] Remove HTML monkey patches (#9079)
Browse files Browse the repository at this point in the history
  • Loading branch information
noamr authored Jul 18, 2023
1 parent 0cadf52 commit 653d0b1
Showing 1 changed file with 0 additions and 21 deletions.
21 changes: 0 additions & 21 deletions css-view-transitions-1/Overview.bs
Original file line number Diff line number Diff line change
Expand Up @@ -1166,27 +1166,6 @@ urlPrefix: https://wicg.github.io/navigation-api/; type: interface;
Note: These are used to update, and later remove styles
from a [=/document=]'s [=document/dynamic view transition style sheet=].

## Monkey patches to rendering ## {#monkey-patch-to-rendering-algorithm}

<div algorithm="monkey patch to rendering">
Run the following steps before <a href="https://html.spec.whatwg.org/multipage/webappapis.html#event-loop-processing-model:run-the-update-intersection-observations-steps">intersection observer steps</a> in the [=update the rendering=] steps:

1. For each [=fully active=] {{Document}} in <var ignore>docs</var>,
[=perform pending transition operations=] for that {{Document}}.

Note: These steps will be added to the [=update the rendering=] in the HTML spec.
As such, the prose style is written to match other steps in that algorithm.
</div>

<div algorithm="suppress rendering">
In the definition for [=rendering opportunity=], add the following condition:

A navigable has no rendering opportunities if active document has [=document/rendering suppression for view transitions=] set to true.

Note: These steps will be added to the [=update the rendering=] in the HTML spec.
See <a href="https://github.com/w3c/csswg-drafts/issues/7784">#7884</a> for more context.
</div>

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

<div algorithm>
Expand Down

0 comments on commit 653d0b1

Please sign in to comment.