Closed
Bug 712603
Opened 13 years ago
Closed 12 years ago
By default, <bdi> should have dir="auto"
Categories
(Core :: Layout: Text and Fonts, defect)
Core
Layout: Text and Fonts
Tracking
()
RESOLVED
FIXED
People
(Reporter: aharon, Assigned: smontagu)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
1.90 KB,
text/html
|
Details |
According to the HTML5 spec (http://dev.w3.org/html5/spec/Overview.html#the-bdi-element), "The dir global attribute defaults to auto on [the BDI] element (it never inherits from the parent element like with other elements)."
This does not seem to be implemented; <bdi> seems to inherit dir from its parent. Thus, <div dir=rtl><bdi>a!</bdi></div> (try it at data:text/html,%3Cdiv%20dir%3Drtl%3E%3Cbdi%3Ea!%3C%2Fbdi%3E%3C%2Fdiv%3E) is supposed to display as "a!" but displays as "!a".
Reporter | ||
Comment 1•13 years ago
|
||
Assignee | ||
Updated•12 years ago
|
Attachment #583453 -
Attachment mime type: text/plain → text/html
Assignee | ||
Comment 2•12 years ago
|
||
Fixed by bug 548206, testcase checked in https://hg.mozilla.org/integration/mozilla-inbound/rev/49d2d16b9d5b
Assignee | ||
Updated•12 years ago
|
Flags: in-testsuite+
OS: Windows 7 → All
Hardware: x86_64 → All
Comment 3•12 years ago
|
||
Assignee: nobody → aharon
Assignee | ||
Comment 4•12 years ago
|
||
Thanks to Aharon for the testcase, but I don't think he'll want the bug actually assigned to him :)
Assignee: aharon → smontagu
You need to log in
before you can comment on or make changes to this bug.
Description
•