RESOLVED FIXED 150821
Implement text-combine-upright (new version of -webkit-text-combine)
https://bugs.webkit.org/show_bug.cgi?id=150821
Summary Implement text-combine-upright (new version of -webkit-text-combine)
Myles C. Maxfield
Reported 2015-11-02 16:06:44 PST
The name of the property is now "text-combine-upright". In addition, the semantics of this property has changed, where the author is not required to mark up each bit of text they want to make horizontal. Instead, they just put text-combine-upright on the whole paragraph, and we do the right thing.
Attachments
Patch (70.79 KB, patch)
2021-12-27 08:25 PST, Tim Nguyen (:ntim)
no flags
Patch (67.66 KB, patch)
2021-12-27 08:47 PST, Tim Nguyen (:ntim)
no flags
Patch (72.19 KB, patch)
2021-12-27 13:42 PST, Tim Nguyen (:ntim)
dino: review+
Patch (72.37 KB, patch)
2021-12-30 16:24 PST, Tim Nguyen (:ntim)
no flags
Koji Ishii
Comment 1 2015-11-03 08:38:00 PST
> the semantics of this property has changed It's a bit confusing, sorry about that. text-combine-upright: all is semantically equivalent to text-combine: horizontal so this should be a simple renaming. text-combine-upright: digits <integer>? was added to do automatic detection of digits in a row within a text run as one implementer showed an interest. But this is not implemented by other implementers yet at this point and is at risk. Probably you read this part?
Ryosuke Niwa
Comment 2 2015-11-09 12:10:14 PST
We should add the support for: text-combine: digits 2
yisibl
Comment 3 2015-12-17 04:37:58 PST
Chrome 48 supported it.
r12a
Comment 4 2021-11-19 06:50:04 PST
Pinging this bug report in the hope that Webkit can finish making the text-combine-upright property work. The 'all' value is already supported in Gecko and Blink browsers, and this feature is really important for adequate handling of vertically-set text. Supporting the 'digits' values would be good for content authors, since it requires less markup, and better semantic markup, and offers greater control. See https://w3c.github.io/clreq/gap-analysis/#issue249_vertical_text
Tim Nguyen (:ntim)
Comment 5 2021-12-26 03:15:08 PST
Splitting this in 2 bits makes sense to me: * Style work: Making -webkit-text-combine inherited, and implement text-combine-upright as an aliased property (with different values) * Rendering work: Implement "digits" syntax
Radar WebKit Bug Importer
Comment 6 2021-12-26 03:17:33 PST
Tim Nguyen (:ntim)
Comment 7 2021-12-27 08:25:59 PST
Tim Nguyen (:ntim)
Comment 8 2021-12-27 08:47:41 PST
Tim Nguyen (:ntim)
Comment 9 2021-12-27 13:42:18 PST
Dean Jackson
Comment 10 2021-12-30 14:02:37 PST
Comment on attachment 448006 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=448006&action=review > Source/WebCore/ChangeLog:9 > + This more or less gets to Chrome parity, though there's quite a bit of work > + to match the standard, or even just reach Firefox parity. Could you expand on this a bit? What still needs to be done? Are there open bugzillas?
Tim Nguyen (:ntim)
Comment 11 2021-12-30 16:24:57 PST
Tim Nguyen (:ntim)
Comment 12 2021-12-30 16:26:47 PST
r12a
Comment 13 2024-11-22 04:45:21 PST
Any movement on this? WebKit is now the only remaining major browser not to support this. It is needed by East Asian and Mongolian content authors to produce the default list styling in vertical text, so it's not really just a nice-to-have. It will get significant real world use. By the way, please note that the upright text needs to be centred around the vertical baseline.
Note You need to log in before you can comment on or make changes to this bug.