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

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

Issue 14987004: Switching CSS Variables over to RuntimeEnabledFeatures (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 <script>
2 internals.settings.setCSSVariablesEnabled(true);
3 </script>
4 <style> 1 <style>
5 body { 2 body {
6 -webkit-var-foreground: green; 3 -webkit-var-foreground: green;
7 -webkit-var-background: rgb(255, 255, 255); 4 -webkit-var-background: rgb(255, 255, 255);
8 color: -webkit-var(foreground); 5 color: -webkit-var(foreground);
9 background-color: red; 6 background-color: red;
10 background-color: -webkit-var(background); 7 background-color: -webkit-var(background);
11 } 8 }
12 </style> 9 </style>
13 This text should be green on a white background. There should be no red visible. 10 This text should be green on a white background. There should be no red visible.
OLDNEW
« no previous file with comments | « LayoutTests/fast/css/variables/case-insensitive.html ('k') | LayoutTests/fast/css/variables/complex-cycle.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698