@@ -26,14 +26,18 @@ spec:webidl; type:interface; text:Promise
2626spec:css-images-4; type:function; text:element()
2727spec:dom; type:dfn; text:document
2828spec:css-2022; type:dfn; text:style sheet
29+ spec:selectors-4; type:dfn; text:type selector
30+ spec:css-box-4; type:dfn; text:border box
31+ spec:css-display-3; type:dfn;
32+ text:containing block
33+ text:replaced element
34+ spec:css-cascade-5; type:dfn; text:computed value
2935</pre>
3036
3137<pre class=anchors>
3238urlPrefix: https://wicg.github.io/navigation-api/; type: interface;
3339 text: NavigateEvent
3440 text: signal; for: NavigateEvent; url: #ref-for-dom-navigateevent-signal①
35- urlPrefix: https://html.spec.whatwg.org/multipage/rendering.html; type: dfn;
36- text: HTML user agent style sheet; url: #the-css-user-agent-style-sheet-and-presentational-hints
3741</pre>
3842
3943<script async type="module" src="diagrams/resources/scaler.js"></script>
@@ -176,7 +180,7 @@ urlPrefix: https://html.spec.whatwg.org/multipage/rendering.html; type: dfn;
176180
177181 <div id="phases-diagram">
178182 <spec-scaler canvaswidth="1920" canvasheight="1080" style="aspect-ratio: 1920/1080">
179- <iframe class="spec-slides" src="diagrams/phases/index .html"></iframe>
183+ <iframe class="spec-slides" src="diagrams/phases/phases .html"></iframe>
180184 </spec-scaler>
181185 <p class="spec-slide-controls">
182186 <button disabled> Previous</button>
@@ -495,7 +499,11 @@ urlPrefix: https://html.spec.whatwg.org/multipage/rendering.html; type: dfn;
495499
496500# User-agent styles # {#ua-styles}
497501
498- The following is added to the [=HTML user agent style sheet=] :
502+ The <dfn>global view transition user agent style sheet</dfn> is a style sheet in the [=user-agent origin=] , used in all namespaces.
503+
504+ Issue: [CSS needs a central place for an "all namespaces" style sheet] (https://github.com/w3c/csswg-drafts/issues/8573).
505+
506+ It contains the following:
499507
500508 ```css
501509 @keyframes -ua-view-transition-fade-out {
@@ -506,13 +514,13 @@ urlPrefix: https://html.spec.whatwg.org/multipage/rendering.html; type: dfn;
506514 from { opacity: 0; }
507515 }
508516
509- html {
517+ :root {
510518 view-transition-name: root;
511519 }
512520 ```
513521
514522 <div class=note>
515- There are further additions to the [=HTML user agent style sheet=] defined in [[#view-transition-pseudos]] for each pseudo-element,
523+ There are further additions to the [=global view transition user agent style sheet=] defined in [[#view-transition-pseudos]] for each pseudo-element,
516524 and other styles are added at runtime via the [=document=] 's [=document/view transition style sheet=] .
517525 </div>
518526
@@ -595,10 +603,10 @@ urlPrefix: https://html.spec.whatwg.org/multipage/rendering.html; type: dfn;
595603
596604 Its [=containing block=] is the [=snapshot root=] .
597605
598- The following is added to the [=HTML user agent style sheet=] :
606+ The following is added to the [=global view transition user agent style sheet=] :
599607
600608 ```css
601- html ::view-transition {
609+ :root ::view-transition {
602610 position: fixed;
603611 inset: 0;
604612 }
@@ -631,10 +639,10 @@ urlPrefix: https://html.spec.whatwg.org/multipage/rendering.html; type: dfn;
631639
632640 It is selected from its [=ultimate originating element=] , the [=document element=] .
633641
634- The following is added to the [=HTML user agent style sheet=] :
642+ The following is added to the [=global view transition user agent style sheet=] :
635643
636644 ```css
637- html ::view-transition-group(*) {
645+ :root ::view-transition-group(*) {
638646 position: absolute;
639647 top: 0;
640648 left: 0;
@@ -659,10 +667,10 @@ urlPrefix: https://html.spec.whatwg.org/multipage/rendering.html; type: dfn;
659667
660668 It is selected from its [=ultimate originating element=] , the [=document element=] .
661669
662- The following is added to the [=HTML user agent style sheet=] :
670+ The following is added to the [=global view transition user agent style sheet=] :
663671
664672 ```css
665- html ::view-transition-image-pair(*) {
673+ :root ::view-transition-image-pair(*) {
666674 position: absolute;
667675 inset: 0;
668676
@@ -698,10 +706,10 @@ urlPrefix: https://html.spec.whatwg.org/multipage/rendering.html; type: dfn;
698706 Note: The image content is captured in [=capture the image=] ,
699707 then set and updated in [=setup transition pseudo-elements=] and [=update pseudo-element styles=] .
700708
701- The following is added to the [=HTML user agent style sheet=] :
709+ The following is added to the [=global view transition user agent style sheet=] :
702710
703711 ```css
704- html ::view-transition-old(*) {
712+ :root ::view-transition-old(*) {
705713 position: absolute;
706714 inset-block-start: 0;
707715 inline-size: 100%;
@@ -721,10 +729,10 @@ urlPrefix: https://html.spec.whatwg.org/multipage/rendering.html; type: dfn;
721729### <dfn>::view-transition-new( <<pt-name-selector>> )</dfn>
722730
723731 Identical to ''::view-transition-old()'' ,
724- except the following styles added to the [=HTML user agent style sheet=] :
732+ except the following styles added to the [=global view transition user agent style sheet=] :
725733
726734 ```css
727- html ::view-transition-old(*) {
735+ :root ::view-transition-old(*) {
728736 position: absolute;
729737 inset-block-start: 0;
730738 inline-size: 100%;
@@ -866,7 +874,7 @@ urlPrefix: https://html.spec.whatwg.org/multipage/rendering.html; type: dfn;
866874
867875 : <dfn>view transition style sheet</dfn>
868876 :: a [=/style sheet=] .
869- Initially a new [=/style sheet=] in the [=user-agent origin=] , ordered after the [=HTML user agent style sheet=] .
877+ Initially a new [=/style sheet=] in the [=user-agent origin=] , ordered after the [=global view transition user agent style sheet=] .
870878
871879 Note: This is used to hold dynamic styles relating to transitions.
872880
@@ -1338,7 +1346,7 @@ urlPrefix: https://html.spec.whatwg.org/multipage/rendering.html; type: dfn;
13381346
13391347 <!-- deliberately using <pre> so the example can contain <var> references -->
13401348 <pre highlight="css">
1341- html ::view-transition-old(<var> transitionName</var> ) {
1349+ :root ::view-transition-old(<var> transitionName</var> ) {
13421350 object-view-box: <var> oldViewBox</var> ;
13431351 }
13441352 </pre>
@@ -1389,7 +1397,7 @@ urlPrefix: https://html.spec.whatwg.org/multipage/rendering.html; type: dfn;
13891397
13901398 <!-- deliberately using <pre> so the example can contain <var> references -->
13911399 <pre highlight="css">
1392- html ::view-transition-group(<var> transitionName</var> ) {
1400+ :root ::view-transition-group(<var> transitionName</var> ) {
13931401 animation-name: -ua-view-transition-group-anim-<var> transitionName</var> ;
13941402 }
13951403 </pre>
@@ -1401,7 +1409,7 @@ urlPrefix: https://html.spec.whatwg.org/multipage/rendering.html; type: dfn;
14011409
14021410 <!-- deliberately using <pre> so the example can contain <var> references -->
14031411 <pre highlight="css">
1404- html ::view-transition-image-pair(<var> transitionName</var> ) {
1412+ :root ::view-transition-image-pair(<var> transitionName</var> ) {
14051413 isolation: isolate;
14061414 }
14071415 </pre>
@@ -1413,8 +1421,8 @@ urlPrefix: https://html.spec.whatwg.org/multipage/rendering.html; type: dfn;
14131421
14141422 <!-- deliberately using <pre> so the example can contain <var> references -->
14151423 <pre highlight="css">
1416- html ::view-transition-old(<var> transitionName</var> ),
1417- html ::view-transition-new(<var> transitionName</var> ) {
1424+ :root ::view-transition-old(<var> transitionName</var> ),
1425+ :root ::view-transition-new(<var> transitionName</var> ) {
14181426 mix-blend-mode: plus-lighter;
14191427 }
14201428 </pre>
@@ -1675,7 +1683,7 @@ urlPrefix: https://html.spec.whatwg.org/multipage/rendering.html; type: dfn;
16751683
16761684 <!-- deliberately using <pre> so the example can contain <var> references -->
16771685 <pre highlight="css">
1678- html ::view-transition-group(<var> transitionName</var> ) {
1686+ :root ::view-transition-group(<var> transitionName</var> ) {
16791687 width: <var> width</var> ;
16801688 height: <var> height</var> ;
16811689 transform: <var> transform</var> ;
@@ -1704,7 +1712,7 @@ urlPrefix: https://html.spec.whatwg.org/multipage/rendering.html; type: dfn;
17041712
17051713 <!-- deliberately using <pre> so the example can contain <var> references -->
17061714 <pre highlight="css">
1707- html ::view-transition-new(<var> transitionName</var> ) {
1715+ :root ::view-transition-new(<var> transitionName</var> ) {
17081716 object-view-box: <var> newViewBox</var> ;
17091717 }
17101718 </pre>
0 commit comments