NEW137799
clearing html direction style doesn't restore it to ltr
https://bugs.webkit.org/show_bug.cgi?id=137799
Summary clearing html direction style doesn't restore it to ltr
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.