Skip to content

Conversation

@johannesodland
Copy link
Contributor

Adding a test for overconstrained sticky when the writing mode of the containing block is rtl.

When the direction of the containing block is rtl the left edge inset of the sticky view rectangle should be adjusted, as it is the effective end-edge inset.

If this results in a sticky view rectangle size in any axis less than the size of the border box of the sticky box in that axis, then the effective end-edge inset in the affected axis is reduced (possibly becoming negative) to bring the sticky view rectangle’s size up to the size of the border box in that axis (where end is interpreted relative to the writing mode of the containing block).

https://www.w3.org/TR/css-position-3/#sticky-pos

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants