Intent to Ship: CSS cap and rcap font units

155 views
Skip to first unread message

Daniil Sakhapov

unread,
Aug 4, 2023, 6:41:41 AM8/4/23
to blink-dev

Contact emails

sakh...@chromium.org

Explainer

Two font units related to the cap-height of the font. They are the last two to fully cover CSS Values font related units.

Specification

https://www.w3.org/TR/css-values-4/#cap

Summary

'cap' is equal to the used cap-height of the first available font. 'rcap' is equal to the value of the cap unit on the root element.



Blink component

Blink>CSS

TAG review

None

TAG review status

Not applicable

Risks



Interoperability and Compatibility

None



Gecko: Shipped/Shipping

WebKit: Positive (https://github.com/WebKit/standards-positions/issues/112)

Web developers: Asked offline at the conference.

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?

None


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?

Yes

Flag name on chrome://flags

CSSCapFontUnits

Requires code in //chrome?

False

Estimated milestones

Shipping on desktop117
DevTrial on desktop116
Shipping on Android117
DevTrial on Android116
Shipping on WebView117


Anticipated spec changes

Open questions about a feature may be a source of future web compat or interop issues. Please list open issues (e.g. links to known github issues in the project for the feature specification) whose resolution may introduce web compat/interop risk (e.g., changing to naming or structure of the API in a non-backward-compatible way).

None

Link to entry on the Chrome Platform Status

https://chromestatus.com/feature/5137204166262784

This intent message was generated by Chrome Platform Status.

Mike Taylor

unread,
Aug 4, 2023, 10:38:18 AM8/4/23
to Daniil Sakhapov, blink-dev

LGTM1

--
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 blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAH3Z92-t_kPVjxEB5xLYFY7vaxxyVqpF8Cf7DNsfnipRFJjZ2w%40mail.gmail.com.

Daniel Bratell

unread,
Aug 9, 2023, 10:30:40 AM8/9/23
to Mike Taylor, Daniil Sakhapov, blink-dev

TAMURA, Kent

unread,
Aug 10, 2023, 1:08:33 PM8/10/23
to Daniil Sakhapov, blink-dev
LGTM3.




--
TAMURA, Kent
Software Engineer, Google


Reply all
Reply to author
Forward
0 new messages