Bug 210321
| Summary: | Auto-direction is always LTR if element starts with an Emoji | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Samy Alzhrani <samyalzahrany> |
| Component: | Text | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW | ||
| Severity: | Normal | CC: | mmaxfield, samyalzahrany, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | Safari 13 | ||
| Hardware: | Unspecified | ||
| OS: | macOS 10.14 | ||
Samy Alzhrani
When an html element starts with an Emoji, it is treated as having a strong LTR direction regardless of what follows.
for example the following p tag should have a base direction of RTL since all the text other than the emoji is RTL
<p dir="auto">😁عربي</p>
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/61589574>