Re: [csswg-drafts] [css-overflow-3] Clarify padding-bottom in overflow content

> can cause pages which previously didn't have scrollbars to suddenly have scrollbars

Yes, I understand the issue here but actually, it is expected. Padding can cause overflow.
What is unexpected is browsers trying to workaround this expected behavior with an unexpected one.
If you go this way, padding-top can cause overflow when it's unecessary too why the spec didn't decide to ignore padding-top too ? Because it breaks something, and it will be very visible. It's the same thing with padding-bottom, if you ignore it, even if it's less visible, it breaks something.

Moreover, Blink has the highest market share, it does not implement the behavior introduced in CSS 2.1 and there is no screams about it (actually maybe there are screams, I really don't know, but blink team does not need 6 years to implement something the dev community wants).

The issue here is the developer is not in control. The spec introduced a behavior which can be unexpected but didn't give the developer the opportunity to control it (with something like `overflow-clip`?)

>  existing Web content limits what we can do

CSS 2.1 broke existing web content because of this change too. Web is a living thing.

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

Received on Tuesday, 6 March 2018 08:43:05 UTC