Open Bug 1359615 Opened 6 years ago Updated 8 months ago

stylo: Support multivalued text-align


(Core :: CSS Parsing and Computation, enhancement, P4)




Tracking Status
firefox57 --- wontfix


(Reporter: manishearth, Unassigned)



We currently parse text-align as a single keyword.

It's possible to specify text-align as two keywords, as long as one of them is `unsafe`. In this case mTextAlignTrue is set to true, and the non-unsafe keyword is set to mTextAlign (in the case of two keywords being unsafe this gets set to unsafe too)

layout.css.text-align-unsafe-value.enabled must be on for this to work

Shouldn't be hard to implement, but probably low priority.

Tests: layout/reftests/text/text-align-unsafe.html
What's the meaning of text-align: unsafe?

I believe it forces the text to be aligned even if it overflows.
status-firefox57=wontfix unless someone thinks this bug should block 57
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.