Re: [csswg-drafts] [css-position][css-sticky] Scrolling ancestor should probably include overflow:hidden even when content doesn't overflow

@jonjohnjohnson Firstly, I appreciate all the work you've been doing to try and raise issues about the (sadly mostly neglected) sticky spec. Thank you for trying to make the web saner! :)

> So I believe that all other [used] values for overflow (until implementation of the clip value #1971) create a "scrolling mechanism" according to spec. The auto value even creates a scrolling mechanism when not overflowing its content area.

If this were true, there would be no need for the following part of the sentence in CSSOM-View:

"... or it overflows its content area and the used value of the overflow-x or overflow-y property is hidden"

The fact that this is here implies (to me) that overflow: hidden is not automatically considered having a scrolling mechanism. I think it is reasonable that it should be, but I'm not so sure the spec says it does. There certainly seem to be ongoing debates about it, e.g. #1526. That issue was closed, but the related PR (https://github.com/w3c/csswg-drafts/pull/1540) never landed I think.


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

Received on Friday, 14 September 2018 19:11:46 UTC