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

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

Issue 1158883003: DevTools: shard inspector/elements tests for faster execution. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 7 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
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
deleted file mode 100644
index 24274d125adcbfd0c78247be3ada10692a38228e..0000000000000000000000000000000000000000
--- a/LayoutTests/inspector/elements/styles/styles-computed-trace.html
+++ /dev/null
@@ -1,80 +0,0 @@
-<html>
-<head>
-<style>
-body {
- background-color: rgb(100, 0, 0);
- font-family: Arial;
-}
-
-div {
- text-decoration: underline;
-}
-
-#id1 {
- background-color: green;
- font-family: Times;
-}
-
-#id1 {
- background-color: black;
- font-family: Courier;
-}
-
-#id1 {
- background: gray;
-}
-
-#id2 {
- background-color: blue;
- font-family: Courier;
- text-decoration: invalidvalue;
-}
-
-</style>
-<script src="../../../http/tests/inspector/inspector-test.js"></script>
-<script src="../../../http/tests/inspector/elements-test.js"></script>
-<script>
-
-function test()
-{
- InspectorTest.selectNodeAndWaitForStylesWithComputed("id1", step1);
-
- function step1()
- {
- InspectorTest.addResult("==== Computed style for ID1 ====");
- InspectorTest.dumpSelectedElementStyles(false, true);
- InspectorTest.selectNodeAndWaitForStylesWithComputed("id2", step2);
- }
-
- function step2()
- {
- InspectorTest.addResult("==== Computed style for ID2 ====");
- InspectorTest.dumpSelectedElementStyles(false, true);
- InspectorTest.selectNodeAndWaitForStylesWithComputed("id3", step3);
- }
-
- function step3()
- {
- InspectorTest.addResult("==== Style for ID3 ====");
- // The button[hidden] style specifies "display: none", which should not be /-- overloaded --/.
- InspectorTest.dumpSelectedElementStyles(true, true);
- InspectorTest.completeTest();
- }
-
-}
-</script>
-</head>
-
-<body onload="runTest()">
-<p>
-Tests that computed styles expand and allow tracing to style rules.
-</p>
-
-<div id="id1">
-<div id="id2">
-</div>
-<button id="id3" hidden />
-</div>
-
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698