w3c / afrlreq

African language enablement for the Web
9 stars 6 forks source link

Webkit doesn't automatically right-align Adlam #13

Open r12a opened 3 years ago

r12a commented 3 years ago

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:

Screenshot 2021-01-22 at 15 33 38

The GAP

In WebKit the text appears as follows:

Screenshot 2021-01-22 at 15 36 02

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.

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

Action taken

Webkit

Outcomes

This was fixed in WebKit, so it now works as expected for all 3 major browser engines.

Priority

Priority initially set to basic because this was a serious issue for Adlam users, but now set to OK.

r12a commented 3 years ago

The first comment in this issue contains text that will automatically appear in one or more gap-analysis documents as a subsection with the same title as this issue. Any edits made to that comment will be immediately available in the document. Proposals for changes or discussion of the content can be made in comments below this point.

Relevant gap analysis documents include: _Adlam_

xfq commented 3 years ago

Browser bug raised: https://bugs.webkit.org/show_bug.cgi?id=220885