Index: LayoutTests/fast/css/getComputedStyle/getComputedStyle-all.html |
diff --git a/LayoutTests/fast/css/getComputedStyle/getComputedStyle-all.html b/LayoutTests/fast/css/getComputedStyle/getComputedStyle-all.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..b9fa0101fce3b72ca966b08cedf811da9af704bb |
--- /dev/null |
+++ b/LayoutTests/fast/css/getComputedStyle/getComputedStyle-all.html |
@@ -0,0 +1,24 @@ |
+<!DOCTYPE html> |
+<script src="../../../resources/js-test.js"></script> |
+<style> |
+#initial { all: initial; } |
+#inherit { all: inherit; } |
+#invalid { all: green; } |
+#notOnlyInitial { all: initial; color: green; } |
+#notOnlyInherit { all: inherit; color: green; } |
+</style> |
+<div id="initial"></div> |
+<div id="inherit"></div> |
+<div id="invalid"></div> |
+<div id="notOnlyInitial"></div> |
+<div id="notOnlyInherit"></div> |
+<pre id="console"></pre> |
rune
2014/06/13 13:32:53
This element is not required.
tasak
2014/06/16 07:07:28
Done.
|
+<script> |
+description('Test calling getPropertyValue on computed styles for all shorthand property.'); |
+ |
+shouldBeEqualToString('getComputedStyle(document.getElementById("initial")).all', ""); |
+shouldBeEqualToString('getComputedStyle(document.getElementById("inherit")).all', ""); |
+shouldBeEqualToString('getComputedStyle(document.getElementById("invalid")).all', ""); |
+shouldBeEqualToString('getComputedStyle(document.getElementById("notOnlyInitial")).all', ""); |
+shouldBeEqualToString('getComputedStyle(document.getElementById("notOnlyInherit")).all', ""); |
+</script> |