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

Unified Diff: third_party/WebKit/LayoutTests/external/wpt/cssom-view/scrollIntoView-smooth.html

Issue 2939393002: Change ScrollIntoViewOptions::inlinePostion to inline (Closed)
Patch Set: Add a todo Created 3 years, 6 months 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: 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);

Powered by Google App Engine
This is Rietveld 408576698