Skip to content
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

How do Viewport-Percentage lengths behave on browsers with no dynamic UA UI Elements? #12

Closed
bramus opened this issue Aug 22, 2022 · 5 comments
Labels
Discussed Spec Issue To be followed up at proper venue that specced this Viewport Units svh/dvh/lvh/vh

Comments

@bramus
Copy link
Collaborator

bramus commented Aug 22, 2022

Desktop browsers for example (currently) have no dynamic UA UI Elements and therefore have no Small Viewport or Large Viewport.

It is not explicitly specced what should happen in this case: do the sv*/lv*/dv* become inexistent, or do they all take up the same size - i.e. that of The UA-Default Viewport?

@bramus bramus added the Viewport Units svh/dvh/lvh/vh label Aug 22, 2022
@bramus
Copy link
Collaborator Author

bramus commented Aug 22, 2022

The obvious thing is to let them all have the same size, and explicitly mention that in the spec.

@karlcow
Copy link

karlcow commented Aug 24, 2022

Desktop browsers for example (currently) have no dynamic UA UI Elements

will it be always the case?

The obvious thing is to let them all have the same size, and explicitly mention that in the spec.

Something along, in case there are no dynamic UI Elements, falls back to the UA default viewport. Initial values?

@gsnedders
Copy link
Member

It is not explicitly specced what should happen in this case: do the sv*/lv*/dv* become inexistent, or do they all take up the same size

Is this not explicitly spec'd? The small viewport and large viewport are defined in terms of "any UA interfaces", which means they're defined even if there are no UA interfaces?

@bramus
Copy link
Collaborator Author

bramus commented Aug 24, 2022

Discussed during #4. We agree that all units should all match if there are no UA UI elements. An explicit mention of this (and maybe an example) in the spec would be feasible.

@bramus bramus added Discussed Spec Issue To be followed up at proper venue that specced this labels Aug 29, 2022
@bramus
Copy link
Collaborator Author

bramus commented Sep 19, 2022

Filed w3c/csswg-drafts#7764 at the CSS WG to follow up on this.

@bramus bramus closed this as completed Sep 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Discussed Spec Issue To be followed up at proper venue that specced this Viewport Units svh/dvh/lvh/vh
Projects
None yet
Development

No branches or pull requests

3 participants