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

Unified Diff: LayoutTests/animations/interpolation/resources/interpolation-test.js

Issue 1355263002: Make sure <url>s are being serialized according to spec (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@urlThing161644
Patch Set: Created 5 years, 3 months 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
« no previous file with comments | « no previous file | LayoutTests/fast/backgrounds/background-shorthand-after-set-backgroundSize.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/animations/interpolation/resources/interpolation-test.js
diff --git a/LayoutTests/animations/interpolation/resources/interpolation-test.js b/LayoutTests/animations/interpolation/resources/interpolation-test.js
index 19ce36406b93906c3528d22a15ab209181b53c3b..d0815d5c72cac9ff7f7bca94b3c902502db8d436 100644
--- a/LayoutTests/animations/interpolation/resources/interpolation-test.js
+++ b/LayoutTests/animations/interpolation/resources/interpolation-test.js
@@ -210,7 +210,7 @@
var matches = value.match(/url\([^\)]*\)/g);
if (matches !== null) {
for (var i = 0; i < matches.length; ++i) {
- var url = /url\(([^\)]*)\)/g.exec(matches[i])[1];
+ var url = /url\(\"([^\)]*)\)*\"/g.exec(matches[i])[1];
anchor.href = url;
anchor.pathname = '...' + anchor.pathname.substring(anchor.pathname.lastIndexOf('/'));
value = value.replace(matches[i], 'url(' + anchor.href + ')');
« no previous file with comments | « no previous file | LayoutTests/fast/backgrounds/background-shorthand-after-set-backgroundSize.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698