Skip to content

Commit 5b257aa

Browse files
committed
[css-anchor-position-1] Add flip-x and flip-y to position-try-fallbacks #12869
1 parent b009e0a commit 5b257aa

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

css-anchor-position-1/Overview.bs

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1546,7 +1546,7 @@ Values have the following meanings:
15461546
and adds it to the [=position options list=].
15471547

15481548
<pre class=prod>
1549-
<dfn type><<try-tactic>></dfn> = flip-block || flip-inline || flip-start
1549+
<dfn type><<try-tactic>></dfn> = flip-block || flip-inline || flip-start || flip-x || flip-y
15501550
</pre>
15511551

15521552
: <dfn>flip-block</dfn>
@@ -1560,6 +1560,17 @@ Values have the following meanings:
15601560
swaps the values in the [=inline axis=],
15611561
essentially mirroring across a [=block-axis=] line.
15621562

1563+
: <dfn>flip-x</dfn>
1564+
::
1565+
swaps the values in the [=horizontal axis=]
1566+
(between, for example, 'margin-left' and 'margin-right'),
1567+
essentially mirroring across a [=vertical-axis=] line.
1568+
1569+
: <dfn>flip-y</dfn>
1570+
::
1571+
swaps the values in the [=vertical axis=],
1572+
essentially mirroring across a [=horizontal-axis=] line.
1573+
15631574
: <dfn>flip-start</dfn>
15641575
::
15651576
swaps the values of the [=start=] properties with each other,
@@ -2612,6 +2623,8 @@ Changes {#changes}
26122623

26132624
Significant changes since the <a href="https://www.w3.org/TR/2025/WD-css-anchor-position-1-20251007/">7 October 2025 Working Draft</a>:
26142625

2626+
* Add ''flip-x'' and ''flip-y'' to 'position-try-fallbacks'.
2627+
(<a href="https://github.com/w3c/csswg-drafts/issues/12869">Issue 12869</a>)
26152628
* Define ''anchor-center'' to also use the [=scrollable containing block=]
26162629
so that it doesn't trigger overflow alignment when positioned outside the [=local containing block=].
26172630
(<a href="https://github.com/w3c/csswg-drafts/issues/12952">Issue 12952</a>)

0 commit comments

Comments
 (0)