Re: [csswg-drafts] [css-pseudo][css-writing-modes] `text-orientation` and `::marker` (#9788)

> `text-orientation` should have an effect on `::marker`, so that, for instance, you can have upright numerals in a numbered list's markers, and otherwise mixed orientation text.
> 
> ```css
> ol {
>   writing-mode: vertical-rl;
>   text-orientation: mixed; /*the default*/
> }
> ol li::marker {
>   text-orientation: upright;
> }
> ```
> 
> Here's a test case: http://software.hixie.ch/utilities/js/live-dom-viewer/?saved=12266
> 
> Currently, all browsers fail it. I _think_ that's a browser bug, as even though `text-orientation` isn't part of the [set of properties that apply directly to the `::marker` pseudo](https://drafts.csswg.org/css-lists-3/#marker-properties), it should inherit into the text inside the marker and apply there. Do we agree, or is there something somewhere in the spec that actually makes it the expected behavior?



-- 
GitHub Notification of comment by Theshrink
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/9788#issuecomment-1976958670 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Monday, 4 March 2024 16:20:48 UTC