--- /dev/null
+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."
--- /dev/null
+<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>