| Index: LayoutTests/fast/svg/SVGStyleElement.html
|
| diff --git a/LayoutTests/fast/svg/SVGStyleElement.html b/LayoutTests/fast/svg/SVGStyleElement.html
|
| index 30e6ae53d5061e44020c9b57d565c0744d3da0d4..81a64aacf7de7c07a9df8d1e7d084b97834b4809 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,22 @@
|
| <div id=log></div>
|
| <script>
|
| var svg = document.querySelector("svg"),
|
| - style = document.querySelector("style");
|
| + style = document.querySelector("style");
|
|
|
| test(function() {
|
| - assert_exists(style, "sheet", "");
|
| + assert_will_be_idl_attribute(style, "sheet", "");
|
| }, "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>
|
|
|