[csswg-drafts] [css-position] sticky positioning - should definition of 'position box' refer to 'border edge' instead of 'margin edge (#11423)

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

== [css-position] sticky positioning - should definition of 'position box' refer to 'border edge' instead of 'margin edge ==
Hello, I am having a hard time understanding the intended meaning and purpose of the definition of a sticky box's [position box](https://drafts.csswg.org/css-position/#position-box).

According to the spec, a sticky box's position is visually shifted "insofar as it can while its [position box](https://drafts.csswg.org/css-position/#position-box) remains contained within its [containing block](https://drafts.csswg.org/css-display-4/#containing-block). 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."

I'm going to assume that the 

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


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

Received on Tuesday, 31 December 2024 02:40:04 UTC