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

Unified Diff: third_party/WebKit/LayoutTests/fast/css/resources/image-url-var.css

Issue 2873943002: Ensure original parser context is used when parsing resolved var() references (Closed)
Patch Set: g cl set-commit Created 3 years, 7 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 | third_party/WebKit/LayoutTests/fast/css/variables/computed-image-url.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/fast/css/resources/image-url-var.css
diff --git a/third_party/WebKit/LayoutTests/fast/css/resources/image-url-var.css b/third_party/WebKit/LayoutTests/fast/css/resources/image-url-var.css
new file mode 100644
index 0000000000000000000000000000000000000000..af5c69d4dc8779b1d48bab82ce5657f612abe056
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/fast/css/resources/image-url-var.css
@@ -0,0 +1,31 @@
+.background.image-set.var {
+ --test: url('test.png');
+ background: -webkit-image-set(var(--test) 1x);
+}
+.background.image-set.inline {
+ background: -webkit-image-set(url('test.png') 1x);
+}
+
+.background.url.var {
+ --test: url('test.png');
+ background: var(--test);
+}
+.background.url.inline {
+ background: url('test.png');
+}
+
+.background-image.image-set.var {
+ --test: url('test.png');
+ background-image: -webkit-image-set(var(--test) 1x);
+}
+.background-image.image-set.inline {
+ background-image: -webkit-image-set(url('test.png') 1x);
+}
+
+.background-image.url.var {
+ --test: url('test.png');
+ background-image: var(--test);
+}
+.background-image.url.inline {
+ background-image: url('test.png');
+}
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/css/variables/computed-image-url.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698