Index: LayoutTests/fast/svg/SVGStyleElement.html |
diff --git a/LayoutTests/fast/svg/SVGStyleElement.html b/LayoutTests/fast/svg/SVGStyleElement.html |
index 30e6ae53d5061e44020c9b57d565c0744d3da0d4..05b61ed62242c3b1547e969a743b90f477999fb3 100644 |
--- a/LayoutTests/fast/svg/SVGStyleElement.html |
+++ b/LayoutTests/fast/svg/SVGStyleElement.html |
@@ -1,4 +1,4 @@ |
-<!doctype html> |
+<!doctype html> |
<title>SVGStyleElement tests</title> |
<script src=../../resources/testharness.js></script> |
<script src=../../resources/testharnessreport.js></script> |
@@ -10,22 +10,25 @@ |
<div id=log></div> |
<script> |
var svg = document.querySelector("svg"), |
- style = document.querySelector("style"); |
+ style = document.querySelector("style"); |
test(function() { |
- assert_exists(style, "sheet", ""); |
+ // FIXME: This assertion should be replaced with |
+ // assert_idl_attribute(style, "sheet", description); |
+ // http://crbug.com/43394 |
+ assert_true("sheet" in style, ""); |
}, "SVGStyleElement implements LinkStyle"); |
test(function() { |
- assert_equals(document.styleSheets[0], style.sheet); |
+ assert_equals(document.styleSheets[0], style.sheet); |
}, "document.styleSheets contains style.sheet"); |
test(function() { |
- assert_equals(document.styleSheets[0].ownerNode, style); |
+ assert_equals(document.styleSheets[0].ownerNode, style); |
}, "sheet has correct ownerNode #1"); |
test(function() { |
- assert_equals(style.sheet.ownerNode, style); |
+ assert_equals(style.sheet.ownerNode, style); |
}, "sheet has correct ownerNode #2"); |
</script> |