1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2026-01-12 23:31:01 +00:00
serenity/Userland/Libraries/LibWeb
Andreas Kling f161e20e57 LibWeb: Make FormattingContext::run() take available space as input
Instead of formatting contexts flailing around to figure out from the
"inside" how much space is available on the "outside", we should
provide the amount of available space in both axes as an input to run().

This basically means that when something creates a nested formatting
context, the parent context is responsible for telling the nested context
how much space is available for layout. This information is provided
immediately when invoking run().

Note that this commit doesn't pass accurate values in all cases yet.
This first step just makes it build, and passes available values in some
cases where getting them was trivial.
2022-09-29 18:33:41 +02:00
..
Bindings AK+Everywhere: Replace "protocol" with "scheme" url helpers 2022-09-29 09:39:04 +01:00
Cookie Everywhere: Add sv suffix to strings relying on StringView(char const*) 2022-07-12 23:11:35 +02:00
Crypto LibWeb: Move DOMException from DOM/ to WebIDL/ 2022-09-25 19:13:31 +01:00
CSS LibWeb: Add CSS::Size::make_px(float) convenience helper 2022-09-29 18:33:41 +02:00
DOM LibWeb: Make FormattingContext::run() take available space as input 2022-09-29 18:33:41 +02:00
DOMParsing LibWeb: Move DOMException from DOM/ to WebIDL/ 2022-09-25 19:13:31 +01:00
Encoding LibWeb: Move DOMException from DOM/ to WebIDL/ 2022-09-25 19:13:31 +01:00
Fetch LibWeb: Implement '5.5. Response class' from the Fetch API :^) 2022-09-27 14:56:17 +01:00
FileAPI LibWeb: Move ExceptionOr from DOM/ to WebIDL/ 2022-09-25 19:13:31 +01:00
Geometry LibWeb: Remove WRAPPER_HACK() macro 2022-09-21 21:12:24 +01:00
HighResolutionTime LibWeb: Remove WRAPPER_HACK() macro 2022-09-21 21:12:24 +01:00
HTML LibWeb: Rename an origin's protocol to origin scheme 2022-09-29 09:39:04 +01:00
Infra LibWeb: Implement JS value <-> JSON parsing/serialization AOs 2022-09-27 14:56:17 +01:00
IntersectionObserver LibWeb: Move CallbackType from Bindings/ to WebIDL/ 2022-09-24 19:31:39 +01:00
Layout LibWeb: Make FormattingContext::run() take available space as input 2022-09-29 18:33:41 +02:00
Loader AK+Everywhere: Replace "protocol" with "scheme" url helpers 2022-09-29 09:39:04 +01:00
MimeSniff LibWeb: In MimeType serialization, put just one \ in front of each " 2022-09-27 15:47:54 +01:00
NavigationTiming LibWeb: Remove WRAPPER_HACK() macro 2022-09-21 21:12:24 +01:00
Page LibWeb: Use zoom cursor for CSS zoom-in/zoom-out cursors 2022-09-28 23:58:26 +01:00
Painting LibWeb: Fix destination bitmap edge clip case in transform painting 2022-09-26 01:38:30 +02:00
Platform LibWeb+WebContent: Move Serenity EventLoop and Font plugins into LibWeb 2022-09-21 20:42:36 +01:00
ReferrerPolicy LibWeb: Add referrer policy to Fetch::Infrastructure::Request 2022-09-27 14:56:17 +01:00
RequestIdleCallback LibWeb: Remove WRAPPER_HACK() macro 2022-09-21 21:12:24 +01:00
ResizeObserver LibWeb: Move CallbackType from Bindings/ to WebIDL/ 2022-09-24 19:31:39 +01:00
Scripts Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
Selection LibWeb: Remove WRAPPER_HACK() macro 2022-09-21 21:12:24 +01:00
Streams LibWeb: Move ExceptionOr from DOM/ to WebIDL/ 2022-09-25 19:13:31 +01:00
SVG LibWeb: Move ExceptionOr from DOM/ to WebIDL/ 2022-09-25 19:13:31 +01:00
Tests Everywhere: Rename WrapperGenerator to BindingsGenerator 2022-09-21 23:06:08 +01:00
UIEvents LibWeb: Remove WRAPPER_HACK() macro 2022-09-21 21:12:24 +01:00
URL LibWeb: Move ExceptionOr from DOM/ to WebIDL/ 2022-09-25 19:13:31 +01:00
WebAssembly LibWeb+LibJS: Make the EventTarget hierarchy (incl. DOM) GC-allocated 2022-09-06 00:27:09 +02:00
WebGL LibWeb: Remove WRAPPER_HACK() macro 2022-09-21 21:12:24 +01:00
WebIDL LibWeb: Add WebIDL::ExceptionOr constructor for wrapped ValueType 2022-09-27 14:56:17 +01:00
WebSockets AK+Everywhere: Replace "protocol" with "scheme" url helpers 2022-09-29 09:39:04 +01:00
XHR AK+Everywhere: Replace "protocol" with "scheme" url helpers 2022-09-29 09:39:04 +01:00
XML LibWeb: Remove now-unnecessary JS::Handles in HTML task capture lists 2022-09-24 12:23:29 +02:00
CMakeLists.txt LibWeb: Implement '5.5. Response class' from the Fetch API :^) 2022-09-27 14:56:17 +01:00
Dump.cpp LibWeb: Cache lowercased names in SimpleSelector 2022-09-15 16:16:56 +02:00
Dump.h LibWeb: Implement initial CSSFontFaceRule and FontFace classes 2022-03-28 22:25:25 +02:00
FontCache.cpp LibGfx: Move other font-related files to LibGfx/Font/ 2022-04-09 23:48:18 +02:00
FontCache.h LibGfx: Move other font-related files to LibGfx/Font/ 2022-04-09 23:48:18 +02:00
Forward.h LibWeb: Implement '5.5. Response class' from the Fetch API :^) 2022-09-27 14:56:17 +01:00
idl_files.cmake LibWeb: Implement '5.5. Response class' from the Fetch API :^) 2022-09-27 14:56:17 +01:00
Namespace.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Namespace.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
TreeNode.h Everywhere: Run clang-format 2022-04-01 21:24:45 +01:00