Index: third_party/WebKit/Source/core/frame/ScrollIntoViewOptions.idl |
diff --git a/third_party/WebKit/Source/core/frame/ScrollIntoViewOptions.idl b/third_party/WebKit/Source/core/frame/ScrollIntoViewOptions.idl |
new file mode 100644 |
index 0000000000000000000000000000000000000000..49a2c8312bc98bec13626d6b66dc21d20e655bd6 |
--- /dev/null |
+++ b/third_party/WebKit/Source/core/frame/ScrollIntoViewOptions.idl |
@@ -0,0 +1,6 @@ |
+enum ScrollLogicalPosition { "start", "center", "end", "nearest" }; |
+ |
+dictionary ScrollIntoViewOptions : ScrollOptions { |
+ ScrollLogicalPosition block = "center"; |
+ ScrollLogicalPosition inlinePosition = "center"; |
+}; |