Chromium Code Reviews| Index: LayoutTests/inspector/elements/styles/styles-computed-trace.html |
| diff --git a/LayoutTests/inspector/elements/styles/styles-computed-trace.html b/LayoutTests/inspector/elements/styles/styles-computed-trace.html |
| index 24274d125adcbfd0c78247be3ada10692a38228e..5bcd7e8b44912786b26acc1453fd19065d7e5e88 100644 |
| --- a/LayoutTests/inspector/elements/styles/styles-computed-trace.html |
| +++ b/LayoutTests/inspector/elements/styles/styles-computed-trace.html |
| @@ -30,6 +30,11 @@ div { |
| text-decoration: invalidvalue; |
| } |
| +#id4 { |
|
apavlov
2014/03/21 16:50:39
This is not the right place to test the new functi
|
| + display: grid; |
| + grid-template-areas: "a"; |
| +} |
| + |
| </style> |
| <script src="../../../http/tests/inspector/inspector-test.js"></script> |
| <script src="../../../http/tests/inspector/elements-test.js"></script> |
| @@ -58,9 +63,15 @@ function test() |
| InspectorTest.addResult("==== Style for ID3 ===="); |
| // The button[hidden] style specifies "display: none", which should not be /-- overloaded --/. |
| InspectorTest.dumpSelectedElementStyles(true, true); |
| - InspectorTest.completeTest(); |
| + InspectorTest.selectNodeAndWaitForStylesWithComputed("id4", step4); |
| } |
| + function step4() |
| + { |
| + InspectorTest.addResult("==== Style for ID4 (Grid Layout properties ===="); |
| + InspectorTest.dumpSelectedElementStyles(false, true); |
| + InspectorTest.completeTest(); |
| + } |
| } |
| </script> |
| </head> |
| @@ -75,6 +86,7 @@ Tests that computed styles expand and allow tracing to style rules. |
| </div> |
| <button id="id3" hidden /> |
| </div> |
| +<div id="id4"/> |
| </body> |
| </html> |