Skip to content

Commit f6446ad

Browse files
committed
[css-anchor-position] Clarify that a relpos anchor affects anchor pos, but not a transformed anchor. w3c#10522
1 parent 84f1062 commit f6446ad

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

css-anchor-position-1/Overview.bs

+15
Original file line numberDiff line numberDiff line change
@@ -193,6 +193,21 @@ unless otherwise specified.
193193
Note: Without this, these [=pseudo-elements=], which are often inaccessible
194194
by other specifications, cannot be positioned with [=implicit anchor elements=].
195195

196+
### The Anchor's Position ### {#determining-position}
197+
198+
Several features of this specification refer to the position and size of an [=anchor element=].
199+
The anchor element's position and size is determined after layout,
200+
and for these purposes
201+
includes 'position'-based adjustments
202+
(such as ''position: relative'' or ''position: sticky'').
203+
204+
Post-layout effects, such as 'transform',
205+
do not affect the [=anchor element's=] "position".
206+
207+
Note: Allowing an anchor to opt into including the effects of 'transform'
208+
or similar properties
209+
might be allowed in the future.
210+
196211
<!-- Big Text: a-scope
197212

198213
███▌ ███▌ ███▌ ███▌ ████▌ █████▌

0 commit comments

Comments
 (0)