[csswg-drafts] [css-position] Sticky rel "position box" should refer to border edge instead of margin edge? (#12833)

Loirooriol has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-position] Sticky rel "position box" should refer to border edge instead of margin edge? ==
https://drafts.csswg.org/css-position/#position-box

> The ***position box*** is its [margin box](https://drafts.csswg.org/css-box-4/#margin-box), except that for any side for which the distance between its [margin edge](https://drafts.csswg.org/css-box-4/#margin-edge) and the corresponding edge of its containing block is less than its corresponding [margin](https://drafts.csswg.org/css-box-4/#margin), that distance is used in place of that margin.

This doesn't make much sense to me, should the distance be from the border edge instead?

CC @fantasai c66a57ab98d566579c8847d982b6413892b1233b

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/12833 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Friday, 19 September 2025 10:19:51 UTC