|
933 | 933 | Because the ''anchor()'' function resolves to a <<length>>, |
934 | 934 | it can be used in [=math functions=] like any other length. |
935 | 935 |
|
| 936 | + ISSUE(10776): Add a better example; this one can be accomplished easily with ''align-self/anchor-center''. |
| 937 | + |
936 | 938 | For example, the following will set up the element |
937 | 939 | so that its [=inset-modified containing block=] |
938 | 940 | is centered on the [=anchor box=] |
@@ -2605,12 +2607,36 @@ Changes {#changes} |
2605 | 2607 |
|
2606 | 2608 | Significant changes since the <a href="https://www.w3.org/TR/2025/WD-css-anchor-position-1-20250509/">9 May October 2025 Working Draft</a>: |
2607 | 2609 |
|
2608 | | -ISSUE: Audit <a href="https://github.com/w3c/csswg-drafts/commits/main/css-anchor-position-1">changes</a>! |
2609 | | - |
2610 | 2610 | * Rename <css>x/y-self-start/end</css> keywords to <css>self-x/y-start/end</css> for 'position-area' |
2611 | 2611 | due to persistent confusion about the ordering. |
2612 | 2612 | (<a href="https://github.com/w3c/csswg-drafts/issues/12749">Issue 12749</a>) |
| 2613 | +* Make 'position-area' use the (newly defined) [=scrollable containing block=] |
| 2614 | + when the box's [=containing block=] is a [=scroll container=]. |
| 2615 | + (<a href="https://github.com/w3c/csswg-drafts/issues/10861">Issue 10861</a>) |
| 2616 | +* Make default 'position-area' alignment for single-''inset/auto'' 'inset' axes align to the non-''inset/auto'' side. |
| 2617 | + (<a href="https://github.com/w3c/csswg-drafts/issues/12512">Issue 12512</a>) |
| 2618 | +* Make transforms affect the [=anchor box=] geometry. |
| 2619 | + (<a href="https://github.com/w3c/csswg-drafts/issues/8584">Issue 8584</a>) |
| 2620 | +* Add the ''place-self/dialog'' value to 'align-self' and 'justify-self' |
| 2621 | + to solve regrettable default UA stylesheet rules for HTML popovers. |
| 2622 | + (<a href="https://github.com/w3c/csswg-drafts/issues/10258">Issue 10258</a>) |
| 2623 | +* Clarify how fragmentation affects the [=anchor box=] geometry. |
| 2624 | + (<a href="https://github.com/w3c/csswg-drafts/issues/12287">Issue 12287</a>) |
| 2625 | +* Clarify whe the [=last successful position option=] is cleared. |
| 2626 | + (<a href="https://github.com/w3c/csswg-drafts/issues/12577">Issue 12577</a>) |
| 2627 | +* Clarify how tree-scoped names anchor are matched for 'anchor-scope' vs 'position-anchor'. |
| 2628 | + (Issues <a href="https://github.com/w3c/csswg-drafts/issues/7916">7916</a>, <a href="https://github.com/w3c/csswg-drafts/issues/9408">9408</a>, and <a href="https://github.com/w3c/csswg-drafts/issues/5984">5984</a>) |
| 2629 | +* Clarify how top layer interacts with finding the [=acceptable anchor element=] |
| 2630 | + and rewrite the rules for valid anchors to be easier to understand. |
| 2631 | + (<a href="https://github.com/w3c/csswg-drafts/issues/11602">Issue 11602</a>) |
2613 | 2632 | * Fix grammar of 'position-try-fallbacks' to exclude lists of ''position-area/none'' keywords. |
2614 | 2633 | (<a href="https://github.com/w3c/csswg-drafts/issues/12838">Issue 12838</a>) |
| 2634 | +* Various small fixes and clarifications. |
| 2635 | + (<a href="https://github.com/w3c/csswg-drafts/issues/11028">Issue 11028</a>, |
| 2636 | + <a href="https://github.com/w3c/csswg-drafts/issues/11080">Issue 11080</a>, |
| 2637 | + <a href="https://github.com/w3c/csswg-drafts/issues/12058">Issue 12058</a>, |
| 2638 | + <a href="https://github.com/w3c/csswg-drafts/issues/12636">Issue 12636</a>, |
| 2639 | + <a href="https://github.com/w3c/csswg-drafts/issues/12653">Issue 12653</a>, |
| 2640 | + <a href="https://github.com/w3c/csswg-drafts/issues/12751">Issue 12732</a>) |
2615 | 2641 |
|
2616 | 2642 | See also <a href="https://www.w3.org/TR/2025/WD-css-anchor-position-1-20250509/#changes">Previous Changes</a>. |
0 commit comments