Re: [csswg-drafts] [css-pseudo-4][css-lists-3] Allow 'writing-mode' on ::marker (#5250)

Would `text-combine-upright: all` actually work well? In Firefox, if I disable `layout.css.marker.restricted` and use

```css
li::marker {
  text-combine-upright: all;
  content: counter(list-item) '. '; /* Force modern marker */
}
```

then I get the following, note the marker dots:

![](https://user-images.githubusercontent.com/7477678/85416574-e9194980-b56e-11ea-8469-8e04a1bf01ce.png)

In Chromium, if I enable ::marker and unrestrict it, `text-combine-upright` forces the marker to use legacy layout, but the list item is in LayoutNG, and this fails some asserts.

Using `writing-mode: horizontal-tb` seems better. But the trailing whitespace misaligns it a bit in Chromium due to `white-space: pre`.

![](https://user-images.githubusercontent.com/7477678/85417209-b1f76800-b56f-11ea-918a-066a46a0b97f.png)

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

Received on Tuesday, 23 June 2020 14:40:31 UTC