1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 08:08:12 +00:00

LibWeb: Implement basic "scroll" events at the document level

This commit is contained in:
Andreas Kling 2022-09-17 17:40:26 +02:00
parent 07c4bf03b5
commit da451467b1
6 changed files with 65 additions and 1 deletions

View file

@ -169,7 +169,10 @@ void EventLoop::process()
document.run_the_resize_steps();
});
// FIXME: 8. For each fully active Document in docs, run the scroll steps for that Document, passing in now as the timestamp. [CSSOMVIEW]
// 8. For each fully active Document in docs, run the scroll steps for that Document, passing in now as the timestamp. [CSSOMVIEW]
for_each_fully_active_document_in_docs([&](DOM::Document& document) {
document.run_the_scroll_steps();
});
// 9. For each fully active Document in docs, evaluate media queries and report changes for that Document, passing in now as the timestamp. [CSSOMVIEW]
for_each_fully_active_document_in_docs([&](DOM::Document& document) {