Closed Bug 1096421 Opened 10 years ago Closed 2 years ago

Explicit directional isolates don't work as expected in RTL mode

Categories

(Core :: Layout: Text and Fonts, defect)

defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: azasypkin, Unassigned)

References

Details

(Keywords: rtl)

Attachments

(1 file)

Attached file testcase.html
As per [1] the following text:

FSI + _ltr_or_rtl_text_ + PDI + _space_ + LRI + _ltr_text_ + PDI

should be equal to:

<bdi>_ltr_or_rtl_text_</bdi> + _space_ + <bdi dir="ltr">_ltr_text_</bdi>

But it's not the case in RTL in the latest Nightly (see attached test case).


[1] http://www.unicode.org/reports/tr9/#Markup_And_Formatting
Hey Ehsan and David could you please advise on that?

We may need this in Gaia Messaging app to format bidirectional text where markup is forbidden\not supported (currently app header component supports only plain text inside heading element, but we need to display bidirectional content there).

Thanks!
Flags: needinfo?(ehsan.akhgari)
Flags: needinfo?(dbaron)
See Also: → 1094320
Flags: needinfo?(dbaron) → needinfo?(smontagu)
This is dependent on updating the bidi algorithm; see bug 922963.
Depends on: 922963
What Jonathan said
Flags: needinfo?(smontagu)
Okay, thanks!

So I think, there is no need in ni? from Ehsan then :)
Flags: needinfo?(ehsan.akhgari)

AFAICS this now works as expected, presumably as a result of bug 922963 and related fixes.

Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: