Skip to content

[css-values-4] Viewport Units clarifications #7764

@bramus

Description

@bramus

As part of the Interop 2022 Viewport Investigation Effort we noticed there are some aspects not explicitly defined, leaving room for interpretation.

  1. How do Viewport-Percentage lengths behave on browsers with no dynamic UA UI Elements?
    In User Agents that have no dynamic UA toolbars, the Large+Small+Dynamic Viewport all have the same size. This is not explicitly mentioned, and could wrongfully be interpreted as “these User Agents have no dvh/lvh/svh units”.

  2. Is 100dvh clamped between 100svh and 100lvh?
    In some browsers we noticed 100dvh can grow larger than 100lvh in very specific scenarios. This looks like a browser bug, but it would be good if the spec were backing this up here by explicitly mentioning that the value of dvh is clamped between svh and lvh.

Two minor remarks/clarifications in the spec could solve this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Closed as Question AnsweredUsed when the issue is more of a question than a problem, and it's been answered.css-values-4Current Work

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions