text-combine-upright needs to centre the horizontal text around the vertical centre baseline
Categories
(Core :: Layout: Text and Fonts, defect)
Tracking
()
People
(Reporter: ishida, Unassigned)
References
Details
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:132.0) Gecko/20100101 Firefox/132.0
Steps to reproduce:
If that link is too long, use this link and click on 'test': https://github.com/w3c/line_paragraph_tests/issues/88
Actual results:
Gecko: ✅❌ counters are upright but not centred Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:132.0) Gecko/20100101 Firefox/132.0
Blink: ✅❌ counters are upright but not centred Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36
Webkit: ❌ counters are not upright Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/18.0.1 Safari/605.1.15
Expected results:
When text-combine-upright is applied the resulting horizontal text should be centred horizontally to match the central baseline of the vertical line below.
(This is being tracked by the W3C at https://github.com/w3c/jlreq/issues/170)
| Reporter | ||
Comment 1•1 year ago
|
||
Note that this is the normal style for list markers when dealing with vertical text. It's not just a nice-to-have for people who work with those scripts.
The issue is described here in terms of list counters, but it probably relates to the general use of text-combine-upright, which widens the impact considerably for end users.
Comment 2•1 year ago
|
||
(please move if there's a better component for this bug)
Updated•1 year ago
|
| Reporter | ||
Comment 3•1 year ago
|
||
I believe that the misalignment i was seeing was due to me failing to remove the space from the counter. An improved version of the test can be seen by clicking on the 'test' link at https://github.com/w3c/line_paragraph_tests/issues/23, and it seems to work fine.
So this bug can be closed. Thank you.
Description
•