| Index: LayoutTests/svg/dom/SVGStyleElement/script-tests/disable-svg-style-element.js
|
| diff --git a/LayoutTests/svg/dom/SVGStyleElement/script-tests/disable-svg-style-element.js b/LayoutTests/svg/dom/SVGStyleElement/script-tests/disable-svg-style-element.js
|
| index 28b0526e8309bcec93f5a00ef6aec9d59ba55414..5317ffaef4b7564c67372968d3561c98050d2acf 100644
|
| --- a/LayoutTests/svg/dom/SVGStyleElement/script-tests/disable-svg-style-element.js
|
| +++ b/LayoutTests/svg/dom/SVGStyleElement/script-tests/disable-svg-style-element.js
|
| @@ -31,11 +31,11 @@ document.body.appendChild(svg);
|
|
|
| // Simple case
|
| shouldBeFalse('styleElement.disabled');
|
| -shouldBe('window.getComputedStyle(rect).fill', '"#0000ff"');
|
| +shouldBe('window.getComputedStyle(rect).fill', '"rgb(0, 0, 255)"');
|
|
|
| styleElement.disabled = true
|
| shouldBeTrue('styleElement.disabled');
|
| -shouldBe('window.getComputedStyle(rect).fill', '"#ff0000"');
|
| +shouldBe('window.getComputedStyle(rect).fill', '"rgb(255, 0, 0)"');
|
|
|
| // Test disconnected element
|
| var newStyleElement = document.createElementNS(xmlns, 'style');
|
| @@ -48,4 +48,4 @@ shouldBeFalse('otherStyleElement.disabled');
|
| otherStyleElement.disabled = true
|
| shouldBeFalse('otherStyleElement.disabled');
|
|
|
| -document.body.removeChild(svg);
|
| +document.body.removeChild(svg);
|
|
|