summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bidi/536963-1.html
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--layout/reftests/bidi/536963-1.html20
1 files changed, 20 insertions, 0 deletions
diff --git a/layout/reftests/bidi/536963-1.html b/layout/reftests/bidi/536963-1.html
new file mode 100644
index 0000000000..dd31699232
--- /dev/null
+++ b/layout/reftests/bidi/536963-1.html
@@ -0,0 +1,20 @@
+<!DOCTYPE HTML>
+<html>
+ <head>
+ <title>Dynamic bidi bug</title>
+ <meta http-equiv="content-type" content="text/html; charset=UTF-8">
+ <style type="text/css">
+ p { width: 3ch;}
+ </style>
+ <script type="text/javascript">
+function flip()
+{
+ var flipped= document.getElementById('flipped');
+ flipped.dir = "rtl";
+}
+ </script>
+ </head>
+ <body onload="flip()">
+ <p id="flipped">0 123 4</p>
+ </body>
+</html>