1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/reftests/forms/textarea/rtl-dynamic-attr.html Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,18 @@ 1.4 +<!DOCTYPE HTML> 1.5 +<html class="reftest-wait"> 1.6 + <head> 1.7 + <meta http-equiv="content-type" content="text/html; charset=utf-8"> 1.8 + <title></title> 1.9 + </head> 1.10 + <body> 1.11 + <textarea cols=20 rows=4></textarea> 1.12 + <script> 1.13 + onload = function() { 1.14 + setTimeout(function() { 1.15 + document.querySelector("textarea").setAttribute("dir", "rtl"); 1.16 + document.documentElement.removeAttribute("class"); 1.17 + }); 1.18 + }; 1.19 + </script> 1.20 + </body> 1.21 +</html>