mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-25 20:01:50 +00:00

I think it doesn't make sense to support em/percentages without supporting smaller/bigger/other font-relative things. I have many questions about how other units like viewport-units etc are supposed to behave. Blink seems to resolve viewport units to zero: https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/renderer/core/css/resolver/font_style_resolver.cc;l=15-27;drc=5e62802ab420dc1743a1824ec4b537a730b2b24b Which might be reasonable, but I think keeping a simple model consistent with what other code like DOMMatrix does seems better for now. Differential Revision: https://phabricator.services.mozilla.com/D144455