-
Notifications
You must be signed in to change notification settings - Fork 678
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-scrollbars] Scrollbar properties on the root element should be propagated to viewport #2696
Comments
Thanks <https://github.com/upsuper> and good call. Do you have any preferred wording for this, or shall I clone language from <https://drafts.csswg.org/css-overflow/#overflow-propagation> ? (Originally published at: http://tantek.com/2018/143/t2/) |
I think we only need
Sentences for overflow after that are basically for webcompat reason, which we shouldn't take. That's not something we want to spread. Maybe we should add a note to mention that this is different from overflow that values on |
Per issue #2696, root scrollbar colors also set viewport scrollbar colors. Also add explicit intro paragraph about where spec source is because "Repository:" metadata block appears to do nothing (does not work to add a link to the GitHub repo).
<https://github.com/upsuper> your suggested text makes sense to me, and I have also added an explicit note so implementers hopefully don’t accidentally propagate body to viewport. Please take a look at the prose after the property value table at <https://drafts.csswg.org/css-scrollbars-1/#scrollbar-color-properties> and if the updates are sufficient to resolve this issue, go ahead and close. (Originally published at: http://tantek.com/2018/143/t5/) |
The spec currently only has scrollbar color properties so far, but I think this should probably apply to any future scrollbar properties as well (e.g. something controlling the width of scrollbar)? We may want to put it in an independent section or so, I guess... But the current wording is enough for resolving this issue so I'm going to close it for now. |
Scrollbar properties on the root element should be propagated to viewport, similar to what we do for overflow properties. Otherwise, there would be no way to style scrollbars of viewport.
The text was updated successfully, but these errors were encountered: