@@ -1360,7 +1360,7 @@ might result in the positioned element overflowing its [=containing block=]
1360
1360
or being positioned partially off screen.
1361
1361
1362
1362
To ameliorate this, an [=absolutely positioned=] element
1363
- can use the 'position-try-options ' property
1363
+ can use the 'position-try-fallbacks ' property
1364
1364
to refer to several variant sets of positioning/alignment properties
1365
1365
(generated from the element's existing styles,
1366
1366
or specified in ''@position-try'' rules)
@@ -1375,11 +1375,11 @@ to additional be sorted by the available space they define,
1375
1375
if it's more important for the element to have as much space as possible
1376
1376
rather than strictly follow some declared order.
1377
1377
1378
- Giving Fallback Options: the 'position-try-options ' property {#position-try-options }
1378
+ Giving Fallback Options: the 'position-try-fallbacks ' property {#position-try-fallbacks }
1379
1379
--------------------------------
1380
1380
1381
1381
<pre class=propdef>
1382
- Name : position-try-options
1382
+ Name : position-try-fallbacks
1383
1383
Value : none | [ [<<dashed-ident>> || <<try-tactic>>] | <<'inset-area'>> ]#
1384
1384
Initial : none
1385
1385
Inherited : no
@@ -1399,7 +1399,7 @@ or a <<try-tactic>> representing an automatic transformation of the element's ex
1399
1399
1400
1400
Values have the following meanings:
1401
1401
1402
- <dl dfn-type=value dfn-for=position-try-options >
1402
+ <dl dfn-type=value dfn-for=position-try-fallbacks >
1403
1403
: <dfn>none</dfn>
1404
1404
::
1405
1405
The property has no effect;
@@ -1614,7 +1614,7 @@ the [=position options list=] will be tried.
1614
1614
: <dfn>normal</dfn>
1615
1615
::
1616
1616
Try the [=position options=]
1617
- in the order specified by 'position-try-options ' .
1617
+ in the order specified by 'position-try-fallbacks ' .
1618
1618
1619
1619
: <dfn>most-width</dfn>
1620
1620
: <dfn>most-height</dfn>
@@ -1646,7 +1646,7 @@ the [=position options list=] will be tried.
1646
1646
top: anchor(bottom);
1647
1647
left: anchor(left);
1648
1648
align-self: start;
1649
- position-try-options : --bottom-scrollable, flip-block, --top-scrollable;
1649
+ position-try-fallbacks : --bottom-scrollable, flip-block, --top-scrollable;
1650
1650
position-try-order: most-height;
1651
1651
}
1652
1652
@position-try --bottom-scrollable {
@@ -1734,10 +1734,10 @@ The 'position-try' Shorthand {#position-try-prop}
1734
1734
1735
1735
<pre class="propdef shorthand">
1736
1736
Name : position-try
1737
- Value : <<'position-try-order'>>? <<'position-try-options '>>
1737
+ Value : <<'position-try-order'>>? <<'position-try-fallbacks '>>
1738
1738
</pre>
1739
1739
1740
- This shorthand sets both 'position-try-options ' and 'position-try-order' .
1740
+ This shorthand sets both 'position-try-fallbacks ' and 'position-try-order' .
1741
1741
If <<'position-try-order'>> is omitted,
1742
1742
it's set to the property's initial value.
1743
1743
@@ -1761,7 +1761,7 @@ defines a <dfn>position option</dfn>
1761
1761
with a given name,
1762
1762
specifying one or more sets of positioning properties
1763
1763
that will be applied to an element
1764
- via 'position-try-options ' ,
1764
+ via 'position-try-fallbacks ' ,
1765
1765
1766
1766
The syntax of the ''@position-try'' rule is:
1767
1767
@@ -1825,7 +1825,7 @@ Note: The most common types of fallback positioning
1825
1825
(putting the positioned element on one side of the anchor normally,
1826
1826
but flipping to the opposite side if needed)
1827
1827
can be done automatically
1828
- with keywords in 'position-try-options ' ,
1828
+ with keywords in 'position-try-fallbacks ' ,
1829
1829
without using ''@position-try'' at all.
1830
1830
1831
1831
@@ -1958,8 +1958,8 @@ laying out later elements cannot change this decision.
1958
1958
remove its [=last successful position option=] :
1959
1959
1960
1960
* |el| is not an [=absolutely positioned=] element
1961
- * |el|'s computed value for ' position-try-options ' has changed
1962
- * Any of the ''@position-try'' rules referenced by |el|'s ' position-try-options '
1961
+ * |el|'s computed value for ' position-try-fallbacks ' has changed
1962
+ * Any of the ''@position-try'' rules referenced by |el|'s ' position-try-fallbacks '
1963
1963
have been added, removed, or mutated.
1964
1964
1965
1965
Then, [=determine the position fallback styles=] of |el|
@@ -1989,7 +1989,7 @@ This limit must be <em>at least</em> five.
1989
1989
position: fixed;
1990
1990
top: anchor(--button bottom);
1991
1991
left: anchor(--button left);
1992
- position-try-options : flip-inline, flip-block, flip-block flip-inline;
1992
+ position-try-fallbacks : flip-inline, flip-block, flip-block flip-inline;
1993
1993
1994
1994
/* The popover is at least as wide as the button */
1995
1995
min-width: anchor-size(--button width);
0 commit comments