Bug 165753
| Summary: | Wrong whitespace position in wrapped rtl | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Adrian Heine <mail> |
| Component: | HTML Editing | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW | ||
| Severity: | Minor | CC: | mmaxfield |
| Priority: | P2 | ||
| Version: | Other | ||
| Hardware: | PC | ||
| OS: | Linux | ||
Adrian Heine
Given a monospace textarea with a width of 6 characters with the following content:
>>>><<<<< (order)
012387654 (storage position)
Say ا ب ج
Firefox wraps like this:
>>>><< (order)
|012354| (storage position)
|Say ا|
<<< (order)
|876 | (storage position)
|ب ج |
Webkit wraps like this:
>>>><< (order)
|012345| (storage position)
|Say ا |
<<< (order)
|876 | (storage position)
|ب ج |
I argue that Webkit's behaviour is wrong, since 4 and 5 are part of an rtl span and thus their horizontal order should be reversed content order.
I confirmed this in Epiphany with Webkit 2.14.2 and Chromium 55.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |