diff options
Diffstat (limited to 'webkit')
2 files changed, 0 insertions, 38 deletions
diff --git a/webkit/data/layout_tests/pending/fast/dom/StyleSheet/ownerNode-lifetime-expected-2-expected.txt b/webkit/data/layout_tests/pending/fast/dom/StyleSheet/ownerNode-lifetime-expected-2-expected.txt deleted file mode 100644 index 5e51726..0000000 --- a/webkit/data/layout_tests/pending/fast/dom/StyleSheet/ownerNode-lifetime-expected-2-expected.txt +++ /dev/null @@ -1,3 +0,0 @@ -This test verifies that style sheet do not outlive their elements. Since you can get back to the element with the ownerNode attribute, it's important to keep the element alive. - -Test passed. diff --git a/webkit/data/layout_tests/pending/fast/dom/StyleSheet/ownerNode-lifetime-expected-2.html b/webkit/data/layout_tests/pending/fast/dom/StyleSheet/ownerNode-lifetime-expected-2.html deleted file mode 100644 index 1629a2e..0000000 --- a/webkit/data/layout_tests/pending/fast/dom/StyleSheet/ownerNode-lifetime-expected-2.html +++ /dev/null @@ -1,35 +0,0 @@ -<html> -<link rel="stylesheet" type="text/css" href="theme.css"/> - -<script> -function runTest() { - if (window.layoutTestController) - layoutTestController.dumpAsText(); - - var linkElement = document.getElementsByTagName('link')[0]; - var styleSheet = linkElement.sheet; - - // delete link element - linkElement.parentNode.removeChild(linkElement); - linkElement = null; - - if (window.gc) { - window.gc(); - } else { - for (var i = 0; i < 5000; i++) - new Object(); - } - styleSheet.ownerNode.cloneNode(); - - document.getElementById("result").innerHTML = "Test passed."; -} -</script> -<body onload="runTest()"> -<p> -This test verifies that style sheet do not outlive their elements. -Since you can get back to the element with the ownerNode attribute, -it's important to keep the element alive. -</p> -<p id="result">TEST HAS NOT RUN YET.</p> -</body> -</html> |