Contact emails
changs...@bytedance.com, shiva...@gmail.com
Explainer
None
Specification
https://www.w3.org/TR/css-fonts-5/#font-size-adjust-prop
Summary
The font-size-adjust CSS property adjusts the font size based on the height of lowercase letters rather than that of uppercase letters for consistency in readability. However, there have been voices that the adjusting metric is obscure and impractical. This new two-value syntax reflects such voices by allowing developers to specify a font metric for adjusting the size. This feature is standardized in CSS Font Module Level 5.
Blink component
Blink>CSS
Motivation
Since the font-size-adjust CSS property has been introduced in CSS 2.1, there have been continuous developer needs for font-size-adjust. Although the property has gained 3% around in popularity worldwide, according to caniuse.com, Blink still lacks support for this feature. I intend to push this feature forward.
Initial public proposal
TAG review
Not applicable
TAG review status
Not applicable
Risks
Interoperability and Compatibility
Gecko: Publicly support
WebKit: Positive and in development
https://bugs.webkit.org/show_bug.cgi?id=254191
https://github.com/WebKit/WebKit/pull/11744 (I am the author)
Web developers: No signals
--
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/73e7fe83-08af-4530-823e-62db7c3e2c32n%40chromium.org.
Interoperability and Compatibility
Gecko: Publicly support
WebKit: Positive and in development
https://bugs.webkit.org/show_bug.cgi?id=254191
https://github.com/WebKit/WebKit/pull/11744 (I am the author)
Web developers: No signals
Other signals:
WebView application risks
No known risks
> On Mar 28, 2023, at 6:29 AM, David Baron <dba...@chromium.org> wrote:
>
> On Mon, Mar 27, 2023 at 6:33 PM ChangSeok Oh <shiva...@gmail.com> wrote:
> Interoperability and Compatibility
>
> Gecko: Publicly support
>
> WebKit: Positive and in development
> https://bugs.webkit.org/show_bug.cgi?id=254191
> https://github.com/WebKit/WebKit/pull/11744 (I am the author)
>
> Web developers: No signals
>
> Other signals:
>
> WebView application risks
> No known risks
>
> It might be useful to separately describe (for some or all of these sources) support for the 1-value syntax (CSS 2.1, css-fonts-3, css-fonts-4) and support for the 2-value syntax (css-fonts-5). For example, according to MDN, Gecko has been shipping the 1-value syntax since Firefox 3 (June 2008) and the 2-value syntax since Firefox 92 (September 2021).
We already have a separate feature flag and ChromeStatus page [1]. Unfortunately, it has been pending for years. I plan to ship it with this two-value syntax once this new feature is done. But I don’t have a strong opinion on the shipping plan. We can consider shipping separately.
[1] https://chromestatus.com/feature/5720910061371392
>
> I'll also add that I'm a big fan of this feature and am happy to see it implemented.
Thanks!
>
> -David
--
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/0E07FF35-2FC4-43BA-A55E-F269997FDD0D%40gmail.com.
I plan to implement the same behavior of Firefox, following the spec document.