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

Unified Diff: LayoutTests/fast/innerHTML/innerHTML-uri-resolution.html

Issue 1306283006: BackgroundImage incorrectly returns empty url() when created on-the-fly (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
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
Index: LayoutTests/fast/innerHTML/innerHTML-uri-resolution.html
diff --git a/LayoutTests/fast/innerHTML/innerHTML-uri-resolution.html b/LayoutTests/fast/innerHTML/innerHTML-uri-resolution.html
index e5bd49663cf61064c5014679b1c1387d2d21bc13..262ade4ff73e7a1cd389c7475b6d4ba3355db4e9 100644
--- a/LayoutTests/fast/innerHTML/innerHTML-uri-resolution.html
+++ b/LayoutTests/fast/innerHTML/innerHTML-uri-resolution.html
@@ -13,7 +13,7 @@
var currentUri = document.location.href;
var currentPath = currentUri.substring(0, currentUri.lastIndexOf('/'));
- var cssUriWasResolvedAgainstDocumentUri = document.getElementById("test-span").style.backgroundImage == 'url(' + currentPath + '/image.png)';
+ var cssUriWasResolvedAgainstDocumentUri = document.getElementById("test-span").style.backgroundImage == 'url(image.png)';
// Can't log the actual path since it's different depending on where the test is run.
shouldBeTrue('cssUriWasResolvedAgainstDocumentUri');
« no previous file with comments | « LayoutTests/fast/css/url-with-multi-byte-unicode-escape-expected.txt ('k') | Source/core/css/CSSCrossfadeValue.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698