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

Unified Diff: LayoutTests/fast/dom/Element/scrollTop-scrollLeft-setters-expected.txt

Issue 782793002: Update Element API for CSSOM smooth scrolling to match the spec (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Address review comments 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
Index: LayoutTests/fast/dom/Element/scrollTop-scrollLeft-setters-expected.txt
diff --git a/LayoutTests/fast/dom/Element/scrollTop-scrollLeft-setters-expected.txt b/LayoutTests/fast/dom/Element/scrollTop-scrollLeft-setters-expected.txt
deleted file mode 100644
index c9887c22b5ab4b538261b24aeda764f582b4e40d..0000000000000000000000000000000000000000
--- a/LayoutTests/fast/dom/Element/scrollTop-scrollLeft-setters-expected.txt
+++ /dev/null
@@ -1,55 +0,0 @@
-This test makes sure setting scrollLeft or scrollTop to an invalid value throws an exception.
-
-On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-
-
-
-scrollLeft Tests
-
-Testing - setting scrollLeft to a valid value
-PASS element.scrollLeft = 32 did not throw exception.
-PASS element.scrollLeft = 32.1 did not throw exception.
-PASS element.scrollLeft = "string" did not throw exception.
-PASS element.scrollLeft = null did not throw exception.
-PASS element.scrollLeft = undefined did not throw exception.
-PASS element.scrollLeft = Infinity did not throw exception.
-PASS element.scrollLeft = NaN did not throw exception.
-PASS element.scrollLeft = { x: 42 } did not throw exception.
-PASS element.scrollLeft = { x: 42, behavior: "auto" } did not throw exception.
-PASS element.scrollLeft = { x: 42, behavior: "instant" } did not throw exception.
-PASS element.scrollLeft = { x: 42, behavior: "smooth" } did not throw exception.
-Testing - setting scrollLeft to an invalid value
-PASS element.scrollLeft = { } threw exception TypeError: Failed to set the 'scrollLeft' property on 'Element': ScrollOptionsHorizontal must include an 'x' member..
-PASS element.scrollLeft = { x: 42, behavior: "" } threw exception TypeError: Failed to set the 'scrollLeft' property on 'Element': The ScrollBehavior provided is invalid..
-PASS element.scrollLeft = { x: 42, behavior: "abcd" } threw exception TypeError: Failed to set the 'scrollLeft' property on 'Element': The ScrollBehavior provided is invalid..
-PASS element.scrollLeft = { behavior: "abcd" } threw exception TypeError: Failed to set the 'scrollLeft' property on 'Element': The ScrollBehavior provided is invalid..
-PASS element.scrollLeft = { behavior: "smooth" } threw exception TypeError: Failed to set the 'scrollLeft' property on 'Element': ScrollOptionsHorizontal must include an 'x' member..
-PASS element.scrollLeft = { behavior: "instant" } threw exception TypeError: Failed to set the 'scrollLeft' property on 'Element': ScrollOptionsHorizontal must include an 'x' member..
-PASS element.scrollLeft = { behavior: "smooth" } threw exception TypeError: Failed to set the 'scrollLeft' property on 'Element': ScrollOptionsHorizontal must include an 'x' member..
-
-scrollTop Tests
-
-Testing - setting scrollTop to a valid value
-PASS element.scrollTop = 32 did not throw exception.
-PASS element.scrollTop = 32.1 did not throw exception.
-PASS element.scrollTop = "string" did not throw exception.
-PASS element.scrollTop = null did not throw exception.
-PASS element.scrollTop = undefined did not throw exception.
-PASS element.scrollTop = Infinity did not throw exception.
-PASS element.scrollTop = NaN did not throw exception.
-PASS element.scrollTop = { y: 42 } did not throw exception.
-PASS element.scrollTop = { y: 42, behavior: "auto" } did not throw exception.
-PASS element.scrollTop = { y: 42, behavior: "instant" } did not throw exception.
-PASS element.scrollTop = { y: 42, behavior: "smooth" } did not throw exception.
-Testing - setting scrollTop to an invalid value
-PASS element.scrollTop = { } threw exception TypeError: Failed to set the 'scrollTop' property on 'Element': ScrollOptionsVertical must include a 'y' member..
-PASS element.scrollTop = { y: 42, behavior: "" } threw exception TypeError: Failed to set the 'scrollTop' property on 'Element': The ScrollBehavior provided is invalid..
-PASS element.scrollTop = { y: 42, behavior: "abcd" } threw exception TypeError: Failed to set the 'scrollTop' property on 'Element': The ScrollBehavior provided is invalid..
-PASS element.scrollTop = { behavior: "abcd" } threw exception TypeError: Failed to set the 'scrollTop' property on 'Element': The ScrollBehavior provided is invalid..
-PASS element.scrollTop = { behavior: "smooth" } threw exception TypeError: Failed to set the 'scrollTop' property on 'Element': ScrollOptionsVertical must include a 'y' member..
-PASS element.scrollTop = { behavior: "instant" } threw exception TypeError: Failed to set the 'scrollTop' property on 'Element': ScrollOptionsVertical must include a 'y' member..
-PASS element.scrollTop = { behavior: "smooth" } threw exception TypeError: Failed to set the 'scrollTop' property on 'Element': ScrollOptionsVertical must include a 'y' member..
-PASS successfullyParsed is true
-
-TEST COMPLETE
-This box should force the container div to have a scrollable area to test.

Powered by Google App Engine
This is Rietveld 408576698