Intent to Prototype: Update the syntax of `text-wrap` to match the new spec

183 views
Skip to first unread message

Koji Ishii

unread,
Jul 16, 2024, 6:49:52 AMJul 16
to blink-dev

Contact emails

ko...@chromium.org

Explainer

None

Specification

https://drafts.csswg.org/css-text-4/#text-wrap-shorthand

Design docs


https://docs.google.com/document/d/1Xl3J1WCg--fUm1-FX5gHbJIIC0szNwulQV7nW4n6_aY/edit?usp=sharing

Summary

The CSS `text-wrap` property and its related shorthands/longhands properties were changed after Blink shipped crbug.com/40257360 shorthandifying the `white-space` property. This feature is about updating Blink to match the updated spec.



Blink component

Blink>Layout>Inline

Motivation

This feature improves the interoperability with other browsers as both Gecko and WebKit are shipping the new syntax.



Initial public proposal

None

TAG review

None

TAG review status

Not applicable

Risks



Interoperability and Compatibility

None



Gecko: Shipped/Shipping

WebKit: Shipped/Shipping (https://bugs.webkit.org/show_bug.cgi?id=249840)

Web developers: Positive

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/parsing?label=experimental&label=master&aligned&view=interop&q=label%3Ainterop-2024-text-wrap



Flag name on chrome://flags

None

Finch feature name

None

Non-finch justification

None

Requires code in //chrome?

False

Estimated milestones

No milestones specified



Link to entry on the Chrome Platform Status

https://chromestatus.com/feature/5793719555719168?gate=4682876025831424

This intent message was generated by Chrome Platform Status.
Reply all
Reply to author
Forward
0 new messages