OLD | NEW |
1 <html> | 1 <html> |
2 <head> | 2 <head> |
3 <script src="../../../http/tests/inspector/inspector-test.js"></script> | 3 <script src="../../../http/tests/inspector/inspector-test.js"></script> |
4 <script src="../../../http/tests/inspector/elements-test.js"></script> | 4 <script src="../../../http/tests/inspector/elements-test.js"></script> |
5 <script> | 5 <script> |
6 | 6 |
7 function test() | 7 function test() |
8 { | 8 { |
9 WebInspector.inspectorView.showPanel("elements"); | 9 WebInspector.inspectorView.showPanel("elements"); |
10 | 10 |
(...skipping 21 matching lines...) Expand all Loading... |
32 testAgainstGolden(namePrompt, "w", false, ["width"], [], next); | 32 testAgainstGolden(namePrompt, "w", false, ["width"], [], next); |
33 }, | 33 }, |
34 | 34 |
35 function testEmptyValue(next) | 35 function testEmptyValue(next) |
36 { | 36 { |
37 testAgainstGolden(valuePrompt, "", false, ["aliceblue", "red", "inhe
rit"], [], next); | 37 testAgainstGolden(valuePrompt, "", false, ["aliceblue", "red", "inhe
rit"], [], next); |
38 }, | 38 }, |
39 | 39 |
40 function testValueR(next) | 40 function testValueR(next) |
41 { | 41 { |
42 testAgainstGolden(valuePrompt, "R", false, ["red", "rosybrown"], ["a
liceblue", "inherit"], next); | 42 testAgainstGolden(valuePrompt, "R", false, ["RED", "ROSYBROWN"], ["a
liceblue", "inherit"], next); |
43 }, | 43 }, |
44 | 44 |
45 function testValueWithParenthesis(next) | 45 function testValueWithParenthesis(next) |
46 { | 46 { |
47 testAgainstGolden(valuePrompt, "saturate(0%)", false, [], ["inherit"
], next); | 47 testAgainstGolden(valuePrompt, "saturate(0%)", false, [], ["inherit"
], next); |
48 }, | 48 }, |
49 | 49 |
50 function testValuePrefixed(next) | 50 function testValuePrefixed(next) |
51 { | 51 { |
52 testAgainstGolden(valuePromptFor("-webkit-transform"), "t", false, [
"translate", "translateY", "translate3d"], ["initial", "inherit"], next); | 52 testAgainstGolden(valuePromptFor("-webkit-transform"), "t", false, [
"translate", "translateY", "translate3d"], ["initial", "inherit"], next); |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
93 } | 93 } |
94 </script> | 94 </script> |
95 </head> | 95 </head> |
96 | 96 |
97 <body onload="runTest()"> | 97 <body onload="runTest()"> |
98 <p> | 98 <p> |
99 Tests that autocompletions are computed correctly when editing the Styles pane. | 99 Tests that autocompletions are computed correctly when editing the Styles pane. |
100 </p> | 100 </p> |
101 </body> | 101 </body> |
102 </html> | 102 </html> |
OLD | NEW |