[Webkit-unassigned] [Bug 65428] New: dir=auto needs to work on value of input and textarea elements

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Jul 31 01:15:39 PDT 2011


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

           Summary: dir=auto needs to work on value of input and textarea
                    elements
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: HTML DOM
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: aharon at google.com
                CC: yael.aharon at nokia.com, playmobil at google.com,
                    leviw at chromium.org


dir=auto as currently implemented in WebKit does not do anything useful for input elements, and only works on a textarea's initial value, without changing as the user modifies it. This is because dir=auto currently looks at the element's descendant text nodes. The HTML5 spec (http://dev.w3.org/html5/spec/Overview.html#the-dir-attribute) needs to be changed in this regard. Filed bug http://www.w3.org/Bugs/Public/show_bug.cgi?id=13482 on HTML5, asking that the spec be changed such that:

- For input and textarea elements with dir=auto, the directionality should be determined not by the element's descendants, but by the element's current value, and should change as the latter changes.

- For other elements, the text node descendants under a descendant textarea element should be excluded, just like those in script and style elements.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list