Bug 202849 - [css-lists] No support for mixed-bidi in markers
Summary: [css-lists] No support for mixed-bidi in markers
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
Depends on: 167729
  Show dependency treegraph
Reported: 2019-10-11 07:21 PDT by Oriol Brufau
Modified: 2019-10-11 07:21 PDT (History)
0 users

See Also:

testcase (151 bytes, text/html)
2019-10-11 07:21 PDT, Oriol Brufau
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Oriol Brufau 2019-10-11 07:21:53 PDT
Created attachment 380752 [details]

**What steps will reproduce the problem?**

This doesn't seem noticeable right now because markers can only be numbers or symbols.
However, in bug 167729 I plan to add list-style-type:<string>, which will make it possible to use arbitrary strings in markers.

The problem is when that string has mixed-bidi:

      <li style="list-style-type: '\31\627\644\32'">list-item</li>

**What is the expected result?**

The marker should be rendered with U+0031 (1), U+0032 (2), U+0644 (ل), U+0627 (ا).

**What happens instead?**

The marker is rendered with U+0031 (1), U+FEFB (ﻻ), U+0032 (2).