Bug 137799

Summary: clearing html direction style doesn't restore it to ltr
Product: WebKit Reporter: Adam Comella <rigdern>
Component: Layout and RenderingAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: mitz, tonikitoo
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Mac   
OS: OS X 10.9   
Attachments:
Description Flags
Repro page none

Adam Comella
Reported 2014-10-16 19:04:50 PDT
Created attachment 239988 [details] Repro page Steps to reproduce the problem: 1. Open toggleRTL.html (attached) What is the expected behavior? The final direction should be LTR. The script should output: Switched to '' getComputedStyle(document.documentElement).direction is ltr What went wrong? The final direction is actually RTL. The script outputs: Switched to '' getComputedStyle(document.documentElement).direction is rtl This works in IE 11 and Firefox 32
Attachments
Repro page (1.06 KB, text/html)
2014-10-16 19:04 PDT, Adam Comella
no flags
Note You need to log in before you can comment on or make changes to this bug.