Closed Bug 1556414 Opened 5 years ago Closed 5 years ago

Hebrew characters displayed in reverse order when using shadow DOM

Categories

(Core :: DOM: Core & HTML, defect, P2)

67 Branch
defect

Tracking

()

RESOLVED FIXED
mozilla69
Tracking Status
firefox69 --- fixed

People

(Reporter: adir.developer, Assigned: smaug)

References

(Blocks 1 open bug)

Details

Attachments

(2 files)

User Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.169 Safari/537.36

Steps to reproduce:

Create a custom element that displays a text with Hebrew characters.
Use the custom element in a page without any Hebrew character.

Note:
This reproduces only when the page does not contain any Hebrew character (should not be even as a comment).

See attached file.

Actual results:

The Hebrew characters displayed in reversed order (left to right).

Expected results:

The Hebrew characters should be displayed from right to left.

More technical info: (where the bug reproduce)
User agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:67.0) Gecko/20100101 Firefox/67.0

Component: Untriaged → DOM: Core & HTML
Product: Firefox → Core

Hi John, could you take a look if this is something related to custom element?

Flags: needinfo?(jdai)

This is about shadow DOM

Summary: Hebrew characters displayed in reverse order when using custom elements → Hebrew characters displayed in reverse order when using shadow DOM

The whole directionality inside shadow DOM is still undefined
https://github.com/whatwg/html/issues/3699

Blocks: shadowdom
No longer blocks: custom-elements
Flags: needinfo?(jdai)
Priority: -- → P2
Assignee: nobody → bugs
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Pushed by opettay@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/c06f834fce85
mark document having bidi also when bidi is only in shadow DOM, r=edgar
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla69
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: