OLD | NEW |
1 <html> | 1 <html> |
2 <head> | 2 <head> |
3 <script> | |
4 internals.settings.setCSSVariablesEnabled(true); | |
5 </script> | |
6 <style> | 3 <style> |
7 #inspected { | 4 #inspected { |
8 -webkit-var-a: green; | 5 -webkit-var-a: green; |
9 color: -webkit-var(a); | 6 color: -webkit-var(a); |
10 } | 7 } |
11 | 8 |
12 </style> | 9 </style> |
13 <script src="../../../http/tests/inspector/inspector-test.js"></script> | 10 <script src="../../../http/tests/inspector/inspector-test.js"></script> |
14 <script src="../../../http/tests/inspector/elements-test.js"></script> | 11 <script src="../../../http/tests/inspector/elements-test.js"></script> |
15 <script> | 12 <script> |
(...skipping 15 matching lines...) Expand all Loading... |
31 | 28 |
32 <body onload="runTest()"> | 29 <body onload="runTest()"> |
33 <p> | 30 <p> |
34 Tests that webkit css variables can be loaded correctly. | 31 Tests that webkit css variables can be loaded correctly. |
35 </p> | 32 </p> |
36 | 33 |
37 <div id="inspected">Text</div> | 34 <div id="inspected">Text</div> |
38 | 35 |
39 </body> | 36 </body> |
40 </html> | 37 </html> |
OLD | NEW |