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

Unified Diff: LayoutTests/inspector/elements/styles/styles-computed-trace.html

Issue 200263003: [CSS Grid Layout] the "grid-template-areas" is not identified as computable property. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Added layout test case. Created 6 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | LayoutTests/inspector/elements/styles/styles-computed-trace-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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>
« no previous file with comments | « no previous file | LayoutTests/inspector/elements/styles/styles-computed-trace-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698