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

Side by Side Diff: LayoutTests/inspector/elements/styles/style-autocomplete.html

Issue 376803002: [DevTools] Color values should be case insensitive while suggestions should be case aware (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 5 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
OLDNEW
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
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
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>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698