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

Description Ryosuke Niwa 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.
Comment 1 Prashant Hiremath 2013-12-18 05:33:49 PST
I will be submitting patch soon.
Comment 2 Prashant Hiremath 2013-12-18 05:47:55 PST
Created attachment 219528 [details]
Patch

proposed patch
Comment 3 Ryosuke Niwa 2013-12-18 21:24:20 PST

*** This bug has been marked as a duplicate of bug 125830 ***
Comment 4 Ryosuke Niwa 2013-12-18 21:24:40 PST
Comment on attachment 219528 [details]
Patch

This has been merged already.
Comment 5 Prashant Hiremath 2013-12-20 00:36:25 PST
https://bugs.webkit.org/show_bug.cgi?id=125830 do not solve this issue hence created new bug https://bugs.webkit.org/show_bug.cgi?id=126057 .