[Webkit-unassigned] [Bug 126057] Clearing 'dir' attribute does not correctly set page directionality
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sun Dec 22 19:58:52 PST 2013
https://bugs.webkit.org/show_bug.cgi?id=126057
Prashant Hiremath <hiremathprashants at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |INVALID
--- Comment #5 from Prashant Hiremath <hiremathprashants at gmail.com> 2013-12-22 19:56:53 PST ---
(In reply to comment #4)
> (From update of attachment 219738 [details])
> View in context: https://bugs.webkit.org/attachment.cgi?id=219738&action=review
>
> > Source/WebCore/html/HTMLElement.cpp:209
> > + AtomicString dirValue = isValidDirAttribute(value) ? value : "ltr";
>
> This is incorrect. When dir="" attribute doesn't parse correctly, it needs to be treated as if it doesn't exist for the purpose of determining the directionality of text.
> I've specifically added a test case for this in fast/dom/HTMLElement/set-and-clear-dir-attribute.html
>
> i.e. the blink change is wrong.
Ok, got it :) . will close the bug.
--
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