Skip to content

Commit

Permalink
[css-view-transitions-2] Fix build errors/warnings (w3c#9498)
Browse files Browse the repository at this point in the history
  • Loading branch information
noamr authored Oct 19, 2023
1 parent d0d81c5 commit 95cf4b2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion css-view-transitions-1/Overview.bs
Original file line number Diff line number Diff line change
Expand Up @@ -1068,7 +1068,7 @@ urlPrefix: https://wicg.github.io/navigation-api/; type: interface;
which causes the transition to [=skip the view transition|skip=].
[Discussion of this behavior](https://github.com/w3c/csswg-drafts/issues/8045).

: <dfn>process old state captured</dfn>
: <dfn export>process old state captured</dfn>
:: An algorithm accepting nothing, or null.
Initially null.

Expand Down
10 changes: 5 additions & 5 deletions css-view-transitions-2/Overview.bs
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ the navigation behavior based on the URL.
Note: as per default behavior, the ''@view-transition'' rule can be nested inside a
[=conditional group rule=] such as ''@media'' or ''@supports''.

## The [=@view-transition/view-transition=] property ## {#view-transition-name-prop}
## The [=@view-transition/trigger=] property ## {#view-transition-trigger-descriptor}

<pre class='descdef'>
Name: trigger
Expand Down Expand Up @@ -337,7 +337,7 @@ The <dfn attribute for=RevealEvent>viewTransition</dfn> [=getter steps=] are to
};
</xmp>

### {{Document/startViewTransition(options)}} Method Steps ### {#ViewTransition-start-with-options}
### {{Document/startViewTransition(callbackOptions)}} Method Steps ### {#ViewTransition-start-with-options}

<div algorithm="start-vt-with-options">
The [=method steps=] for <dfn method for=Document>startViewTransition(|callbackOptions|)</dfn> are as follows:
Expand All @@ -348,7 +348,7 @@ The <dfn attribute for=RevealEvent>viewTransition</dfn> [=getter steps=] are to

1. Let |viewTransition| be the result of running [=method steps=] for {{Document/startViewTransition(updateCallback)}} given |callbackOptions|'s {{StartViewTransitionOptions/update}}.

1. Set |transition|'s [=ViewTransition/active types=] to |callbackOptions|'s {{StartViewTransitionOptions/types}}.
1. Set |viewTransition|'s [=ViewTransition/active types=] to |callbackOptions|'s {{StartViewTransitionOptions/types}}.

1. Return |viewTransition|.
</div>
Expand All @@ -359,7 +359,7 @@ The <code>CSSRule</code> interface is extended as follows:

<pre class='idl'>
partial interface CSSRule {
const unsigned short VIEW_TRANSITION_RULE = 15;
const unsigned short VIEW_TRANSITION_RULE = 15;
};
</pre>

Expand Down Expand Up @@ -496,7 +496,7 @@ The {{CSSViewTransitionRule}} represents a ''@view-transition'' rule.

1. Set |oldDocument|'s [=active view transition=] to |outboundTransition|.

Note: The process continues in [=setup view transition=], via [=perform pending transition operations=], which is called in [[css-view-transitions-1#monkey-patch-to-rendering-algorithm]].
Note: The process continues in [=setup view transition=], via [=perform pending transition operations=].
</div>

<div algorithm>
Expand Down

0 comments on commit 95cf4b2

Please sign in to comment.