We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
https://drafts.csswg.org/css-overflow-3/#nearest-scrollport says: For convenience, a box’s nearest scrollport is the scrollport of its nearest scroll container ancestor.
It doesn't say the "ancestor" is in DOM hierarchy or in containing block hierarchy.
For the following case:
<div id="outer-scroller" style="overflow: scroll; position: relative"> <div id="inner-scroller" style="overflow: scroll"> <div style="position: absolute"> <div style="position: sticky">
Is the nearest scrollport of the stickily positioned element "inner-scroller" or "outer-scroller"?
"outer-scroller" looks to make more sense to me, but I think the spec needs clarification.
The text was updated successfully, but these errors were encountered:
This is basically #3185
Sorry, something went wrong.
Closing because this is a duplicate of #3185.
@wangxianzhu Well you forgot to actually close 😅
Thanks for the heads-up!
You still didn't close it, but I got you.
No branches or pull requests
https://drafts.csswg.org/css-overflow-3/#nearest-scrollport says:
For convenience, a box’s nearest scrollport is the scrollport of its nearest scroll container ancestor.
It doesn't say the "ancestor" is in DOM hierarchy or in containing block hierarchy.
For the following case:
Is the nearest scrollport of the stickily positioned element "inner-scroller" or "outer-scroller"?
"outer-scroller" looks to make more sense to me, but I think the spec needs clarification.
The text was updated successfully, but these errors were encountered: