Intent to Prototype: CSS Text Level 3 text-align: match-parent

140 views
Skip to first unread message

Chromestatus

unread,
Jul 20, 2025, 9:53:09 PMJul 20
to blin...@chromium.org, felip...@igalia.com

Contact emails

felip...@igalia.com

Explainer

None

Specification

https://www.w3.org/TR/css-text-3

Summary

Add the match-parent value to the text-align and text-align-last properties. This value inherits the parent element's text alignment, with the exception that when the parent has start or end alignment, match-parent computes these values to left or right based on the parent's text direction. For the root element, it computes to start. Previously, this functionality was only available through the non-standard -webkit-match-parent value.



Blink component

Blink>CSS

Motivation

None



Initial public proposal

None

TAG review

None

TAG review status

Not applicable

Risks



Interoperability and Compatibility

None



Gecko: Shipped/Shipping

WebKit: Shipped/Shipping

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?

None



Debuggability

None



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

Yes

https://wpt.fyi/results/css/css-text/text-align/text-align-match-parent-01.html https://wpt.fyi/results/css/css-text/text-align/text-align-match-parent-02.html https://wpt.fyi/results/css/css-text/text-align/text-align-match-parent-03.html https://wpt.fyi/results/css/css-text/text-align/text-align-match-parent-04.html https://wpt.fyi/results/css/css-text/text-align/text-align-match-parent-05.html



Flag name on about://flags

None

Finch feature name

None

Non-finch justification

None

Requires code in //chrome?

False

Tracking bug

https://issues.chromium.org/u/1/issues/40787216

Estimated milestones

No milestones specified



Link to entry on the Chrome Platform Status

https://chromestatus.com/feature/5133972077805568?gate=5100536629821440

This intent message was generated by Chrome Platform Status.

Felipe Erias

unread,
Jul 21, 2025, 9:24:06 AMJul 21
to blink-dev, Chromestatus, Felipe Erias
Reply all
Reply to author
Forward
0 new messages