1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 22:48:11 +00:00
serenity/Userland/Libraries/LibWeb
Andreas Kling e7370443f2 LibWeb: Make non-finite CSS lengths resolve to "auto"
When we're performing max-content layout (a separate throwaway layout
pass that only exists to discover the intrinsic max-content size of
a specific box), we act as if the containing block has infinite width.

This allows an infinite length to propagate into the layout system,
which is fine, but at some point it needs to be turned into a finite
number or some loop conditions will not make sense and we can hang
indefinitely (e.g in the flexible lengths resolution algorithm.)

We fix this by making Length::resolved() turn non-finite values into
an "auto" length.
2022-07-06 20:31:19 +02:00
..
Bindings LibWeb: Implement XMLSerializer 2022-07-05 21:25:05 +02:00
Cookie Userland: Remove a few gratuitous IPC namespace qualifiers 2022-04-03 15:18:20 +01:00
Crypto Everywhere: Run clang-format 2022-04-01 21:24:45 +01:00
CSS LibWeb: Make non-finite CSS lengths resolve to "auto" 2022-07-06 20:31:19 +02:00
DOM LibWeb: Trigger a relayout after setting Element.innerHTML 2022-07-05 21:27:37 +02:00
DOMParsing AK: Use an enum instead of a bool for String::replace(all_occurences) 2022-07-06 11:12:45 +02:00
Encoding LibWeb: Implement a very basic version of TextDecoder 2022-02-16 22:48:32 +03:30
Fetch LibWeb: Implement spec-compliant MIME type struct and parser 2022-02-12 12:53:28 +01:00
Geometry LibWeb: Add imports to all IDL files that depend on others 2022-02-16 22:48:32 +03:30
HighResolutionTime Libraries: Use default constructors/destructors in LibWeb 2022-03-17 17:23:49 +00:00
HTML LibWeb: Implement XMLSerializer 2022-07-05 21:25:05 +02:00
IntersectionObserver LibWeb: Use the specification defined types in IntersectionObserverInit 2022-04-02 13:13:37 +03:00
Layout LibWeb: Cache flex item main sizes to avoid relayout during same cycle 2022-07-06 00:22:42 +02:00
Loader LibWeb: Add timeout_callback to ResourceLoader::load() 2022-07-03 13:26:32 +02:00
MimeSniff Everywhere: Run clang-format 2022-04-01 21:24:45 +01:00
NavigationTiming LibWeb: Use long long where it was replaced with long 2022-06-06 22:34:45 +01:00
Page LibWeb: Simplify some WeakPtr assignments 2022-07-04 22:30:59 +02:00
Painting LibWeb: Support adding a border-radius to <iframe> elements 2022-07-04 23:09:06 +02:00
RequestIdleCallback LibWeb: Implement the infrastructure necessary for requestIdleCallback 2022-04-02 23:52:25 +01:00
ResizeObserver LibWeb: Add the ResizeObserverBoxOptions IDL enum 2022-04-02 13:13:37 +03:00
Scripts Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
Selection LibWeb: Add imports to all IDL files that depend on others 2022-02-16 22:48:32 +03:30
SVG LibWeb: Move CSS Parser into new Web::CSS::Parser namespace 2022-04-12 23:03:46 +02:00
Tests LibWeb: Capture <script> element's node document on execution 2021-12-21 13:50:00 -08:00
UIEvents LibWeb: Dispatch dblclick UI Events on double click 2022-06-20 12:55:50 +01:00
URL AK: Use an enum instead of a bool for String::replace(all_occurences) 2022-07-06 11:12:45 +02:00
WebAssembly AK: Return Optional<T&> from HashMap<..., T>::get() 2022-04-04 12:48:31 +02:00
WebGL LibWeb/WebGL: Add WebGLRenderingContextBase.canvas 2022-06-27 22:54:41 +01:00
WebSockets LibWeb: Abstract the LibProtocol WebSockets connection 2022-05-15 12:17:36 +02:00
XHR LibWeb: Wire up XHR::ontimeout event 2022-07-03 13:26:32 +02:00
XML Everywhere: Run clang-format 2022-04-01 21:24:45 +01:00
CMakeLists.txt LibWeb: Implement XMLSerializer 2022-07-05 21:25:05 +02:00
Dump.cpp LibWeb: Support CSSRule.type 2022-04-11 21:10:08 +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 XMLSerializer 2022-07-05 21:25:05 +02:00
idl_files.cmake LibWeb: Implement XMLSerializer 2022-07-05 21:25:05 +02:00
ImageDecoding.cpp LibWeb: Abstract the image decoding via Web::ImageDecoding::Decoder 2022-05-15 12:17:36 +02:00
ImageDecoding.h LibWeb: Abstract the image decoding via Web::ImageDecoding::Decoder 2022-05-15 12:17:36 +02: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
Origin.h Everywhere: Run clang-format 2022-04-01 21:24:45 +01:00
TreeNode.h Everywhere: Run clang-format 2022-04-01 21:24:45 +01:00