Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(71)

Unified Diff: LayoutTests/svg/dom/SVGStyleElement/script-tests/disable-svg-style-element.js

Issue 114373004: Remove the SVGColor and SVGPaint DOM interfaces (were deprecated). (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: text diff fix Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);
« no previous file with comments | « LayoutTests/svg/dom/SVGStyleElement/disable-svg-style-element-expected.txt ('k') | LayoutTests/svg/dom/rgb-color-parser.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698