From f102b6c541506f6dc97cef42a7c858efb7b77b7e Mon Sep 17 00:00:00 2001 From: Guillaume Date: Thu, 13 Mar 2025 13:49:10 +0100 Subject: [PATCH] [css-anchor-position-1][editorial] Clarify validity of anchor-*() --- css-anchor-position-1/Overview.bs | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/css-anchor-position-1/Overview.bs b/css-anchor-position-1/Overview.bs index 20763c7f4b0..223bff4fb94 100644 --- a/css-anchor-position-1/Overview.bs +++ b/css-anchor-position-1/Overview.bs @@ -1251,8 +1251,7 @@ An ''anchor()'' function is a valid anchor function only if all the following conditions are true: -* It's being used in an [=inset property=] - on an [=absolutely positioned box=]. +* It's being used on an [=absolutely positioned box=]. * If its <> specifies a physical keyword, it's being used in an [=inset property=] in that axis. (For example, ''anchor()/left'' can only be used in 'left', 'right', @@ -1401,6 +1400,8 @@ Name: width, height, min-width, min-height, max-width, max-height, top, left, ri New values: <> +
These are the [=accepted @position-try properties=] that allow lengths.
+
 anchor-size() = anchor-size( [ <> || <> ]? , <>? )
 <> = width | height | block | inline | self-block | self-inline
@@ -1452,9 +1453,7 @@ An ''anchor-size()'' function is a
 valid anchor-size function
 only if all the following conditions are true:
 
-* It's being used in a [=sizing property=], an [=inset property=], or a [=margin property=]
-	on an [=absolutely positioned box=].
-	(These are the [=accepted @position-try properties=] that allow lengths.)
+* It's being used on an [=absolutely positioned box=].
 * There is a [=target anchor element=]
 	for the box it's used on,
 	and the <> value specified in the function.