| Index: third_party/WebKit/LayoutTests/inspector/elements/styles-3/style-autocomplete.html
|
| diff --git a/third_party/WebKit/LayoutTests/inspector/elements/styles-3/style-autocomplete.html b/third_party/WebKit/LayoutTests/inspector/elements/styles-3/style-autocomplete.html
|
| index fc538ad8f68dd3809162fc824fa3079e8daf43d6..17f4bedf2733a72564903c590f2762cf589be346 100644
|
| --- a/third_party/WebKit/LayoutTests/inspector/elements/styles-3/style-autocomplete.html
|
| +++ b/third_party/WebKit/LayoutTests/inspector/elements/styles-3/style-autocomplete.html
|
| @@ -2,6 +2,12 @@
|
| <head>
|
| <script src="../../../http/tests/inspector/inspector-test.js"></script>
|
| <script src="../../../http/tests/inspector/elements-test.js"></script>
|
| +<style>
|
| +body {
|
| + --red-color: red;
|
| + --blue-color: blue;
|
| +}
|
| +</style>
|
| <script>
|
|
|
| function test()
|
| @@ -73,6 +79,16 @@ function test()
|
| function testValueSubstring(next)
|
| {
|
| testAgainstGolden(valuePromptFor("color"), "blue", false, ["blue", "darkblue", "lightblue"], ["darkred", "yellow", "initial", "inherit"], next);
|
| + },
|
| +
|
| + function testNameVariables(next)
|
| + {
|
| + testAgainstGolden(namePrompt, "", true, ["--red-color", "--blue-color"], [], next);
|
| + },
|
| +
|
| + function testValueVariables(next)
|
| + {
|
| + testAgainstGolden(valuePromptFor("color"), "var(", true, ["--red-color)", "--blue-color)"], ["width"], next);
|
| }
|
| ]);
|
|
|
|
|