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

Unified Diff: LayoutTests/fast/css/getComputedStyle/getComputedStyle-exceptions.html

Issue 765123002: Sync the getComputedStyle() IDL with the spec (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: simplify Created 6 years 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/fast/css/getComputedStyle/getComputedStyle-exceptions-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/css/getComputedStyle/getComputedStyle-exceptions.html
diff --git a/LayoutTests/fast/css/getComputedStyle/computed-style-non-element-parameter.html b/LayoutTests/fast/css/getComputedStyle/getComputedStyle-exceptions.html
similarity index 52%
copy from LayoutTests/fast/css/getComputedStyle/computed-style-non-element-parameter.html
copy to LayoutTests/fast/css/getComputedStyle/getComputedStyle-exceptions.html
index 587df1a33f39a9a6d2b6dacfa865cb4526e0ec70..8cb5f24ee987982291bd00ed509426a8b27489a8 100644
--- a/LayoutTests/fast/css/getComputedStyle/computed-style-non-element-parameter.html
+++ b/LayoutTests/fast/css/getComputedStyle/getComputedStyle-exceptions.html
@@ -1,6 +1,14 @@
+<!doctype html>
+<html>
+<head>
<script src="../../../resources/js-test.js"></script>
+</head>
+<body>
<script>
+shouldThrow("getComputedStyle()");
+shouldThrow("getComputedStyle(document)");
shouldThrow("getComputedStyle(null)");
shouldThrow("getComputedStyle(undefined)");
-shouldThrow("getComputedStyle(document.createTextNode(\"foo\"))");
</script>
+</body>
+</html>
« no previous file with comments | « no previous file | LayoutTests/fast/css/getComputedStyle/getComputedStyle-exceptions-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698