Re: [csswg-drafts] [cssom] Sticky position percentage values for inset properties. (#3115)

Hi, Emilio. I'm making patch https://chromium-review.googlesource.com/c/chromium/src/+/1546734
for the chromium bug you filed in 
https://bugs.chromium.org/p/chromium/issues/detail?id=884544, related to github here.

I received some comments from Morten, and they could be easily handled,
but one thing I coudn't find yet is the related spec.
I  transformated the test above to testharness version, and that wpt test requires spec url.

What I found until now is 
https://www.w3.org/TR/css-position-3/#sticky-pos.
And in that there is statements below.
 "Issue 6 Sticky positioning should really be defined in terms of the nearest scrollable ancestor, but there is currently no such term defined elsewhere in CSS. CSSOM View refers to "scrolling boxes." CSS Overflow has yet to pull in the relevant text from CSS Box, and CSS Box has an old, confusing definition of "flow root" which is almost (but probably not quite) what we want here. This spec refers to "flow root," since that’s the closest thing currently specced somewhere, but this is not optimal."

So I guess the logic "because sticky positioning is defined in terms of the nearest scrollable ancestor, its inset properties should be resolved against the ancestor" seems to establish, but I'm not sure.

Could you give me a exact spec for this issue please?







-- 
GitHub Notification of comment by joonghunpark
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3115#issuecomment-478673310 using your GitHub account

Received on Monday, 1 April 2019 17:36:02 UTC