Skip to content

Commit 085903d

Browse files
committed
[css-view-transitions-1] curly quotes
1 parent 10673a6 commit 085903d

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

css-view-transitions-1/Overview.bs

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ urlPrefix: https://wicg.github.io/navigation-api/; type: interface;
155155
1. Developer calls <code>document.{{Document/startViewTransition}}({{UpdateCallback|updateCallback}})</code>,
156156
which returns <code>viewTransition</code>, a {{ViewTransition}}.
157157

158-
1. Current state captured as the "old" state.
158+
1. Current state captured as the old state.
159159

160160
1. Rendering paused.
161161

@@ -164,7 +164,7 @@ urlPrefix: https://wicg.github.io/navigation-api/; type: interface;
164164

165165
1. <code>viewTransition.{{ViewTransition/updateCallbackDone}}</code> fulfills.
166166

167-
1. Current state captured as the "new" state.
167+
1. Current state captured as the new state.
168168

169169
1. Transition pseudo-elements created.
170170
See [[#view-transition-pseudos]] for an overview of this structure.
@@ -337,7 +337,7 @@ urlPrefix: https://wicg.github.io/navigation-api/; type: interface;
337337
}
338338
```
339339

340-
By default, these groups will transition size and position from their "old" to "new" state,
340+
By default, these groups will transition size and position from their old to new state,
341341
while their visual states cross-fade:
342342

343343
<figure>
@@ -352,7 +352,7 @@ urlPrefix: https://wicg.github.io/navigation-api/; type: interface;
352352
<video src="diagrams/videos/bad-sidebar.mp4" style="aspect-ratio: 1404/738" class="main-example-video" controls muted loop playsinline></video>
353353
</figure>
354354

355-
In this case, things would look better if the sidebar was static if it was in both the "old" and "new" states.
355+
In this case, things would look better if the sidebar was static if it was in both the old and new states.
356356
Otherwise, it should animate in or out.
357357

358358
The '':only-child'' pseudo-class can be used to create animations specifically for these states:
@@ -379,7 +379,7 @@ urlPrefix: https://wicg.github.io/navigation-api/; type: interface;
379379
}
380380
```
381381

382-
For cases where the sidebar has both an "old" and "new" state, the default animation is correct.
382+
For cases where the sidebar has both an old and new state, the default animation is correct.
383383

384384
<figure>
385385
<video src="diagrams/videos/good-sidebar.mp4" style="aspect-ratio: 1404/738" class="main-example-video" controls muted loop playsinline></video>
@@ -391,7 +391,7 @@ urlPrefix: https://wicg.github.io/navigation-api/; type: interface;
391391
let's say we wanted to create a circular reveal from the user's cursor.
392392
This can't be done with CSS alone.
393393

394-
Firstly, in the CSS, allow the "old" and "new" states to layer on top of one another without the default blending,
394+
Firstly, in the CSS, allow the old and new states to layer on top of one another without the default blending,
395395
and prevent the default cross-fade animation:
396396

397397
```css
@@ -491,7 +491,7 @@ urlPrefix: https://wicg.github.io/navigation-api/; type: interface;
491491
</dl>
492492

493493
Note: This property causes the user-agent to both capture separate snapshots from the elements,
494-
as well as create separate pseudo-element sub-trees representing this element's "old" and "new" states.
494+
as well as create separate pseudo-element sub-trees representing this element's old and new states.
495495
For the purposes of this API,
496496
if one element has a transition-name "foo" in the old state, and another element has a transition-name "foo" in the new state,
497497
they are treated as representing different visual state of the same element.
@@ -595,7 +595,7 @@ urlPrefix: https://wicg.github.io/navigation-api/; type: interface;
595595
## View transition pseudo-elements ## {#view-transition-pseudos}
596596

597597
<div class=note>
598-
Once the user-agent has captured both the "old" and "new" states of the document,
598+
Once the user-agent has captured both the old and new states of the document,
599599
it creates a structure of pseudo-elements like the following:
600600

601601
```
@@ -612,7 +612,7 @@ urlPrefix: https://wicg.github.io/navigation-api/; type: interface;
612612

613613
For convenience, the [=document element=] is given the 'view-transition-name' "root" in the [[#ua-styles|user-agent style sheet]].
614614

615-
Either ''::view-transition-old()'' or ''::view-transition-new()'' are absent in cases where the capture does not have an "old" or "new" state.
615+
Either ''::view-transition-old()'' or ''::view-transition-new()'' are absent in cases where the capture does not have an old or new state.
616616

617617
Each of the pseudo-elements generated can be targeted by CSS in order to customize its appearance,
618618
behavior and/or add animations.
@@ -646,11 +646,11 @@ urlPrefix: https://wicg.github.io/navigation-api/; type: interface;
646646
### <dfn>::view-transition-group( <<pt-name-selector>> )</dfn> ### {#::view-transition-group}
647647

648648
<div class=note>
649-
This element initially mirrors the size and position of the "old" element,
650-
or the "new" element if there isn't an "old" element.
649+
This element initially mirrors the size and position of the old element,
650+
or the new element if there isn't an old element.
651651
It is always a [=tree/child=] of a ''::view-transition''.
652652

653-
If there's both an "old" and "new" state,
653+
If there's both an old and new state,
654654
styles in the [=document/view transition style sheet=] animate this pseudo-element's 'width' and 'height'
655655
from the size of the old element's [=border box=] to that of the new element's [=border box=].
656656

@@ -709,11 +709,11 @@ urlPrefix: https://wicg.github.io/navigation-api/; type: interface;
709709

710710
<div class=note>
711711

712-
This element is a replaced element that produced the visual representation of the "old" state taken from user-agent provided snapshots.
712+
This element is a replaced element that produced the visual representation of the old state taken from user-agent provided snapshots.
713713

714714
This is only ever a [=tree/child=] of a ''::view-transition-image-pair()'',
715715
never has any [=tree/children=],
716-
and is omitted if there's no "old" state to represent.
716+
and is omitted if there's no old state to represent.
717717

718718
'':only-child'' can be used to match cases where this element is the only element in the ''::view-transition-image-pair()''.
719719

0 commit comments

Comments
 (0)