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

Side by Side Diff: LayoutTests/fast/css/variables/use-before-defined.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 div { 2 div {
6 color: -webkit-var(a); 3 color: -webkit-var(a);
7 -webkit-var-a: -webkit-var(b); 4 -webkit-var-a: -webkit-var(b);
8 } 5 }
9 body { 6 body {
10 -webkit-var-b: -webkit-var(c); 7 -webkit-var-b: -webkit-var(c);
11 -webkit-var-c: green; 8 -webkit-var-c: green;
12 } 9 }
13 </style> 10 </style>
14 <div> 11 <div>
15 This text should be green on a white background. There should be no red visible. 12 This text should be green on a white background. There should be no red visible.
16 </div> 13 </div>
OLDNEW
« no previous file with comments | « LayoutTests/fast/css/variables/undefined.html ('k') | LayoutTests/fast/css/variables/var-filter.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698