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

Side by Side Diff: trunk/LayoutTests/fast/css/variables/inherited-values.html

Issue 14706011: Revert 150468 "Switching CSS Variables over to RuntimeEnabledFea..." (Closed) Base URL: svn://svn.chromium.org/blink/
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
Property Changes:
Deleted: svn:mime-type
- text/html
Deleted: svn:eol-style
- LF
OLDNEW
1 <script>
2 internals.settings.setCSSVariablesEnabled(true);
3 </script>
1 <style> 4 <style>
2 body { 5 body {
3 -webkit-var-foreground: green; 6 -webkit-var-foreground: green;
4 -webkit-var-background: rgb(255, 255, 255); 7 -webkit-var-background: rgb(255, 255, 255);
5 } 8 }
6 div { 9 div {
7 color: -webkit-var(foreground); 10 color: -webkit-var(foreground);
8 background-color: red; 11 background-color: red;
9 background-color: -webkit-var(background); 12 background-color: -webkit-var(background);
10 } 13 }
11 </style> 14 </style>
12 <div> 15 <div>
13 This text should be green on a white background. There should be no red visible. 16 This text should be green on a white background. There should be no red visible.
14 </div> 17 </div>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698