mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-30 12:49:19 +00:00
LibWeb/HTML: Implement HTMLElement.scrollParent
Corresponds to d3effb701c
What a "fixed position container" is isn't clear to me, and we don't
seem to use that elsewhere, so I've left the steps using that as FIXMEs
for now.
There's no test coverage for this in WPT yet and I'm not confident
enough in the specific behaviour to write one myself. So, waiting on
https://github.com/web-platform-tests/wpt/issues/53214
This commit is contained in:
parent
5d5f16845c
commit
af9a227ca3
Notes:
github-actions[bot]
2025-06-17 11:39:46 +00:00
Author: https://github.com/AtkinsSJ
Commit: af9a227ca3
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/5113
3 changed files with 43 additions and 0 deletions
|
@ -105,6 +105,7 @@ public:
|
|||
int offset_width() const;
|
||||
int offset_height() const;
|
||||
GC::Ptr<Element> offset_parent() const;
|
||||
GC::Ptr<Element> scroll_parent() const;
|
||||
|
||||
bool cannot_navigate() const;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue