-
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] Correct scrollbar space description #11287
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's true that these terms are not defined, but your proposal seems to imply that the scrollbar is placed on the border area.
CSS Overflow could be clearer but it's basically separating the padding edge from CSS Box into 2 edges: the outer padding edge (on the inside) and the inner border edge (on the outside). The area between them is where the scrollbar is placed, i.e. the scrollbar gutter.
I'm not proposing anything. I just edited what is otherwise the only logical interpretation under the current definition of edges. If this results in an incorrect placement of the gutter, feel free to dismiss this pull request once proper definitions are in place.
It’s not about clarity. The issue is that there’s simply no definition for "inner" or "outer" in the context of borders and padding.
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. |
I'm claiming that CSS Overflow is implicitly patching the CSS Box definition |
This patch seems to introduce a conceptual bug. |
See #11288 |
I am submitting the pull request under the CC0 license. |
The terms "inner" and "outer" are not defined for border and padding edges in The CSS Box Model. These terms are unnecessary, undefined in this context, and their removal makes the description more clear.