Bug 202849

Summary: [css-lists] No support for mixed-bidi in markers
Product: WebKit Reporter: Oriol Brufau <obrufau>
Component: CSSAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal    
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.chromium.org/p/chromium/issues/detail?id=1012289
Bug Depends on: 167729    
Bug Blocks:    
Description Flags
testcase none

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).