Bug 125825 - Clearing 'dir' attribute does not correctly set page directionality
Summary: Clearing 'dir' attribute does not correctly set page directionality
Status: RESOLVED DUPLICATE of bug 125830
Alias: None
Product: WebKit
Classification: Unclassified
Component: DOM (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: BlinkMergeCandidate
Depends on:
Blocks:
 
Reported: 2013-12-16 18:47 PST by Ryosuke Niwa
Modified: 2013-12-20 00:36 PST (History)
6 users (show)

See Also:


Attachments
Patch (5.57 KB, patch)
2013-12-18 05:47 PST, Prashant Hiremath
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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 .