Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(288)

Side by Side Diff: LayoutTests/inspector/elements/styles-4/supported-css-properties.html

Issue 1158883003: DevTools: shard inspector/elements tests for faster execution. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698