-
Notifications
You must be signed in to change notification settings - Fork 679
New issue
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
[css-overflow-3] Reserved scroller space between content edge and padding edge #11288
Comments
Also, the terms "inner" and "outer" in Section 4.1 seem irrelevant in this context. See PR #11287 for details. This also applies to Section 4.2 |
Of course it does. The devtools clearly show the perimeter establishing each area, which, by definition, represents an "edge." It’s very clear that the gutter is placed inside the padding area. While its width is not added to the indicated width, it is visibly rendered in green and bounded by the padding perimeter. As for the illustration: This doesn’t make sense to me. The border area is defined as the space between the padding edge and the border edge. What you’re calling "inner border" is actually the padding edge. Under the current definition of edges as perimeters, there is no additional "area between edges" beyond what is already specified. |
That's according to CSS Box. CSS Overflow is implicitly patching the definition: https://drafts.csswg.org/css-overflow-3/#scrollbar-sizing
Ergo the scrollbar gutter is not normally considered to be part of the padding box. |
CSS Overflow uses undefined terms, so it’s unclear what it is actually trying to convey. If I understand you correctly, you’re saying that: "the gutter is placed between the padding area and the border area". If that’s the case, it should be explicitly stated as such, rather than relying on "inner" and "outer" terms, which are meaningless within the context of the current vocabulary. |
Yes, that's my understanding of CSS Overflow, which I agree should be more explicit. |
The CSS Overflow 3 spec, Section 4.1 states:
Test:
In Chrome DevTools, the scrollbar appears between the content box edge (inner edge) and the padding box edge, not between the inner border edge and outer padding edge as specified.
The text was updated successfully, but these errors were encountered: