Contact [email protected]

Specificationhttps://www.w3.org/TR/css-values-4/#font-relative-lengths

Summary

Allows usage of root font units. Currently only 'rem' is supported in
Blink. This feature supports root element variants of ex, ch, ic, and lh
too.

Blink componentBlink>CSS
<https://bugs.chromium.org/p/chromium/issues/list?q=component:Blink%3ECSS>

Search tagsrlh <https://chromestatus.com/features#tags:rlh>, ric
<https://chromestatus.com/features#tags:ric>, rch
<https://chromestatus.com/features#tags:rch>, rex
<https://chromestatus.com/features#tags:rex>, root font
<https://chromestatus.com/features#tags:root%20font>

TAG reviewThe feature is not fundamental and only implements an existing
standard

TAG review statusNot applicable

Risks


Interoperability and Compatibility



*Gecko*: No signal (
https://github.com/mozilla/standards-positions/issues/725)

*WebKit*: No signal (
https://github.com/WebKit/standards-positions/issues/112)

*Web developers*: No signals

*Other signals*:

WebView application risks

Does this intent deprecate or change behavior of existing APIs, such that
it has potentially high risk for Android WebView-based applications?

no


Debuggability

The new units should be automatically supported by devtools. No need for
any changes.

Will this feature be supported on all six Blink platforms (Windows, Mac,
Linux, Chrome OS, Android, and Android WebView)?Yes

Is this feature fully tested by web-platform-tests
<https://chromium.googlesource.com/chromium/src/+/main/docs/testing/web_platform_tests.md>
?Yes
https://wpt.fyi/css/css-values/rlh-invalidation.html
https://wpt.fyi/css/css-values/ric-invalidation.html
https://wpt.fyi/css/css-values/rch-invalidation.html
https://wpt.fyi/css/css-values/rex-invalidation.html
https://wpt.fyi/css/css-values/lh-rlh-on-root-001.html
https://wpt.fyi/css/css-typed-om/stylevalue-subclasses/numeric-objects/cssUnitValue.html
https://wpt.fyi/css/css-contain/container-queries/font-relative-units.html
https://wpt.fyi/css/css-contain/container-queries/font-relative-units-dynamic.html

Flag name#enable-experimental-web-platform-features / CSSNewRootFontUnits
(Blink)

Requires code in //chrome?False

Tracking bughttps://bugs.chromium.org/p/chromium/issues/detail?id=1381037

Estimated milestones
DevTrial on desktop 111
DevTrial on Android 111
Link to entry on the Chrome Platform Status
https://chromestatus.com/feature/5073969265246208

-- 
You received this message because you are subscribed to the Google Groups 
"blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAK_fkKV3D8Gpno7mie4LD5B%2BNiGvjfnRvAtJ5rsiBWYL8Mv2Bw%40mail.gmail.com.

Reply via email to