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

Side by Side Diff: LayoutTests/fast/css/variables/variable-chain.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-c: green; 3 -webkit-var-c: green;
7 -webkit-var-b: -webkit-var(c); 4 -webkit-var-b: -webkit-var(c);
8 } 5 }
9 div { 6 div {
10 color: red; 7 color: red;
11 -webkit-var-a: -webkit-var(b); 8 -webkit-var-a: -webkit-var(b);
12 color: -webkit-var(a); 9 color: -webkit-var(a);
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