Intent to Prototype: CSS ruby-align property

255 views
Skip to first unread message

TAMURA, Kent

unread,
May 30, 2024, 1:48:26 AMMay 30
to blink-dev

Contact emails

tk...@chromium.org

Explainer

None

Specification

https://drafts.csswg.org/css-ruby/#ruby-align-property

Summary

A new CSS property `ruby-align` is added. The property accepts one of `space-around` `space-between` `start` and `center` keywords, and controls alignment of ruby base text and ruby annotation text.



Blink component

Blink>Layout>Ruby

Motivation

There are multiple ways to align characters when the length of ruby annotations and the base characters do not match, and the `ruby-align` property allows web authors to choose among them.



Initial public proposal

None

Search tags

cssruby

TAG review

None; Firefox already shipped this.

TAG review status

Not applicable

Risks



Interoperability and Compatibility

None



Gecko: Shipped/Shipping

WebKit: Support (https://github.com/WebKit/standards-positions/issues/232) WebKit is positive about the whole specification, but the position for this specific property is unknown.

Web developers: Strongly positive (https://issues.chromium.org/issues/40249572) The issue has 21 votes.

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?

None



Debuggability

None



Is this feature fully tested by web-platform-tests?

Yes

"ruby-align*" files in https://wpt.fyi/results/css/css-ruby



Flag name on chrome://flags

None

Finch feature name

None

Non-finch justification

None

Requires code in //chrome?

False

Tracking bug

https://issues.chromium.org/issues/40249572

Estimated milestones

No milestones specified



Link to entry on the Chrome Platform Status

https://chromestatus.com/feature/5152412192210944?gate=5113516968378368

This intent message was generated by Chrome Platform Status.

--
TAMURA Kent
Software Engineer, Google


Reply all
Reply to author
Forward
0 new messages