Intent to Ship: Support the `hanging` and `each-line` for the `text-indent` property

13 views
Skip to first unread message

Koji Ishii

unread,
1:07 AM (3 hours ago) 1:07 AM
to blink-dev, Ian Kilpatrick, Kent Tamura
Contact emails
ko...@chromium.org

Specification
https://drafts.csswg.org/css-text/#text-indent-property

Summary
The two optional keywords for the `text-indent` property extends the capability and the usability of the property. The `hanging` keyword changes indentation to "hanging", that is, all lines except the first line will be indented. The `each-line` keyword makes indentation to affect not only the first line but also each line after a forced line break.

Blink component
Blink>Layout>Inline

Web Feature ID
css.properties.text-indent.hanging

Motivation
No information provided

Initial public proposal
No information provided

TAG review
No information provided

TAG review status
Not applicable

Risks


Interoperability and Compatibility
No information provided

Gecko: Shipped/Shipping (https://caniuse.com/wf-text-indent-hanginghttps://caniuse.com/wf-text-indent-each-line

WebKit: Shipped/Shipping (https://caniuse.com/wf-text-indent-hanginghttps://caniuse.com/wf-text-indent-each-line

Web developers: Positive (http://crbug.com/434361099https://github.com/web-platform-tests/interop/issues/538 https://brucelawson.co.uk/2005/what-i-want-from-css-3/

Other signals:

Ergonomics
None

Activation
None

Security
None

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

Will this feature be supported on all six Blink platforms (Windows, Mac, Linux, ChromeOS, Android, and Android WebView)?
Yes

Is this feature fully tested by web-platform-tests?
Yes
https://wpt.fyi/results/css/css-text?label=master&label=experimental&aligned&q=text-indent%20%28hanging%20or%20each-line%20or%20parsing%20or%20animations%29

Flag name on about://flags
No information provided

Finch feature name
CssTextIndent

Rollout plan
Will ship enabled for all users

Requires code in //chrome?
False

Tracking bug
http://crbug.com/434361099

Estimated milestones
Shipping on desktop146
Shipping on Android146
Shipping on WebView146


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).

No information provided

Link to entry on the Chrome Platform Status
https://chromestatus.com/feature/5084062739988480?gate=6597829197955072

Links to previous Intent discussions
Intent to Prototype: https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAHe_1dKXQ%3DbfjEjt2sO9h8HQj%2BtDqOR_LLWvuzJTMpG2VkvgkQ%40mail.gmail.com


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