OLD | NEW |
| 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> |
OLD | NEW |