Index: third_party/WebKit/LayoutTests/animations/responsive/resources/responsive-test.js |
diff --git a/third_party/WebKit/LayoutTests/animations/responsive/resources/responsive-test.js b/third_party/WebKit/LayoutTests/animations/responsive/resources/responsive-test.js |
index aacdbb60b1bff99f85951a597f4b465b20ff30af..ef16194961a2ba65d6fe7e1a1ddc95fa25cb8438 100644 |
--- a/third_party/WebKit/LayoutTests/animations/responsive/resources/responsive-test.js |
+++ b/third_party/WebKit/LayoutTests/animations/responsive/resources/responsive-test.js |
@@ -150,6 +150,10 @@ function runPendingResponsiveTests() { |
var expectation = after.expect[i]; |
var actual = getComputedStyle(target)[property]; |
test(function() { |
+ if (/url\(([^\)]*)\)/g.test(expectation.is) && !/url\("([^\)]*)"\)/g.test(expectation.is)) { |
Timothy Loh
2015/09/25 14:22:05
just update fill-responsive.html instead?
nainar
2015/09/28 01:19:17
Done.
|
+ var url = /url\(([^\)]*)\)/g.exec(expectation.is)[1]; |
+ expectation.is = 'url("' + url + '")'; |
+ } |
assert_equals(actual, expectation.is); |
}, `Animation on property <${property}> from [${from}] to [${to}] with ${JSON.stringify(before.state)} changed to ${JSON.stringify(after.state)} at (${expectation.at}) is [${expectation.is}]`); |
} |