Bug 195745
| Summary: | Letter spacing shouldn't break Arabic words | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Ebrahim Byagowi <ebrahim> |
| Component: | CSS | Assignee: | Nobody <webkit-unassigned> |
| Status: | REOPENED | ||
| Severity: | Normal | CC: | 50167214, bfulgham, mmaxfield, nmouchtaris, simon.fraser, webkit-bug-importer, zalan |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Ebrahim Byagowi
Testcase:
data:text/html;charset=utf8,<div style="letter-spacing: 10px;">%D9%85%D8%AA%D9%86</div>
Actual:
Breaks the word letter on Arabic
Expected:
Shouldn't insert space between on an Arabic word per https://drafts.csswg.org/css-text-3/#cursive-tracking
Equivalent bugs to get context:
https://crbug.com/942012
https://bugzilla.mozilla.org/show_bug.cgi?id=1342835
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Brent Fulgham
We seem to exactly match Chrome behavior here. Can you reopen if we are still doing something wrong in macOS 13 or iOS 16?
Radar WebKit Bug Importer
<rdar://problem/96318423>
yisibl
Chrome now has a new behavior:
https://groups.google.com/a/chromium.org/g/blink-dev/c/K_tGT0tTJoM/m/QwZrhu7ADgAJ
Ebrahim Byagowi
> Can you reopen if we are still doing something wrong in macOS 13 or iOS 16?
Thanks for asking and sorry for missing to update this issue. This is never fixed indeed, I'm using Tahoe 26.0 Beta (25A5346a ) right now and it still exists.
data:text/html;charset=utf8,<div style="letter-spacing: 40px; font-size: 740%">%D9%85%D8%AA%D9%86</div>
https://imgur.com/a/2oSkxPX
The text on the screenshot shouldn't be broken in two parts.
> Chrome now has a new behavior:
Thanks for pointing that out, they've fixed the equivalent of this file on Chrome which I've filed there, just am mentioning so that WebKit can become confident this is a change that should happen per the spec and now for compatibility with most other browsers.