Open
Bug 1531218
Opened 6 years ago
Updated 2 years ago
Size of ch unit is incorrect with text-orientation: mixed and writing-mode: vertical-rl
Categories
(Core :: CSS Parsing and Computation, defect, P3)
Core
CSS Parsing and Computation
Tracking
()
NEW
Tracking | Status | |
---|---|---|
firefox67 | --- | affected |
People
(Reporter: bugzilla, Unassigned)
References
(Blocks 1 open bug)
Details
When styling 'height' with 'text-orientation: mixed' and 'writing-mode: vertical-rl', the ch unit corresponds to the the advance width measure of the 0 (ZERO, U+0030) glyph.
Tests
http://w3c-test.org/css/css-values/ch-unit-003.html
http://w3c-test.org/css/css-values/ch-unit-010.html
Notes
- Chromium 72.0.3626.96 passes these tests
- Firefox 60.5.1 ESR and Firefox 67.0a1 buildID=20190227163104 fail these tests
- I searched for duplicate and did not find any
- This bug report is not related to bug 1470075.
Comment 1•6 years ago
|
||
It may be relevant that Gecko_GetFontMetrics
considers an aIsVertical
parameter but doesn't appear to consider the text-orientation
. (It should in turn get the value computed for zeroOrAveCharWidth
.)
Updated•6 years ago
|
Blocks: css-values-3
Updated•6 years ago
|
Summary: height with ch unit in text-orientation: mixed and vertical-rl writing-mode → Size of ch unit is incorrect with text-orientation: mixed and writing-mode: vertical-rl
Updated•6 years ago
|
Component: Layout: Block and Inline → CSS Parsing and Computation
Comment 2•6 years ago
|
||
See the css-values-3 spec and the css-values-4 spec, which for the purposes of this bug are basically identical.
Comment 3•6 years ago
|
||
I knew I had reviewed a patch to fix this. Looks like bug 282126 never landed.
Depends on: 282126
Comment 4•6 years ago
|
||
Er, yes, looks like I forgot about that.
Updated•6 years ago
|
Priority: -- → P3
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•