Webkit doesn't automatically right-align Adlam – FIXED !
Nobody has claimed this yet.
- Dominant language
- HTML
- Stars
- 11
- Forks
- 4
- PR merge metrics
- No merged PRs in 30d
Description
Adlam text displayed in a block element with dir set to auto should be automatically right-aligned, unless the base direction is set to LTR, like this:

The GAP
In WebKit the text appears as follows:

This is a serious issue, and indicates that first-strong heuristics are not being applied. Note that this was not an issue for N'Ko, Arabic, Hebrew, Thaana, or Syriac text.
Priority
Priority initially set to basic because this was a serious issue for Adlam users, but now set to OK.
Tests & results
Interactive test, Text in languages that use RTL scripts will be automatically aligned with the right side of their container when dir is set to auto
- Gecko: ✅ Browser: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:96.0) Gecko/20100101 Firefox/96.0
- Blink: ✅ Browser: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.71 Safari/537.36
- Webkit: ✅ Adlam used to be broken, but is now fixed (see the bug report). Browser: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.2 Safari/605.1.15
Action taken
Outcomes
This was fixed in WebKit, so it now works as expected for all 3 major browser engines.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the linked interactive test, “Text in languages that use RTL scripts will be automatically aligned…”, and compare its expected behavior with the linked WebKit bug 220885. The issue reports that WebKit already passes the test, so no repository change remains to make.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- html
- Domain
- internationalization, web-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 10/100