Skip to content

Commit

Permalink
[css-view-transitions-2] Amend specificity of view-transition pseudos…
Browse files Browse the repository at this point in the history
  • Loading branch information
noamr committed Feb 13, 2024
1 parent 5fc1aee commit f04fcbb
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions css-view-transitions-2/Overview.bs
Original file line number Diff line number Diff line change
Expand Up @@ -361,8 +361,7 @@ document.startViewTransition({update: updateTheDOMSomehow});
[=ViewTransition/named elements=] for the pseudo-element's 'view-transition-name' [=list/contains=] all of those values.

The specificity of a [=named view transition pseudo-element=] [=selector=]
with a <<pt-class-selector>>
is equivalent to a [=class selector=] with the equivalent number of classes.
with a <<pt-class-selector>> is equivalent to a [=type selector=].

# CSS rules # {#css-rules}

Expand Down Expand Up @@ -628,7 +627,7 @@ When capturing the old or new state for an element, perform the following steps
1. Set |inboundTransition|’s [=ViewTransition/phase=] to "`update-callback-called`".

1. Call |onReady|.

Note: The |inboundTransition| is activated after the dispatch of {{Window/pagereveal}} to ensure mutations made in this event apply to the captured new state.

1. At any given time, the UA may decide to skip |inboundTransition|, e.g. after an [=implementation-defined=] timeout.
Expand Down

0 comments on commit f04fcbb

Please sign in to comment.