W3C home > Mailing lists > Public > public-css-archive@w3.org > June 2020

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

From: Oriol Brufau via GitHub <sysbot+gh@w3.org>
Date: Tue, 23 Jun 2020 14:40:28 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-648207217-1592923227-sysbot+gh@w3.org>
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

This archive was generated by hypermail 2.4.0 : Tuesday, 19 October 2021 01:31:28 UTC