OLD | NEW |
1 <html> | 1 <html> |
2 <head> | 2 <head> |
3 <script type="text/javascript" src="../../../http/tests/inspector/inspector-test
.js"></script> | 3 <script type="text/javascript" src="../../../http/tests/inspector/inspector-test
.js"></script> |
4 <script> | 4 <script> |
5 function test() | 5 function test() |
6 { | 6 { |
7 var cssProperty = "box-shadow"; | 7 var cssProperty = "box-shadow"; |
8 var properties = WebInspector.CSSMetadata.cssPropertiesMetainfo.startsWith(c
ssProperty); | 8 var properties = WebInspector.CSSMetadata.cssPropertiesMetainfo.startsWith(c
ssProperty); |
9 if (properties.length) | 9 if (properties.length) |
10 InspectorTest.addResult(cssProperty + " is supported"); | 10 InspectorTest.addResult(cssProperty + " is supported"); |
11 else | 11 else |
12 InspectorTest.addResult(cssProperty + " is NOT supported"); | 12 InspectorTest.addResult(cssProperty + " is NOT supported"); |
13 var marginLonghands = WebInspector.CSSMetadata.cssPropertiesMetainfo.longhan
ds("margin"); | 13 var marginLonghands = WebInspector.CSSMetadata.cssPropertiesMetainfo.longhan
ds("margin"); |
14 marginLonghands.sort(); | 14 marginLonghands.sort(); |
15 InspectorTest.addResult("Margin longhands: " + marginLonghands.join(", ")); | 15 InspectorTest.addResult("Margin longhands: " + marginLonghands.join(", ")); |
16 InspectorTest.completeTest(); | 16 InspectorTest.completeTest(); |
17 } | 17 } |
18 </script> | 18 </script> |
19 </head> | 19 </head> |
20 <body onLoad="runTest();"> | 20 <body onLoad="runTest();"> |
21 | 21 |
22 </body> | 22 </body> |
23 </html> | 23 </html> |
OLD | NEW |