From 95ebedf7c27572a3556ae67c679202d0d9600675 Mon Sep 17 00:00:00 2001 From: Joey Arhar Date: Mon, 10 Apr 2023 11:56:24 -0700 Subject: [PATCH 01/31] Add anchor attribute The anchor attribute can be used to set up CSS anchor positioning by setting an implicit anchor element: https://drafts.csswg.org/css-anchor-1/#implicit-anchor-element --- source | 55 ++++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 54 insertions(+), 1 deletion(-) diff --git a/source b/source index 9e11deef691..28f9c0dbf5f 100644 --- a/source +++ b/source @@ -4012,8 +4012,13 @@ a.setAttribute('href', 'https://example.com/'); // change the content attribute
  • layout containment
  • - +

    The following terms are defined in CSS Anchor Positioning:

    + + +
    Intersection Observer
    @@ -11529,6 +11534,8 @@ interface HTMLElement : Element { undefined hidePopover(); undefined togglePopover(optional boolean force); [CEReactions] attribute DOMString? popover; + + [CEReactions] attribute Element? anchorElement; }; HTMLElement includes GlobalEventHandlers; @@ -12763,6 +12770,7 @@ https://software.hixie.ch/utilities/js/live-dom-viewer/?%3C%21DOCTYPE%20HTML%3E% -

    The following terms are defined in CSS Anchor Positioning:

    +

    The following terms are defined in CSS Anchor Positioning: CSSANCHOR