Bug 125825

Summary: Clearing 'dir' attribute does not correctly set page directionality
Product: WebKit Reporter: Ryosuke Niwa <rniwa>
Component: DOMAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: hiremathprashants, jose.lejin, kling, koivisto, mitz, mmaxfield
Priority: P2 Keywords: BlinkMergeCandidate
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch none

Ryosuke Niwa
Reported 2013-12-16 18:47:57 PST
Merge https://chromium.googlesource.com/chromium/blink/+/2d592d1c998bec9438e421e1ce1ee6caba05a884 The dir attribute by default resolves to ltr. After its set to rtl, clearing it should cause it to once again resolve to its default, ltr. This patch makes this change from the current behavior where the rtl persists the clear.
Attachments
Patch (5.57 KB, patch)
2013-12-18 05:47 PST, Prashant Hiremath
no flags
Prashant Hiremath
Comment 1 2013-12-18 05:33:49 PST
I will be submitting patch soon.
Prashant Hiremath
Comment 2 2013-12-18 05:47:55 PST
Created attachment 219528 [details] Patch proposed patch
Ryosuke Niwa
Comment 3 2013-12-18 21:24:20 PST
*** This bug has been marked as a duplicate of bug 125830 ***
Ryosuke Niwa
Comment 4 2013-12-18 21:24:40 PST
Comment on attachment 219528 [details] Patch This has been merged already.
Prashant Hiremath
Comment 5 2013-12-20 00:36:25 PST
Note You need to log in before you can comment on or make changes to this bug.