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

Side by Side Diff: LayoutTests/fast/css/variables/inherited-values.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 } 5 }
9 div { 6 div {
10 color: -webkit-var(foreground); 7 color: -webkit-var(foreground);
11 background-color: red; 8 background-color: red;
12 background-color: -webkit-var(background); 9 background-color: -webkit-var(background);
13 } 10 }
14 </style> 11 </style>
15 <div> 12 <div>
16 This text should be green on a white background. There should be no red visible. 13 This text should be green on a white background. There should be no red visible.
17 </div> 14 </div>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698