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

Unified Diff: LayoutTests/fast/css/variables/colors-test.html

Issue 16183002: Unprefix CSS Variables (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased and updated prefix test Created 7 years, 6 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/css/variables/colors-test.html
diff --git a/LayoutTests/fast/css/variables/colors-test.html b/LayoutTests/fast/css/variables/colors-test.html
index aede39d465e8fe119177cabacb45445b9f5ca0ac..e1f8895db7ff5b4361bd39e367c19a9420726e1d 100644
--- a/LayoutTests/fast/css/variables/colors-test.html
+++ b/LayoutTests/fast/css/variables/colors-test.html
@@ -1,10 +1,10 @@
<style>
body {
- -webkit-var-foreground: green;
- -webkit-var-background: rgb(255, 255, 255);
- color: -webkit-var(foreground);
+ var-foreground: green;
+ var-background: rgb(255, 255, 255);
+ color: var(foreground);
background-color: red;
- background-color: -webkit-var(background);
+ background-color: var(background);
}
</style>
This text should be green on a white background. There should be no red visible.
« no previous file with comments | « LayoutTests/fast/css/variables/calc-vw-crash.html ('k') | LayoutTests/fast/css/variables/complex-cycle.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698