diff options
author | ajuma@chromium.org <ajuma@chromium.org> | 2014-12-08 20:02:01 +0000 |
---|---|---|
committer | ajuma@chromium.org <ajuma@chromium.org> | 2014-12-08 20:02:01 +0000 |
commit | d74d18675c698866dbe158ac2093412323a7e3f3 (patch) | |
tree | 11ea955fc6117dc91dabc1adecae4fb07f5524ec /third_party/WebKit/LayoutTests/fast/scroll-behavior/overflow-scroll-scrollLeft-expected.txt | |
parent | c5de1fb4827143bbf473f176029ad64aee65e49f (diff) | |
download | chromium_src-d74d18675c698866dbe158ac2093412323a7e3f3.zip chromium_src-d74d18675c698866dbe158ac2093412323a7e3f3.tar.gz chromium_src-d74d18675c698866dbe158ac2093412323a7e3f3.tar.bz2 |
Update Element API for CSSOM smooth scrolling to match the spec
This updates the Element API for smooth scrolling to match changes to
the CSSOM View spec. Previously, the spec overloaded the setters for
scrollTop and scrollLeft, allowing these to take a ScrollOptions
dictionary. Now, the spec instead adds scroll, scrollTo, and scrollBy
methods that each take either a pair of doubles or a single
ScrollToOptions dictionary (just like the corresponding methods on
Window).
Smooth scrolling is behing a runtime flag.
Spec: http://dev.w3.org/csswg/cssom-view/#extensions-to-the-element-interface
BUG=243871
Review URL: https://codereview.chromium.org/782793002
git-svn-id: svn://svn.chromium.org/blink/trunk@186725 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Diffstat (limited to 'third_party/WebKit/LayoutTests/fast/scroll-behavior/overflow-scroll-scrollLeft-expected.txt')
-rw-r--r-- | third_party/WebKit/LayoutTests/fast/scroll-behavior/overflow-scroll-scrollLeft-expected.txt | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/third_party/WebKit/LayoutTests/fast/scroll-behavior/overflow-scroll-scrollLeft-expected.txt b/third_party/WebKit/LayoutTests/fast/scroll-behavior/overflow-scroll-scrollLeft-expected.txt index 89a4a27..74b0e9f 100644 --- a/third_party/WebKit/LayoutTests/fast/scroll-behavior/overflow-scroll-scrollLeft-expected.txt +++ b/third_party/WebKit/LayoutTests/fast/scroll-behavior/overflow-scroll-scrollLeft-expected.txt @@ -2,16 +2,10 @@ Test that setting scrollLeft on an overflow:scroll element works with both scrol This is a testharness.js-based test. PASS Scroll x:1, y:0, smooth:false -PASS Scroll x:2, y:0, smooth:false -PASS Scroll x:3, y:0, smooth:false PASS Scroll x:4, y:0, smooth:false -FAIL Scroll x:10, y:0, smooth:true assert_equals: expected "4, 0" but got "10, 0" -FAIL Scroll x:20, y:0, smooth:true assert_equals: expected "10, 0" but got "20, 0" -FAIL Scroll x:30, y:0, smooth:true assert_equals: expected "20, 0" but got "30, 0" -FAIL Scroll x:40, y:0, smooth:true assert_equals: expected "30, 0" but got "40, 0" +FAIL Scroll x:20, y:0, smooth:true assert_equals: expected "4, 0" but got "20, 0" +FAIL Scroll x:40, y:0, smooth:true assert_equals: expected "20, 0" but got "40, 0" FAIL Scroll x:4000, y:0, smooth:true assert_equals: expected "40, 0" but got "4000, 0" -FAIL Scroll x:15, y:0, smooth:true assert_equals: expected "4000, 0" but got "15, 0" -FAIL Scroll x:4100, y:0, smooth:true assert_equals: expected "15, 0" but got "4100, 0" -FAIL Scroll x:10, y:0, smooth:true assert_equals: expected "4100, 0" but got "10, 0" +FAIL Scroll x:10, y:0, smooth:true assert_equals: expected "4000, 0" but got "10, 0" Harness: the test ran to completion. |