Index: third_party/WebKit/LayoutTests/fast/css/getComputedStyle-relativeURL.html |
diff --git a/third_party/WebKit/LayoutTests/fast/css/getComputedStyle-relativeURL.html b/third_party/WebKit/LayoutTests/fast/css/getComputedStyle-relativeURL.html |
index c35dd05cf04b044fe3d24b45a6b56e977d0622f0..162c85412ff3484886b22857cb4e890337a9336b 100644 |
--- a/third_party/WebKit/LayoutTests/fast/css/getComputedStyle-relativeURL.html |
+++ b/third_party/WebKit/LayoutTests/fast/css/getComputedStyle-relativeURL.html |
@@ -7,8 +7,8 @@ |
<script> |
target.style.backgroundImage = "-webkit-cross-fade(url(images1.jpg), url(images2.jpg), 0.5)"; |
test(function() { |
- var expected = "-webkit-cross-fade(url(" + location.href.replace('getComputedStyle-relativeURL.html', 'images1.jpg') + "), url(" + location.href.replace('getComputedStyle-relativeURL.html', 'images2.jpg') + "), 0.5)"; |
+ var expected = "-webkit-cross-fade(url(\"" + location.href.replace('getComputedStyle-relativeURL.html', 'images1.jpg') + "\"), url(\"" + location.href.replace('getComputedStyle-relativeURL.html', 'images2.jpg') + "\"), 0.5)"; |
Timothy Loh
2015/09/25 14:22:05
single quotes for this file too
nainar
2015/09/28 01:19:17
Done.
|
assert_equals(getComputedStyle(target).backgroundImage, expected); |
- assert_equals(target.style.backgroundImage, "-webkit-cross-fade(url(images1.jpg), url(images2.jpg), 0.5)"); |
+ assert_equals(target.style.backgroundImage, "-webkit-cross-fade(url(\"images1.jpg\"), url(\"images2.jpg\"), 0.5)"); |
}, 'Testing that getComputedStyle.backgroundImage returns absolute URLs and style.backgroundImage returns relative URLs'); |
</script> |