Open
Bug 1359615
Opened 8 years ago
Updated 2 years ago
stylo: Support multivalued text-align
Categories
(Core :: CSS Parsing and Computation, enhancement, P4)
Core
CSS Parsing and Computation
Tracking
()
NEW
Tracking | Status | |
---|---|---|
firefox57 | --- | wontfix |
People
(Reporter: manishearth, Unassigned)
References
Details
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
Comment 1•8 years ago
|
||
What's the meaning of text-align: unsafe?
Reporter | ||
Comment 2•8 years ago
|
||
https://dxr.mozilla.org/mozilla-central/source/layout/generic/nsLineLayout.cpp#3128
I believe it forces the text to be aligned even if it overflows.
Comment 3•7 years ago
|
||
status-firefox57=wontfix unless someone thinks this bug should block 57
status-firefox57:
--- → wontfix
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•