OLD | NEW |
| (Empty) |
1 <style> | |
2 #test1 { -webkit-background-composite: highlight; } | |
3 #test2 { -webkit-background-composite: invalid; } | |
4 </style> | |
5 Tests that highlight is treated the same as an invalid value for a composite ope
ration:<br> | |
6 <div id="result"></div> | |
7 <span id="test1"></span> | |
8 <span id="test2"></span> | |
9 <script> | |
10 value1 = window.getComputedStyle(document.getElementById('test1')).webkitBackgro
undComposite; | |
11 value2 = window.getComputedStyle(document.getElementById('test2')).webkitBackgro
undComposite; | |
12 result.innerText = value1 === value2 ? "PASS" : "FAIL"; | |
13 if (window.testRunner) | |
14 testRunner.dumpAsText(); | |
15 </script> | |
OLD | NEW |