cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
HOSEIN79
New member
Status: New idea

Please support the new css units (svh and dvh). Currently these units are supported in other major browsers.

https://caniuse.com/?search=dvh

4 Comments
Status changed to: New idea
Jon
Community Manager
Community Manager

Thanks for submitting an idea to the Mozilla Connect community! Your idea is now open to votes (aka kudos) and comments.

dholbert
Employee
Employee

Firefox already does support those units.

Your caniuse search there is catching several dvh-related features, and the one that happens to be shown at the top of the page is specifically about whether those units are supported **within the CSS Houdini Typed OM API**, and Firefox is shown as not-supporting-them-there because Firefox doesn't yet support Houdini Typed OM at all.  That's tracked in https://bugzilla.mozilla.org/show_bug.cgi?id=1278697 and doesn't have any special relationship to these units in particular.

Anyway, bottom line is, these units should already work anywhere that you can use any other CSS length unit (e.g. `px`, `em`, etc.) in Firefox.  Here's a trivial jsfiddle example that you can try to see for yourself:

https://jsfiddle.net/ka5o2gem/

masande
New member

I can confirm that dvh, svh, and lvl are not working in mobile safari.

darkgraynight
New member

Almost 2025 and FF is still the only browser to not support these units which make making any layout better on mobile 😮