| Index: third_party/WebKit/LayoutTests/external/wpt/cssom-view/scrollIntoView-smooth.html
|
| diff --git a/third_party/WebKit/LayoutTests/external/wpt/cssom-view/scrollIntoView-smooth.html b/third_party/WebKit/LayoutTests/external/wpt/cssom-view/scrollIntoView-smooth.html
|
| index 7a8b6a78c1474e9d185cfcd28237d94eeebb55a5..8799b8bd7a7871c0ed4188a4336e32ec8655ff57 100644
|
| --- a/third_party/WebKit/LayoutTests/external/wpt/cssom-view/scrollIntoView-smooth.html
|
| +++ b/third_party/WebKit/LayoutTests/external/wpt/cssom-view/scrollIntoView-smooth.html
|
| @@ -47,7 +47,7 @@ promise_test(t => {
|
| var expected_y = content.offsetTop + content_height - window_height;
|
| assert_not_equals(window.scrollX, expected_x);
|
| assert_not_equals(window.scrollY, expected_y);
|
| - content.scrollIntoView({behavior: "smooth", block: "nearest", inlinePosition:
|
| + content.scrollIntoView({behavior: "smooth", block: "nearest", inline:
|
| "nearest"});
|
| return waitForScrollEnd().then(() => {
|
| assert_approx_equals(window.scrollX, expected_x, 1);
|
| @@ -61,7 +61,7 @@ promise_test(t => {
|
| var expected_y = content.offsetTop;
|
| assert_not_equals(window.scrollX, expected_x);
|
| assert_not_equals(window.scrollY, expected_y);
|
| - content.scrollIntoView({behavior: "smooth", block: "start", inlinePosition:
|
| + content.scrollIntoView({behavior: "smooth", block: "start", inline:
|
| "start"});
|
| return waitForScrollEnd().then(() => {
|
| assert_approx_equals(window.scrollX, expected_x, 1);
|
| @@ -75,7 +75,7 @@ promise_test(t => {
|
| var expected_y = content.offsetTop + (content_height - window_height) / 2;
|
| assert_not_equals(window.scrollX, expected_x);
|
| assert_not_equals(window.scrollY, expected_y);
|
| - content.scrollIntoView({behavior: "smooth", block: "center", inlinePosition:
|
| + content.scrollIntoView({behavior: "smooth", block: "center", inline:
|
| "center"});
|
| return waitForScrollEnd().then(() => {
|
| assert_approx_equals(window.scrollX, expected_x, 1);
|
| @@ -89,7 +89,7 @@ promise_test(t => {
|
| var expected_y = content.offsetTop + content_height - window_height;
|
| assert_not_equals(window.scrollX, expected_x);
|
| assert_not_equals(window.scrollY, expected_y);
|
| - content.scrollIntoView({behavior: "smooth", block: "end", inlinePosition:
|
| + content.scrollIntoView({behavior: "smooth", block: "end", inline:
|
| "end"});
|
| return waitForScrollEnd().then(() => {
|
| assert_approx_equals(window.scrollX, expected_x, 1);
|
|
|