Index: LayoutTests/inspector/elements/styles/style-rule-from-imported-stylesheet.html |
diff --git a/LayoutTests/inspector/elements/styles/styles-overriden-properties.html b/LayoutTests/inspector/elements/styles/style-rule-from-imported-stylesheet.html |
similarity index 59% |
copy from LayoutTests/inspector/elements/styles/styles-overriden-properties.html |
copy to LayoutTests/inspector/elements/styles/style-rule-from-imported-stylesheet.html |
index de1154841a9031a3de07da450e78ccd1e6a10ce4..528f5fb9ecd82eac74a32d6050e9b374de657661 100644 |
--- a/LayoutTests/inspector/elements/styles/styles-overriden-properties.html |
+++ b/LayoutTests/inspector/elements/styles/style-rule-from-imported-stylesheet.html |
@@ -1,20 +1,13 @@ |
<html> |
<head> |
-<style type="text/css"> |
-#main { |
- height: 100px; |
- background: #000; |
- background: #bada55; |
-} |
-</style> |
- |
+<link rel="import" href="resources/imported-stylesheet.html"/> |
<script src="../../../http/tests/inspector/inspector-test.js"></script> |
<script src="../../../http/tests/inspector/elements-test.js"></script> |
<script> |
function test() |
{ |
- InspectorTest.selectNodeAndWaitForStyles("main", step1); |
+ InspectorTest.selectNodeAndWaitForStyles("square", step1); |
function step1() |
{ |
@@ -22,16 +15,11 @@ function test() |
InspectorTest.completeTest(); |
} |
} |
- |
</script> |
</head> |
<body onload="runTest()"> |
-<p> |
-Tests that overriding shorthands within rule are visible. |
-</p> |
- |
-<div id="main"></div> |
- |
+<p>Tests that rules from imported stylesheets are correctly shown in inspector.</p> |
+<div id="square" class="square"></div> |
</body> |
</html> |