@@ -107,11 +107,11 @@ Determining the Anchor {#determining}
107
107
<!-- Big Text: a-name
108
108
109
109
███▌ █ █▌ ███▌ █ █ █████▌
110
- ▐█ ▐█ █▌ █▌ ▐█ ▐█ ██ ██ █▌
111
- █▌ █▌ ██▌ █▌ █▌ █▌ █▌█ █▐█ █▌
112
- █▌ █▌ ████▌ █▌▐█ █▌ █▌ █▌ █▌ █ ▐█ ████
113
- █████▌ █▌ ██▌ █████▌ █▌ ▐█ █▌
114
- █▌ █▌ █▌ █▌ █▌ █▌ █▌ ▐█ █▌
110
+ ▐█ ▐█ █▌ █▌ ▐█ ▐█ ██ ██ █▌
111
+ █▌ █▌ ██▌ █▌ █▌ █▌ █▌█ █▐█ █▌
112
+ █▌ █▌ ████▌ █▌▐█ █▌ █▌ █▌ █▌ █ ▐█ ████
113
+ █████▌ █▌ ██▌ █████▌ █▌ ▐█ █▌
114
+ █▌ █▌ █▌ █▌ █▌ █▌ █▌ ▐█ █▌
115
115
█▌ █▌ █▌ ▐▌ █▌ █▌ █▌ ▐█ █████▌
116
116
-->
117
117
@@ -280,12 +280,12 @@ or nothing (a missing specifier).
280
280
<!-- Big Text: default
281
281
282
282
████▌ █████▌ █████▌ ███▌ █▌ █▌ █▌ █████▌
283
- █▌ █▌ █▌ █▌ ▐█ ▐█ █▌ █▌ █▌ █▌
284
- █▌ █▌ █▌ █▌ █▌ █▌ █▌ █▌ █▌ █▌
285
- █▌ █▌ ████ ████ █▌ █▌ █▌ █▌ █▌ █▌
286
- █▌ █▌ █▌ █▌ █████▌ █▌ █▌ █▌ █▌
287
- █▌ █▌ █▌ █▌ █▌ █▌ █▌ █▌ █▌ █▌
288
- ████▌ █████▌ █▌ █▌ █▌ ███▌ █████ █▌
283
+ █▌ █▌ █▌ █▌ ▐█ ▐█ █▌ █▌ █▌ █▌
284
+ █▌ █▌ █▌ █▌ █▌ █▌ █▌ █▌ █▌ █▌
285
+ █▌ █▌ ████ ████ █▌ █▌ █▌ █▌ █▌ █▌
286
+ █▌ █▌ █▌ █▌ █████▌ █▌ █▌ █▌ █▌
287
+ █▌ █▌ █▌ █▌ █▌ █▌ █▌ █▌ █▌ █▌
288
+ ████▌ █████▌ █▌ █▌ █▌ ███▌ █████ █▌
289
289
-->
290
290
291
291
<h3 id=anchor-default>
@@ -352,8 +352,8 @@ to explicitly refer to edges of an [=anchor element=].
352
352
353
353
<!-- Big Text: inset-area
354
354
355
- ████ █ █▌ ███▌ █████▌ █████▌ ███▌ ████▌ █████▌ ███▌
356
- ▐▌ █▌ █▌ █▌ █▌ █▌ █▌ ▐█ ▐█ █▌ █▌ █▌ ▐█ ▐█
355
+ ████ █ █▌ ███▌ █████▌ █████▌ ███▌ ████▌ █████▌ ███▌
356
+ ▐▌ █▌ █▌ █▌ █▌ █▌ █▌ ▐█ ▐█ █▌ █▌ █▌ ▐█ ▐█
357
357
▐▌ ██▌ █▌ █▌ █▌ █▌ █▌ █▌ █▌ █▌ █▌ █▌ █▌
358
358
▐▌ █▌▐█ █▌ ███▌ ████ █▌ ████▌ █▌ █▌ ████▌ ████ █▌ █▌
359
359
▐▌ █▌ ██▌ █▌ █▌ █▌ █████▌ █▌▐█ █▌ █████▌
@@ -384,27 +384,27 @@ Its syntax is:
384
384
385
385
<pre class=prod>
386
386
<dfn><inset-area></dfn> = [
387
- [ left | center | right | center -left | center -right
388
- | x-start | x-end | center -x-start | center -x-end
389
- | x-self-start | x-self-end | center -x-self-start | center -x-self-end
390
- | all ]
387
+ [ left | center | right | span -left | span -right
388
+ | x-start | x-end | span -x-start | span -x-end
389
+ | x-self-start | x-self-end | span -x-self-start | span -x-self-end
390
+ | span- all ]
391
391
||
392
- [ top | center | bottom | center -top | center -bottom
393
- | y-start | y-end | center -y-start | center -y-end
394
- | y-self-start | y-self-end | center -y-self-start | center -y-self-end
395
- | all ]
392
+ [ top | center | bottom | span -top | span -bottom
393
+ | y-start | y-end | span -y-start | span -y-end
394
+ | y-self-start | y-self-end | span -y-self-start | span -y-self-end
395
+ | span- all ]
396
396
|
397
- [ block-start | center | block-end | center -block-start | center -block-end
398
- | self-block-start | self-block-end | center -self-block-start | center -self-block-end
399
- | all ]
397
+ [ block-start | center | block-end | span -block-start | span -block-end
398
+ | self-block-start | self-block-end | span -self-block-start | span -self-block-end
399
+ | span- all ]
400
400
||
401
- [ inline-start | center | inline-end | center -inline-start | center -inline-end
402
- | self-inline-start | self-inline-end | center -self-inline-start | center -self-inline-end
403
- | all ]
401
+ [ inline-start | center | inline-end | span -inline-start | span -inline-end
402
+ | self-inline-start | self-inline-end | span -self-inline-start | span -self-inline-end
403
+ | span- all ]
404
404
|
405
- [ start | center | end | center -start | center -end | all ]{1,2}
405
+ [ start | center | end | span -start | span -end | span- all ]{1,2}
406
406
|
407
- [ self-start | center | self-end | center -self-start | center -self-end | all ]{1,2}
407
+ [ self-start | center | self-end | span -self-start | span -self-end | span- all ]{1,2}
408
408
]
409
409
</pre>
410
410
@@ -483,28 +483,28 @@ with each of the two keywords specifying one of them:
483
483
are identical,
484
484
but refer to the element's own writing mode.
485
485
486
- : <dfn>center -start</dfn> , <dfn>center -end</dfn>
487
- : <dfn>center -top</dfn> , <dfn>center -bottom</dfn>
488
- : <dfn>center -y-start</dfn> , <dfn>center -y-end</dfn>
489
- : <dfn>center -x-start</dfn> , <dfn>center -x-end</dfn>
490
- : <dfn>center -block-start</dfn> , <dfn>center -block-end</dfn>
491
- : <dfn>center -inline-start</dfn> , <dfn>center -inline-end</dfn>
486
+ : <dfn>span -start</dfn> , <dfn>span -end</dfn>
487
+ : <dfn>span -top</dfn> , <dfn>span -bottom</dfn>
488
+ : <dfn>span -y-start</dfn> , <dfn>span -y-end</dfn>
489
+ : <dfn>span -x-start</dfn> , <dfn>span -x-end</dfn>
490
+ : <dfn>span -block-start</dfn> , <dfn>span -block-end</dfn>
491
+ : <dfn>span -inline-start</dfn> , <dfn>span -inline-end</dfn>
492
492
:: Two rows or columns,
493
493
depending on which axis this keyword is specifying:
494
494
the center row/column,
495
495
and the row/column corresponding to the other half of the keyword
496
496
as per the single-track keywords.
497
497
498
- (For example, ''center -top'' spans the first two rows--
498
+ (For example, ''span -top'' spans the first two rows--
499
499
the center row and the top row.)
500
500
501
- : <dfn>all</dfn>
501
+ : <dfn>span- all</dfn>
502
502
:: All three rows or columns,
503
503
depending on which axis this keyword is specifying.
504
504
</dl>
505
505
506
506
Some keywords are ambiguous about what axis they refer to:
507
- ''inset-area/center'' , ''inset-area/all'' ,
507
+ ''inset-area/center'' , ''inset-area/span- all'' ,
508
508
and the ''inset-area/start'' /etc keywords that don't specify the block or inline axis explicitly.
509
509
If the other keyword is unambiguous about its axis,
510
510
then the ambiguous keyword is referring to the opposite axis.
@@ -513,13 +513,13 @@ the ''inset-area/center'' keyword is referring to the inline axis.)
513
513
If both keywords are ambiguous, however,
514
514
then the first refers to the block axis of the element's [=containing block=] ,
515
515
and the second to the inline axis.
516
- (For example, ''all start'' is equivalent to ''all inline-start'' .)
516
+ (For example, ''span- all start'' is equivalent to ''span- all inline-start'' .)
517
517
518
518
If only a single keyword is given,
519
- it behaves as if the second keyword is ''inset-area/all''
519
+ it behaves as if the second keyword is ''inset-area/span- all''
520
520
if the given keyword is unambigous about its axis;
521
521
otherwise, it behaves as if the given keyword was repeated.
522
- (For example, ''inset-area/top'' is equivalent to ''top all'' ,
522
+ (For example, ''inset-area/top'' is equivalent to ''top span- all'' ,
523
523
but ''inset-area/center'' is equivalent to ''center center'' .)
524
524
525
525
<hr>
@@ -536,15 +536,15 @@ is ''align-self/normal'':
536
536
537
537
<div class=example>
538
538
For example, assuming an English-equivalent writing mode (horizontal-tb, ltr),
539
- then the value ''center -x-start top'' resolves to
539
+ then the value ''span -x-start top'' resolves to
540
540
the "start" region of the vertical axis,
541
541
and the "start" and "center" regions of the horizontal axis,
542
542
so the default alignments will be ''align-self: end;'' and ''justify-self: anchor-center;''
543
543
544
544
<figure>
545
545
<img src="images/inset-area-example.png" width=400>
546
546
<figcaption>
547
- An example of ''inset-area: center -x-start top'' positioning.
547
+ An example of ''inset-area: span -x-start top'' positioning.
548
548
</figcaption>
549
549
</div>
550
550
@@ -555,13 +555,13 @@ some of the [=inset-area grid's=] rows or columns can be zero-sized.
555
555
556
556
<!-- Big Text: anchor()
557
557
558
- ███▌ █ █▌ ███▌ █▌ █▌ ███▌ ████▌ ██ ██
559
- ▐█ ▐█ █▌ █▌ █▌ █▌ █▌ █▌ █▌ █▌ █▌ █▌ █▌ ▐█
558
+ ███▌ █ █▌ ███▌ █▌ █▌ ███▌ ████▌ ██ ██
559
+ ▐█ ▐█ █▌ █▌ █▌ █▌ █▌ █▌ █▌ █▌ █▌ █▌ █▌ ▐█
560
560
█▌ █▌ ██▌ █▌ █▌ █▌ █▌ █▌ █▌ █▌ █▌ █▌ ▐█
561
561
█▌ █▌ █▌▐█ █▌ █▌ █████▌ █▌ █▌ ████▌ █▌ ▐█
562
562
█████▌ █▌ ██▌ █▌ █▌ █▌ █▌ █▌ █▌▐█ █▌ ▐█
563
- █▌ █▌ █▌ █▌ █▌ █▌ █▌ █▌ █▌ █▌ █▌ ▐█ █▌ ▐█
564
- █▌ █▌ █▌ ▐▌ ███▌ █▌ █▌ ███▌ █▌ █▌ ██ ██
563
+ █▌ █▌ █▌ █▌ █▌ █▌ █▌ █▌ █▌ █▌ █▌ ▐█ █▌ ▐█
564
+ █▌ █▌ █▌ ▐▌ ███▌ █▌ █▌ ███▌ █▌ █▌ ██ ██
565
565
-->
566
566
567
567
The ''anchor()'' Function {#anchor-pos}
@@ -740,12 +740,12 @@ as if by an additional ''translate()'' transform.
740
740
741
741
<!-- Big Text: a-center
742
742
743
- ███▌ ███▌ █████▌ █ █▌ █████▌ █████▌ ████▌
743
+ ███▌ ███▌ █████▌ █ █▌ █████▌ █████▌ ████▌
744
744
▐█ ▐█ █▌ █▌ █▌ █▌ █▌ █▌ █▌ █▌ █▌
745
745
█▌ █▌ █▌ █▌ ██▌ █▌ █▌ █▌ █▌ █▌
746
- █▌ █▌ ████▌ █▌ ████ █▌▐█ █▌ █▌ ████ ████▌
747
- █████▌ █▌ █▌ █▌ ██▌ █▌ █▌ █▌▐█
748
- █▌ █▌ █▌ █▌ █▌ █▌ █▌ █▌ █▌ █▌ ▐█
746
+ █▌ █▌ ████▌ █▌ ████ █▌▐█ █▌ █▌ ████ ████▌
747
+ █████▌ █▌ █▌ █▌ ██▌ █▌ █▌ █▌▐█
748
+ █▌ █▌ █▌ █▌ █▌ █▌ █▌ █▌ █▌ █▌ ▐█
749
749
█▌ █▌ ███▌ █████▌ █▌ ▐▌ █▌ █████▌ █▌ █▌
750
750
-->
751
751
@@ -790,12 +790,12 @@ and has no additional effect on how [=inset properties=] resolve.
790
790
791
791
<!-- Big Text: scroll
792
792
793
- ███▌ ███▌ ████▌ ███▌ █▌ █▌
794
- █▌ █▌ █▌ █▌ █▌ █▌ █▌ █▌ █▌ █▌
795
- █▌ █▌ █▌ █▌ █▌ █▌ █▌ █▌
796
- ███▌ █▌ ████▌ █▌ █▌ █▌ █▌
797
- █▌ █▌ █▌▐█ █▌ █▌ █▌ █▌
798
- █▌ █▌ █▌ █▌ █▌ ▐█ █▌ █▌ █▌ █▌
793
+ ███▌ ███▌ ████▌ ███▌ █▌ █▌
794
+ █▌ █▌ █▌ █▌ █▌ █▌ █▌ █▌ █▌ █▌
795
+ █▌ █▌ █▌ █▌ █▌ █▌ █▌ █▌
796
+ ███▌ █▌ ████▌ █▌ █▌ █▌ █▌
797
+ █▌ █▌ █▌▐█ █▌ █▌ █▌ █▌
798
+ █▌ █▌ █▌ █▌ █▌ ▐█ █▌ █▌ █▌ █▌
799
799
███▌ ███▌ █▌ █▌ ███▌ █████ █████
800
800
-->
801
801
@@ -892,13 +892,13 @@ it resolves to ''0px''.
892
892
893
893
<!-- Big Text: a-size()
894
894
895
- ███▌ ███▌ ████ █████▌ █████▌ ██ ██
896
- ▐█ ▐█ █▌ █▌ ▐▌ ▐▌ █▌ █▌ ▐█
895
+ ███▌ ███▌ ████ █████▌ █████▌ ██ ██
896
+ ▐█ ▐█ █▌ █▌ ▐▌ ▐▌ █▌ █▌ ▐█
897
897
█▌ █▌ █▌ ▐▌ ▐▌ █▌ █▌ ▐█
898
898
█▌ █▌ ████▌ ███▌ ▐▌ █▌ ████ █▌ ▐█
899
899
█████▌ █▌ ▐▌ █ █▌ █▌ ▐█
900
- █▌ █▌ █▌ █▌ ▐▌ █ █▌ █▌ ▐█
901
- █▌ █▌ ███▌ ████ █████▌ █████▌ ██ ██
900
+ █▌ █▌ █▌ █▌ ▐▌ █ █▌ █▌ ▐█
901
+ █▌ █▌ ███▌ ████ █████▌ █████▌ ██ ██
902
902
-->
903
903
904
904
Anchor-Based Sizing {#sizing}
@@ -971,11 +971,11 @@ it resolves to ''0px''.
971
971
<!-- Big Text: fallback
972
972
973
973
█████▌ ███▌ █▌ █▌ ████▌ ███▌ ███▌ █▌ █▌
974
- █▌ ▐█ ▐█ █▌ █▌ █▌ █▌ ▐█ ▐█ █▌ █▌ █▌ █▌
975
- █▌ █▌ █▌ █▌ █▌ █▌ █▌ █▌ █▌ █▌ █▌█▌
976
- ████ █▌ █▌ █▌ █▌ █████ █▌ █▌ █▌ ██
977
- █▌ █████▌ █▌ █▌ █▌ █▌ █████▌ █▌ █▌█▌
978
- █▌ █▌ █▌ █▌ █▌ █▌ █▌ █▌ █▌ █▌ █▌ █▌ █▌
974
+ █▌ ▐█ ▐█ █▌ █▌ █▌ █▌ ▐█ ▐█ █▌ █▌ █▌ █▌
975
+ █▌ █▌ █▌ █▌ █▌ █▌ █▌ █▌ █▌ █▌ █▌█▌
976
+ ████ █▌ █▌ █▌ █▌ █████ █▌ █▌ █▌ ██
977
+ █▌ █████▌ █▌ █▌ █▌ █▌ █████▌ █▌ █▌█▌
978
+ █▌ █▌ █▌ █▌ █▌ █▌ █▌ █▌ █▌ █▌ █▌ █▌ █▌
979
979
█▌ █▌ █▌ █████ █████ ████▌ █▌ █▌ ███▌ █▌ █▌
980
980
-->
981
981
@@ -1105,14 +1105,14 @@ Values have the following meanings:
1105
1105
with the given value.
1106
1106
</dl>
1107
1107
1108
- <!-- Big Text: -order
1108
+ <!-- Big Text: -order
1109
1109
1110
- ███▌ ████▌ ████▌ █████▌ ████▌
1110
+ ███▌ ████▌ ████▌ █████▌ ████▌
1111
1111
█▌ █▌ █▌ █▌ █▌ █▌ █▌ █▌ █▌
1112
1112
█▌ █▌ █▌ █▌ █▌ █▌ █▌ █▌ █▌
1113
- ████▌ █▌ █▌ ████▌ █▌ █▌ ████ ████▌
1114
- █▌ █▌ █▌▐█ █▌ █▌ █▌ █▌▐█
1115
- █▌ █▌ █▌ ▐█ █▌ █▌ █▌ █▌ ▐█
1113
+ ████▌ █▌ █▌ ████▌ █▌ █▌ ████ ████▌
1114
+ █▌ █▌ █▌▐█ █▌ █▌ █▌ █▌▐█
1115
+ █▌ █▌ █▌ ▐█ █▌ █▌ █▌ █▌ ▐█
1116
1116
███▌ █▌ █▌ ████▌ █████▌ █▌ █▌
1117
1117
-->
1118
1118
@@ -1270,12 +1270,12 @@ it's set to the property's initial value.
1270
1270
<!-- Big Text: @pos-try
1271
1271
1272
1272
████▌ ████▌ ███▌ ███▌ █████▌ ████▌ █ ▐▌
1273
- █▌ █▌ █▌ █▌ █▌ █▌ █▌ █▌ █▌ █▌ █▌ ▐▌ █
1274
- █▌▐█ █▌ █▌ █▌ █▌ █▌ █▌ █▌ █▌ █▌ █ ▐▌
1275
- █▌▐█ █▌ ████▌ █▌ █▌ ███▌ ████▌ █▌ ████▌ ▐▌█
1276
- █▌ ██▌ █▌ █▌ █▌ █▌ █▌ █▌▐█ █▌
1277
- █▌ █▌ █▌ █▌ █▌ █▌ █▌ █▌ ▐█ █▌
1278
- ████▌ █▌ ███▌ ███▌ █▌ █▌ █▌ █▌
1273
+ █▌ █▌ █▌ █▌ █▌ █▌ █▌ █▌ █▌ █▌ █▌ ▐▌ █
1274
+ █▌▐█ █▌ █▌ █▌ █▌ █▌ █▌ █▌ █▌ █▌ █ ▐▌
1275
+ █▌▐█ █▌ ████▌ █▌ █▌ ███▌ ████▌ █▌ ████▌ ▐▌█
1276
+ █▌ ██▌ █▌ █▌ █▌ █▌ █▌ █▌▐█ █▌
1277
+ █▌ █▌ █▌ █▌ █▌ █▌ █▌ █▌ ▐█ █▌
1278
+ ████▌ █▌ ███▌ ███▌ █▌ █▌ █▌ █▌
1279
1279
-->
1280
1280
1281
1281
The ''@position-try'' Rule {#fallback-rule}
@@ -1344,15 +1344,15 @@ without using ''@position-try'' at all.
1344
1344
1345
1345
1346
1346
1347
- <!-- Big Text: apply
1347
+ <!-- Big Text: apply
1348
1348
1349
1349
███▌ ████▌ ████▌ █▌ █ ▐▌
1350
- ▐█ ▐█ █▌ █▌ █▌ █▌ █▌ ▐▌ █
1351
- █▌ █▌ █▌ █▌ █▌ █▌ █▌ █ ▐▌
1352
- █▌ █▌ ████▌ ████▌ █▌ ▐▌█
1353
- █████▌ █▌ █▌ █▌ █▌
1354
- █▌ █▌ █▌ █▌ █▌ █▌
1355
- █▌ █▌ █▌ █▌ █████ █▌
1350
+ ▐█ ▐█ █▌ █▌ █▌ █▌ █▌ ▐▌ █
1351
+ █▌ █▌ █▌ █▌ █▌ █▌ █▌ █ ▐▌
1352
+ █▌ █▌ ████▌ ████▌ █▌ ▐▌█
1353
+ █████▌ █▌ █▌ █▌ █▌
1354
+ █▌ █▌ █▌ █▌ █▌ █▌
1355
+ █▌ █▌ █▌ █▌ █████ █▌
1356
1356
-->
1357
1357
1358
1358
Applying Position Fallback {#fallback-apply}
0 commit comments