Index: LayoutTests/inspector/elements/styles-4/styles-properties-overload.html |
diff --git a/LayoutTests/inspector/elements/styles-4/styles-properties-overload.html b/LayoutTests/inspector/elements/styles-4/styles-properties-overload.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..ece9ff840abcfdea0592b71b838a01ff385b786b |
--- /dev/null |
+++ b/LayoutTests/inspector/elements/styles-4/styles-properties-overload.html |
@@ -0,0 +1,48 @@ |
+<html> |
+<head> |
+<script src="../../../http/tests/inspector/inspector-test.js"></script> |
+<script src="../../../http/tests/inspector/elements-test.js"></script> |
+<style> |
+div { |
+ margin: 1px; |
+ border: 1px solid black; |
+} |
+ |
+#inspect { |
+ margin-top: 1px; |
+ margin-left: 1px; |
+ margin-right: 1px; |
+ margin-bottom: 1px; |
+ font: 10px Arial; |
+} |
+ |
+.container { |
+ font-size: 10px; |
+ border: 0; |
+} |
+ |
+</style> |
+ |
+<script> |
+ |
+function test() |
+{ |
+ InspectorTest.selectNodeAndWaitForStyles("inspect", step2); |
+ |
+ function step2() |
+ { |
+ InspectorTest.dumpSelectedElementStyles(true, false, false); |
+ InspectorTest.completeTest(); |
+ } |
+} |
+ |
+</script> |
+</head> |
+ |
+<body onload="runTest()"> |
+<p>Verifies that inspector figures out overloaded properties correctly.</p> |
+<div class="container"> |
+ <div id="inspect">Text.</div> |
+</div> |
+</body> |
+</html> |