Open Ayc0 opened 1 year ago
I don't think compiling dvw to just vw would be correct though. It wouldn't adjust correctly based on things like toolbars appearing. You could polyfill it but you'd need JavaScript.
Even if it's not 100% correct, it could be a good fallback
Like for colors out of their color scale (like color(display-p3 0 1 0)
)
Shouldn't viewport units like
dvh
,svh
, andlvh
be compiled tovh
for older browsers? (same fordvw
,svw
, andlvw
→vw
)Here we can see that the newer CSS colors are getting updated for older browsers (chrome 90), but not the viewport height – playground