mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-09 09:34:57 +09:00
LibWeb/DOM: Add container option to scrollIntoView options
Corresponds to https://github.com/w3c/csswg-drafts/pull/11673 , with the addition of the fixes in https://github.com/w3c/csswg-drafts/pull/11701
This commit is contained in:
parent
0a9c66ef07
commit
29d5eda02d
Notes:
github-actions[bot]
2025-02-12 21:09:14 +00:00
Author: https://github.com/AtkinsSJ
Commit: 29d5eda02d
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/3553
3 changed files with 201 additions and 144 deletions
|
@ -51,6 +51,7 @@ struct GetHTMLOptions {
|
|||
struct ScrollIntoViewOptions : public HTML::ScrollOptions {
|
||||
Bindings::ScrollLogicalPosition block { Bindings::ScrollLogicalPosition::Start };
|
||||
Bindings::ScrollLogicalPosition inline_ { Bindings::ScrollLogicalPosition::Nearest };
|
||||
Bindings::ScrollIntoViewContainer container { Bindings::ScrollIntoViewContainer::All };
|
||||
};
|
||||
|
||||
// https://drafts.csswg.org/cssom-view-1/#dictdef-checkvisibilityoptions
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue