Add layout test for dynamic float/position change.
authorhyatt <hyatt@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 14 Jul 2004 21:01:37 +0000 (21:01 +0000)
committerhyatt <hyatt@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 14 Jul 2004 21:01:37 +0000 (21:01 +0000)
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@7027 268f45cc-cd09-0410-ab3c-d52691b4dbfc

LayoutTests/fast/dynamic/009-expected.txt [new file with mode: 0644]
LayoutTests/fast/dynamic/009.html [new file with mode: 0644]

diff --git a/LayoutTests/fast/dynamic/009-expected.txt b/LayoutTests/fast/dynamic/009-expected.txt
new file mode 100644 (file)
index 0000000..2fe223f
--- /dev/null
@@ -0,0 +1,8 @@
+layer at (0,0) size 800x600
+  RenderCanvas at (0,0) size 800x600
+layer at (0,0) size 800x600
+  RenderBlock {HTML} at (0,0) size 800x600
+    RenderBody {BODY} at (8,8) size 784x584
+      RenderBlock {DIV} at (0,0) size 784x18
+        RenderText {TEXT} at (0,0) size 169x18
+          text run at (0,0) width 169: "This text should be visible."
diff --git a/LayoutTests/fast/dynamic/009.html b/LayoutTests/fast/dynamic/009.html
new file mode 100644 (file)
index 0000000..126cf55
--- /dev/null
@@ -0,0 +1,6 @@
+<body><div id="foo" style="position:absolute; visibility:hidden;">This text should be visible.</div><script>
+               var foo = document.getElementById('foo');
+                foo.style.position="";
+               foo.style.visibility="";
+</script>
+</body>