Support for isolating formatting characters lacking in some browsers · Issue #10 · w3c/afrlreq · GitHub
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for isolating formatting characters lacking in some browsers #10

Open
r12a opened this issue Jan 22, 2021 · 1 comment
Open
Labels
doc:adlm doc:nkoo gap The first comment in this issue is read by the gap-analysis document. i:bidi_text Bidirectional text l:ff Pular (Adlam) l:nqo N'Ko script & language p:ok s:adlm s:nkoo x:adlm x:alreq x:hlreq x:nkoo

Comments

@r12a
Copy link
Contributor

r12a commented Jan 22, 2021

This issue is common to all RTL scripts.

For support of bidirectional text in plain text, the Unicode Standard provides a number of formatting characters, which include RLI, LRI, PDI and FSI. See an explanation of how these work.

Note that the Unicode Standard recommends the use of RLI/LRI...PDI rather than the former RLE/LRE...PDF, because the newer code points directionally isolate the text they surround from that around it. This is important for producing bidirectional text.

Although markup should be used most of the time in HTML pages, there are parts of an HTML document that don't support markup, such as the title element and title, alt, and other attributes. These characters can be necessary for managing inline runs of such text.

The Gap:

The RLI, LRI, FSI, PDI characters still don't produce the necessary behaviour in all major web browser engines.

Gecko and Blink support these characters. Webkit doesn't.

Spec status:

This is an issue related to Unicode support, rather than W3C specs.

html mentions that text content may contain these characters.

Tests & results:

i18n test suite, Isolating formatting characters

Action taken:

Webkit (2014)

Outcomes:

WebKit now supports the required behaviour for these formatting characters. This means that they can be used interoperably on all major web browsers.

Priority

These characters control fundamental behaviours for support of RTL scripts so priority is set as Basic.

@r12a
Copy link
Contributor Author

r12a commented Jan 22, 2021

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:
AdlamArabic/PersianHebrewN'Ko

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
doc:adlm doc:nkoo gap The first comment in this issue is read by the gap-analysis document. i:bidi_text Bidirectional text l:ff Pular (Adlam) l:nqo N'Ko script & language p:ok s:adlm s:nkoo x:adlm x:alreq x:hlreq x:nkoo
Projects
Development

No branches or pull requests

1 participant