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".
Attachment #583453 - Attachment mime type: text/plain → text/html
Fixed by bug 548206, testcase checked in https://hg.mozilla.org/integration/mozilla-inbound/rev/49d2d16b9d5b
Status: NEW → RESOLVED
Last Resolved: 5 years ago
Depends on: 548206
Resolution: --- → FIXED
OS: Windows 7 → All
Hardware: x86_64 → All
Assignee: nobody → aharon
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.