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

Side by Side Diff: LayoutTests/fast/css/variables/redefinition.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-a: red; 3 -webkit-var-a: red;
7 } 4 }
8 #a { 5 #a {
9 -webkit-var-a: green; 6 -webkit-var-a: green;
10 } 7 }
11 #b { 8 #b {
12 -webkit-var-a: blue; 9 -webkit-var-a: blue;
13 } 10 }
14 div { 11 div {
15 color: -webkit-var(a); 12 color: -webkit-var(a);
16 } 13 }
17 </style> 14 </style>
18 <div> 15 <div>
19 This text should be red. 16 This text should be red.
20 </div> 17 </div>
21 <div id="a"> 18 <div id="a">
22 This text should be green. 19 This text should be green.
23 </div> 20 </div>
24 <div id="b"> 21 <div id="b">
25 This text should be blue. 22 This text should be blue.
26 </div> 23 </div>
OLDNEW
« no previous file with comments | « LayoutTests/fast/css/variables/multi-level-cycle.html ('k') | LayoutTests/fast/css/variables/root-background-size.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698