1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-06-01 11:28:11 +00:00
serenity/Userland/Services/WebContent
Andreas Kling 27d4ac316f LibWeb: Introduce simple scrollable overflow, size ICB to viewport
Per spec, the initial containing block (ICB) should have the size of the
viewport. We have only done this for the width until now, since we had
no way to express scrollable overflow.

This patch adds Layout::Box::m_overflow_data, an optional struct that
can hold on to information about a box's overflow. Then we have BFC
set the ICB up with some scrollable overflow instead of sizing it to fit
its content vertically.

This fixes a number of broken layouts where correctness depends on
having the appropriate ICB height.
2021-10-14 23:22:59 +02:00
..
ClientConnection.cpp Browser: Check m_console_client is non-null before dereferencing it 2021-10-01 01:17:44 +02:00
ClientConnection.h LibWeb: Fire "keyup" events as well :^) 2021-09-28 16:56:24 +02:00
CMakeLists.txt WebContent: Implement ConsoleGlobalObject which proxies to WindowObject 2021-09-06 18:20:26 +02:00
ConsoleGlobalObject.cpp LibJS: Convert to_object() to ThrowCompletionOr 2021-10-13 09:55:10 +01:00
ConsoleGlobalObject.h LibJS: Convert internal_own_property_keys() to ThrowCompletionOr 2021-09-29 23:49:53 +01:00
Documentation.txt Everywhere: Remove unnecessary whitespace at the end of some lines. 2021-03-08 09:20:53 +01:00
Forward.h WebContent: Implement ConsoleGlobalObject which proxies to WindowObject 2021-09-06 18:20:26 +02:00
main.cpp Services: Rename ProtocolServer to RequestServer 2021-04-25 19:04:34 +02:00
PageHost.cpp LibWeb: Introduce simple scrollable overflow, size ICB to viewport 2021-10-14 23:22:59 +02:00
PageHost.h WebContent: Coalesce paint invalidations to avoid spamming client 2021-09-28 22:53:59 +02:00
WebContentClient.ipc LibWeb+WebContent: Add WebContentClient::did_request_scroll_to() call 2021-09-11 15:51:05 +01:00
WebContentConsoleClient.cpp LibWeb: Fix that $0 was no longer accessible 2021-10-03 17:42:05 +02:00
WebContentConsoleClient.h WebContent: Store messages in WebContentConsoleClient 2021-09-06 18:20:26 +02:00
WebContentServer.ipc LibWeb: Fire "keyup" events as well :^) 2021-09-28 16:56:24 +02:00