OLD | NEW |
(Empty) | |
| 1 <html> |
| 2 <head> |
| 3 <script src="../../../http/tests/inspector/inspector-test.js"></script> |
| 4 <script src="../../../http/tests/inspector/elements-test.js"></script> |
| 5 <script> |
| 6 |
| 7 function test() |
| 8 { |
| 9 var colorAwareProperties = ["bAckground-ColoR", "COloR", "Border-coLoR", "bo
rder-right-color", "BOX-SHADOW"]; |
| 10 for (var i = 0; i < colorAwareProperties.length; ++i) { |
| 11 var isColorAware = WebInspector.CSSMetadata.isColorAwareProperty(colorAw
areProperties[i]); |
| 12 InspectorTest.addResult(colorAwareProperties[i] + (isColorAware ? " is"
: " is NOT") + " color aware"); |
| 13 } |
| 14 InspectorTest.completeTest(); |
| 15 } |
| 16 </script> |
| 17 </head> |
| 18 |
| 19 <body onload="runTest()"> |
| 20 <p> |
| 21 Tests that color-related mix-cased CSS properties are actually color aware. |
| 22 </p> |
| 23 </body> |
| 24 </html> |
OLD | NEW |