summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/1272997-1.html
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--layout/reftests/bugs/1272997-1.html23
1 files changed, 23 insertions, 0 deletions
diff --git a/layout/reftests/bugs/1272997-1.html b/layout/reftests/bugs/1272997-1.html
new file mode 100644
index 0000000000..fee818bccc
--- /dev/null
+++ b/layout/reftests/bugs/1272997-1.html
@@ -0,0 +1,23 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <script>
+ function test() {
+ var elem = document.getElementById("test");
+ elem.style.width = "350px";
+ }
+ </script>
+ </head>
+ <body onload="test()">
+ <iframe id="test" style="width:400px;"
+ src="data:text/html,
+ <html>
+ <style>
+ html { writing-mode:vertical-rl; }
+ div { writing-mode:initial; position:absolute;
+ right:0; padding:5px; }
+ </style>
+ <div>This text should NOT be cut off</div>">
+ </iframe>
+ </body>
+</html>