[Webkit-unassigned] [Bug 145498] New: Text from attributes should be displayed in the direction of the attribute, not the element

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun May 31 05:05:30 PDT 2015


https://bugs.webkit.org/show_bug.cgi?id=145498

            Bug ID: 145498
           Summary: Text from attributes should be displayed in the
                    direction of the attribute, not the element
    Classification: Unclassified
           Product: WebKit
           Version: 528+ (Nightly build)
          Hardware: All
                OS: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Layout and Rendering
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: aharon at google.com

HTML5 made a change in https://www.w3.org/Bugs/Public/show_bug.cgi?id=17829 to specify that "Text from attributes [that is exposed in user interfaces] is expected to be rendered in a manner that honours the directionality of the attribute.", instead of the directionality of the element as previously.

This makes a practical difference in the case of elements with dir="auto", where the directionality of the element is determined by its content, but the directionality of the attribute is determined independently by *its* own content.

So something like data:text/html; charset=utf-8,<p dir="auto" title="Hello!">مرحبا!</p> should be displayed with the exclamation mark on the left of the Arabic text in the body, but on the right of the English text in the tooltip. 

All the other attributes listed at https://html.spec.whatwg.org/multipage/dom.html#directionality-capable-attribute are also potentially affected.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150531/88f5c3bc/attachment-0001.html>


More information about the webkit-unassigned mailing list