-
Notifications
You must be signed in to change notification settings - Fork 6
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
Viewport Units vs. Scrollbars #15
Comments
It would be better to open issues at the CSSWG now — with the questions. Not having discussions here and proposing solutions at CSSWG. Everyone involved with Interop works for companies that are members of the W3C. Everyone involved can join the CSSWG through your AB rep. And have the discussion there. It's very important to follow the proper process. |
@bramus If you can convince implementers to implement it, flag w3c/csswg-drafts#6026 as Agenda+. Fundamentally the reason the spec ignores scrollbars for viewport units is that it's difficult to implement. Even compromising and treating Also +1 to @jensimmons ; if there's something that needs changing in the CSS specs, flag it there. You can track things here, to make sure the spec and implementations and tests all match, but this effort isn't an actual standardization forum. |
There's already a lot of work for the interop effort to be done in just selecting the existing tests/specs to make sure we can improve interop. The current fact findings effort really starts to look like a regular fact finding standard work, which indeed should happen on the CSS WG directly for many reasons: exposure, working group policies, etc.
All of that not to say, that this is wonderful work which I wanted to see happening for a long time, but it should happen at the right place. |
|
CSSWG issue for MQ as proposed in notes: w3c/csswg-drafts#7697 (comment) |
Viewport Units are based on the size of the ICB
We can summarise those specific types of viewports as follows:
In its turn the ICB size is based on that of the Viewport (for continuous media)
When Classic Scrollbars are present, the Layout Viewport gets resized.
As a result, the ICB will resize as well
And as a result of that, the Viewport Units should also resize, as the spec reads
The latter is not the case however. The Viewport Units do not resize. Instead, they retain their size from before the ICB was resized.
This behavior is covered by the spec through this footnote:
The spec seems to be contradicting itself here. Additionally, this “scrollbars are assumed not to exist”-behavior also frustrates a lot of authors.
It would be nice if we could discuss the behavior here, and eventually make a proposal at the CSSWG.
Relevant Issues in other repositories:
The text was updated successfully, but these errors were encountered: