From 95ebedf7c27572a3556ae67c679202d0d9600675 Mon Sep 17 00:00:00 2001
From: Joey Arhar The following terms are defined in CSS Anchor Positioning:
+
+
accesskey
anchor
autocapitalize
autofocus
contenteditable
open
".
anchor
attributeAll HTML elements may have the anchor
attribute set. If specified, the anchor
attribute value must be the ID
+ of another element in the same tree as the element with the anchor
attribute. The other element is considered to be the
+ implicit anchor element of the element with the anchor
attribute.
The anchorElement
IDL attribute must
+ reflect the anchor
attribute.
+
+
The following example shows how to use CSS anchor positioning by using the anchor
attribute without the need for the anchor-name
CSS property:
<div id="myanchor">myanchor</div>
+<div id="target" anchor="myanchor">target</div>
+
+<style>
+#myanchor {
+ margin: 100px;
+ width: 100px;
+ height: 100px;
+}
+#target {
+ position: absolute;
+ left: anchor(left);
+ top: anchor(bottom);
+ width: 100px;
+ height: 100px;
+}
+</style>
+ input
anchor
+ HTML elements
+ as
link
@@ -133129,6 +133179,9 @@ INSERT INTERFACES HERE
anchor
attributeAll HTML elements may have the anchor
attribute set. If specified, the anchor
attribute value must be the ID
+ of another element in the same tree as the element with the anchor
attribute. The other element is considered to be the
+ implicit anchor element of the element with the anchor
attribute.
The anchorElement
IDL attribute must
+ reflect the anchor
attribute.
+
+
The following example shows how to use CSS anchor positioning by using the anchor
attribute without the need for the anchor-name
CSS property:
<div id="myanchor">myanchor</div>
+<div id="target" anchor="myanchor">target</div>
+
+<style>
+#myanchor {
+ margin: 100px;
+ width: 100px;
+ height: 100px;
+}
+#target {
+ position: absolute;
+ left: anchor(left);
+ top: anchor(bottom);
+ width: 100px;
+ height: 100px;
+}
+</style>
+ innerText
and outerText
propertiesopen
".
- anchor
attributeAll HTML elements may have the anchor
attribute set. If specified, the anchor
attribute value must be the ID
- of another element in the same tree as the element with the anchor
attribute. The other element is considered to be the
- implicit anchor element of the element with the anchor
attribute.
The anchorElement
IDL attribute must
- reflect the anchor
attribute.
-
-
The following example shows how to use CSS anchor positioning by using the anchor
attribute without the need for the anchor-name
CSS property:
<div id="myanchor">myanchor</div>
-<div id="target" anchor="myanchor">target</div>
-
-<style>
-#myanchor {
- margin: 100px;
- width: 100px;
- height: 100px;
-}
-#target {
- position: absolute;
- left: anchor(left);
- top: anchor(bottom);
- width: 100px;
- height: 100px;
-}
-</style>
- anchor
HTML elements
- as
link
From b7bf329ffcbb60f4e9a58dac6dd2814e34bb0da4 Mon Sep 17 00:00:00 2001
From: Joey Arhar The following terms are defined in CSS Anchor Positioning:
All HTML elements may have the anchor
attribute set. If specified, the anchor
attribute value must be the ID
- of another element in the same tree as the element with the anchor
attribute. The other element is considered to be the
- implicit anchor element of the element with the tree as the element with the
anchor
attribute.
For an HTML element element, the implicit + anchor element is determined by the following algorithm:
+ +Return element's anchor
-associated element.
The anchorElement
IDL attribute must
reflect the anchor
attribute.
@@ -14021,7 +14027,6 @@ interface DOMStringMap {
-
innerText
and outerText
propertiesanchor
HTML elements
as
link
From b590be2e8f9900fcb5a559a4535cb0051c0ad574 Mon Sep 17 00:00:00 2001
From: Joey Arhar anchor
attribute value must be the ID
of an element in the same tree as the element with the anchor
attribute.
+ data-x="attr-anchor">anchor attribute. The anchor
+ attribute acts as a reference to an implicit anchor
+ element.
For an HTML element element, the implicit anchor element is determined by the following algorithm:
From 86f0fc3688b6ac3e0723d135a19fd06708ab811d Mon Sep 17 00:00:00 2001 From: Joey ArharFor an HTML element element, the implicit - anchor element is determined by the following algorithm:
- -Return element's anchor
-associated element.
For an HTML element, its implicit anchor
+ element is its anchor
-associated
+ element.
The For an HTML element, its implicit anchor
element is its The The following terms are defined in CSS Anchor Positioning: The following terms are defined in CSS Anchor Positioning: CSSANCHOR All HTML elements may have the For an HTML element, its implicit anchor
element is its To get the anchor element of an element element: Let anchorAttribute be the result of running get an attribute by
+ name given element and If anchorAttribute is null, then return null. Return the first element in tree order, within
+ element's root's descendants, whose ID is anchorAtribute; otherwise; if there is no such
+ element, null. The topmost popover ancestor algorithm will return the topmost (latest in the
showing auto popover list) ancestor popover for the provided popover. Popovers can
- be related to each other in several ways, creating a tree of popovers. There are two paths
+ be related to each other in several ways, creating a tree of popovers. There are three paths
through which one popover (call it the "child" popover) can have a topmost ancestor popover (call
it the "parent" popover): The popovers are nested within each other in the node tree. In this case, the descendant
popover is the "child" and its topmost ancestor popover is the "parent". A popover has the An invoking element (e.g., a Run checkAncestor given newPopover's parent node within the
flat tree. Run checkAncestor given the result of running get the anchor
+ element given newPopover. Run checkAncestor given invoker. return topmostPopoverAncestor. If anchorAttribute is null, then return null. Return the first element in tree order, within
- element's root's descendants, whose element's root's descendants, whose ID is anchorAtribute; otherwise; if there is no such
element, null. All Elements may have the For an HTML element, its implicit anchor
+ element is its The The following example shows how to use CSS anchor positioning by using the To get the anchor element of an element element: Let anchorAttribute be the result of running get an attribute by
+ name given element and If anchorAttribute is null, then return null. Return the first element in tree order, within
+ element's root's descendants, whose ID is anchorAtribute; otherwise; if there is no such
+ element, null. All Elements may have the For an HTML element, its implicit anchor
- element is its The The following example shows how to use CSS anchor positioning by using the To get the anchor element of an element element: Let anchorAttribute be the result of running get an attribute by
- name given element and If anchorAttribute is null, then return null. Return the first element in tree order, within
- element's root's descendants, whose ID is anchorAtribute; otherwise; if there is no such
- element, null. All Elements may have the For an HTML element, its implicit anchor
element is its The The following example shows how to use CSS anchor positioning by using the For an HTML element, its implicit anchor
element is its For an HTML element, its implicit anchor
- element is its The To get the anchor element of an element element: Return the first element in tree order, within
element's root's descendants, whose ID is anchorAtribute; otherwise; if there is no such
+ data-x="concept-id">ID is anchorAttribute; otherwise; if there is no such
element, null. Return the first element in tree order, within
element's root's descendants, whose ID is anchorAttribute; otherwise; if there is no such
- element, null. A popover has the An invoking element (e.g., a The A custom data attribute is an attribute in no namespace whose name starts with the
From b7da26d6769028d2ff435d2c64de2696f8a1cef6 Mon Sep 17 00:00:00 2001
From: Joey Arhar For an HTML element, its implicit anchor
- element is the result of running get the anchor element given the element. For an HTML element element, its implicit
+ anchor element is the result of running get an attribute by name given
+ element and The To get the anchor element of an element element: Let anchorAttribute be the result of running get an attribute by
- name given element and If anchorAttribute is null, then return null. Return the first element in tree order, within
- element's root's descendants, whose ID is anchorAttribute, or null if there is no such
- element. Run checkAncestor given newPopoverOrTopLayerElement's parent node
within the flat tree. Run checkAncestor given the result of running get the anchor
- element given newPopover. Run checkAncestor given the result of running get an attribute by
+ name given newPopover and Run checkAncestor given invoker. The If an HTML element has an If an HTML element has an The For an HTML element element, its implicit
anchor element is the result of running get an attribute by name given
From e1547884363790bba2cd73dec9654cf33233b28a Mon Sep 17 00:00:00 2001
From: Joey Arhar The For an HTML element element, its implicit
- anchor element is the result of running get an attribute by name given
- element and The anchorElement
IDL attribute must
reflect the anchor
attribute.
From 81d51b7b2431487cc9395e5879122971f0a1744b Mon Sep 17 00:00:00 2001
From: Joey Arhar anchor
HTML elements
Makes the specified element the implicit anchor element of this element
- ID of the element to anchor to
+ ID*
as
link
@@ -131949,7 +131949,7 @@ interface External {
popovertarget
input
; button
Targets a popover element to toggle, show, or hide
- ID of the element to toggle, show or, hide
+ ID*
popovertargetaction
input
; button
From 3b6988795aa5697da341bf948e6bed94feccc0cc Mon Sep 17 00:00:00 2001
From: Joey Arhar Text*
anchor
- HTML elements
+ HTML elements
Makes the specified element the implicit anchor element of this element
ID*
From 8bdce1cdbe0c02d52d1a0853bdaa4bb5f246d368 Mon Sep 17 00:00:00 2001
From: Joey Arhar anchor
attribute. The anchor
- attribute acts as a reference to an implicit anchor
- element.
+ attribute is a presentational attribute which allows authors to set a reference to the implicit anchor element.
anchor
-associated
From 610ae3fd3c39d396fec14ba85cbcc0b220d55c1a Mon Sep 17 00:00:00 2001
From: Joey Arhar b
, i
,
hr
, s
, small
, and u
.anchor
attribute is presentational, but does not map
+ directly to CSS because it doesn't require an ID relationship to be set up for anchor-name
in CSS and sets Element.anchorElement
.Syntax errors
From 9ad8934a6002583d6f020494984c1574eea9e966 Mon Sep 17 00:00:00 2001
From: Joey Arhar
The
- anchor
attributeAll Elements may have the
{
</style>
+ anchor
attribute set. If specified, the anchor
attribute value must be the ID
of an element in the same tree as the element with the DOMStringMap
+
partial interface Element {
+ [CEReactions] attribute Element? anchorElement;
+};
The
From 0489d5bcdf0a7b61f7e76e287abcc9c1b0a10bed Mon Sep 17 00:00:00 2001
From: Joey Arhar innerText
and outerText
propertiesanchor
attribute. The anchor
attribute is a presentational attribute which allows authors to set a reference to the implicit anchor element.
+ data-x="referenced">reference to the implicit anchor element.
+ CSSANCHOR
anchor
-associated
From f11da2898c00427e66c1bf76842748aa540de0a5 Mon Sep 17 00:00:00 2001
From: Joey Arhar
+
+
anchor
.The
@@ -85201,7 +85215,7 @@ dictionary DragEventInit : MouseEventInit {
innerText
and outerText
propertiesanchor
attribute set and it points
+ to a node whose ancestor is also a popover. In this case, the popover with the anchor
attribute is the "child".button
) has a popovertarget
attribute pointing to a popover. In this case,
the popover is the "child", and the popover subtree the invoking element is in is the
@@ -85274,6 +85292,9 @@ dictionary DragEventInit : MouseEventInit {
anchor
HTML elements
- Makes the specified element the implicit anchor element of this element
+ Makes the specified element the implicit anchor element of this element. Also influences the popover hierarchy if the specified element also has the popover
attribute.
ID*
as
From 06049f9c99077600738f485eece86e74e7598575 Mon Sep 17 00:00:00 2001
From: Joey Arhar The
+
+ anchor
attributeanchor
attribute set. If specified, the anchor
attribute value must be the ID
+ of an element in the same tree as the element with the anchor
attribute. The anchor
+ attribute is a presentational attribute which allows authors to set a reference to the implicit anchor element.
+ CSSANCHORanchor
-associated
+ element.anchorElement
IDL attribute must
+ reflect the anchor
attribute.
+
+ anchor
attribute without the need for the anchor-name
CSS property:
+ <div id="myanchor">myanchor</div>
+<div id="target" anchor="myanchor">target</div>
+
+<style>
+#myanchor {
+ margin: 100px;
+ width: 100px;
+ height: 100px;
+}
+#target {
+ position: absolute;
+ left: anchor(left);
+ top: anchor(bottom);
+ width: 100px;
+ height: 100px;
+}
+</style>
+
+ partial interface Element {
+ [CEReactions] attribute Element? anchorElement;
+};
+
+
anchor
.Embedding custom non-visible data with the
@@ -14260,66 +14320,6 @@ interface DOMStringMap {
- data-*
attributesThe
-
- anchor
attributeanchor
attribute set. If specified, the anchor
attribute value must be the ID
- of an element in the same tree as the element with the anchor
attribute. The anchor
- attribute is a presentational attribute which allows authors to set a reference to the implicit anchor element.
- CSSANCHORanchor
-associated
- element.anchorElement
IDL attribute must
- reflect the anchor
attribute.
-
- anchor
attribute without the need for the anchor-name
CSS property:
- <div id="myanchor">myanchor</div>
-<div id="target" anchor="myanchor">target</div>
-
-<style>
-#myanchor {
- margin: 100px;
- width: 100px;
- height: 100px;
-}
-#target {
- position: absolute;
- left: anchor(left);
- top: anchor(bottom);
- width: 100px;
- height: 100px;
-}
-</style>
-
- partial interface Element {
- [CEReactions] attribute Element? anchorElement;
-};
-
-
anchor
.The
From fb5e5bbf67b94eac098f48db33843d8fc7a0b75d Mon Sep 17 00:00:00 2001
From: Joey Arhar innerText
and outerText
propertiesThe
- anchor
attributeanchor
attribute set. If specified, the anchor
attribute value must be the ID
- of an element in the same tree as the element with the anchor
attribute. The anchor
+ The anchor
attribute, if specified, must be the ID of an element in the same tree as the element with the
+ anchor
attribute. The anchor
attribute is a presentational attribute which allows authors to set a reference to the implicit anchor element.
CSSANCHORanchor
attribute, if specified, must be the ID of an element in the same tree as the element with the
anchor
attribute. The anchor
- attribute is a presentational attribute which allows authors to set a reference to the implicit anchor element.
- CSSANCHOR
+ attribute allows authors to set a reference to the implicit
+ anchor element. CSSANCHOR
anchor
-associated
From 420012f37113222bddb869a3b76d98fefc97212e Mon Sep 17 00:00:00 2001
From: Joey Arhar b
, i
,
hr
, s
, small
, and u
.anchor
attribute is presentational, but does not map
- directly to CSS because it doesn't require an ID relationship to be set up for anchor-name
in CSS and sets Element.anchorElement
.Syntax errors
From b354492780621d424b4ed3439e0af946b49fc201 Mon Sep 17 00:00:00 2001
From: Joey Arhar anchor
attribute without the need for the anchor-name
CSS property:<div id="myanchor">myanchor</div>
<div id="target" anchor="myanchor">target</div>
From 85e059f7805e2e57a0e67f229f91e9832978131a Mon Sep 17 00:00:00 2001
From: Joey Arhar
The
- The anchor
attributeanchor
attribute, if specified, must be the ID of an element in the same tree as the element with the
- anchor
attribute. The anchor
- attribute allows authors to set a reference to the implicit
- anchor element. CSSANCHOR
+ The anchor
attribute,
+ if specified, must be the ID of an element in the same
+ tree as the element with the anchor
attribute. The
+ anchor
attribute allows authors to set a reference to the implicit anchor element.
+ CSSANCHOR
anchor
-associated
From 7da97b502fcf776141bda8ecfa7f3f46229da0ce Mon Sep 17 00:00:00 2001
From: Joey Arhar anchor
-associated
- element.anchorElement
IDL attribute must
reflect the anchor
attribute.
@@ -14019,10 +14020,6 @@ background: transparent">blue</span>.</p>
</style>
-
partial interface Element {
- [CEReactions] attribute Element? anchorElement;
-};
@@ -14033,7 +14030,7 @@ background: transparent">blue</span>.</p>
From b88238e405614e074a8924528f0fa29ae8c62e1c Mon Sep 17 00:00:00 2001
From: Joey Arhar anchor
attribute set and it points
- to a node whose ancestor is also a popover. In this case, the popover with the anchor
attribute is the "child".button
) has a
Date: Mon, 8 Apr 2024 17:49:35 -0700
Subject: [PATCH 24/31] specified->sets
---
source | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/source b/source
index 858bebcf77b..ba6d417efdb 100644
--- a/source
+++ b/source
@@ -139372,7 +139372,7 @@ interface External {
anchor
HTML elements
- Makes the specified element the implicit anchor element of this element. Also influences the popover hierarchy if the specified element also has the popover
attribute.
+ Sets the implicit anchor element of this element. Also influences the popover hierarchy if the specified element also has the popover
attribute.
ID*
as
From 5116e00cb76cd3997350f4b3b2a83562186ac7d5 Mon Sep 17 00:00:00 2001
From: Joey Arhar The
- The anchor
attributeanchor
attribute,
- if specified, must be the ID of an element in the same
+ anchor
+ attribute, if specified, must be the ID of an element in the same
tree as the element with the anchor
attribute. The
anchor
attribute allows authors to set a reference to the implicit anchor element.
From ee9c79f98d6aec85dace416085612859bb55c0bf Mon Sep 17 00:00:00 2001
From: Joey Arhar Embedding custom non-visible data with the
data-*
attributesanchor
.anchorElement
IDL attribute must
reflect the anchor
attribute.
@@ -14057,20 +14058,6 @@ background: transparent">blue</span>.</p>
</style>
-
-
-
anchor
.Embedding custom non-visible data with the
@@ -85452,8 +85439,8 @@ dictionary DragEventInit : MouseEventInit {
data-*
attributesanchor
.The
- anchor
attributeanchor
- attribute, if specified, must be the ID of an element in the same
+ anchor
attribute specified, then that
+ attribute's value must be the ID of an element in the same
tree as the element with the anchor
attribute. The
anchor
attribute allows authors to set a reference to the implicit anchor element.
From f7c6b3644e1e6026ada3457a55053a9dfa460e65 Mon Sep 17 00:00:00 2001
From: Joey Arhar The
- anchor
attributeanchor
attribute specified, then that
- attribute's value must be the ID of an element in the same
- tree as the element with the anchor
attribute. The
- anchor
attribute allows authors to set a reference to the implicit anchor element.
- CSSANCHORanchor
+ attribute allows authors to set a reference to the implicit
+ anchor element. If an HTML element has an anchor
attribute specified, then that attribute's value must be the
+ ID of an element in the same tree as the element
+ with the anchor
attribute. CSSANCHORanchor
attribute allows authors to set a reference to the implicit
- anchor element. If an HTML element has an anchor
attribute specified, then that attribute's value must be the
- ID of an element in the same tree as the element
- with the anchor
attribute. CSSANCHORanchor
.anchor
attribute specified, and there is an element in the
+ tree whose ID is equal to the value of the anchor
attribute, then the first such element in tree
+ order is the implicit anchor element of the element with the anchor
attribute. CSSANCHORanchorElement
IDL attribute must
reflect the anchor
attribute.