Index: LayoutTests/fast/dom/shadow/style-and-shadow-element.html |
diff --git a/LayoutTests/fast/dom/shadow/style-and-shadow-element.html b/LayoutTests/fast/dom/shadow/style-and-shadow-element.html |
index 1d139de171ff74cb9e042ce9f7d3e8437d12c20e..ca3d4dab9315a35471936f59f4e6036c988f566f 100644 |
--- a/LayoutTests/fast/dom/shadow/style-and-shadow-element.html |
+++ b/LayoutTests/fast/dom/shadow/style-and-shadow-element.html |
@@ -9,24 +9,6 @@ |
<pre id='console'></pre> |
</body> |
<script> |
-function backgroundColorOf(node) |
-{ |
- return document.defaultView.getComputedStyle(node, null).getPropertyValue('background-color'); |
-} |
- |
-function backgroundColorShouldBe(selector, color) |
-{ |
- var text = 'backgroundColorOf(getNodeInTreeOfTrees("' + selector + '"))'; |
- shouldBeEqualToString(text, color); |
-} |
- |
-function backgroundColorShouldNotBe(selector, color) |
-{ |
- var text = 'backgroundColorOf(getNodeInTreeOfTrees("' + selector + '"))'; |
- var unevaledString = '"' + color.replace(/\\/g, "\\\\").replace(/"/g, "\"") + '"'; |
- shouldNotBe(text, unevaledString); |
-} |
- |
function cleanUp() |
{ |
document.getElementById('sandbox').innerHTML = ''; |
@@ -95,4 +77,3 @@ backgroundColorShouldBe('host', 'rgb(0, 128, 0)'); |
cleanUp(); |
</script> |
</html> |
- |