ladybird/Userland/Libraries/LibWeb
Andreas Kling 67b3af8025 LibWeb: Avoid layout in Element.client{Width,Height} if possible
When querying the HTML element (in strict mode) or the BODY element
(in quirks mode), we return the viewport dimensions.

Layout doesn't change the size of the viewport, so we can actually
reorder the steps here and avoid performing layout in some cases.

This removes a bunch of synchronous layouts on pages with reCAPTCHA.
2022-09-09 15:20:10 +02:00
..
Bindings LibJS+LibWeb: Spin event loop via VM::CustomData abstraction 2022-09-08 00:13:39 +02:00
Cookie Everywhere: Add sv suffix to strings relying on StringView(char const*) 2022-07-12 23:11:35 +02:00
Crypto LibWeb: Stop using Bindings::wrap() in a bunch of places 2022-09-06 00:27:09 +02:00
CSS LibWeb: Keep CSS sheets sorted in document tree order 2022-09-09 15:20:10 +02:00
DOM LibWeb: Avoid layout in Element.client{Width,Height} if possible 2022-09-09 15:20:10 +02:00
DOMParsing LibWeb: Make DOMException GC-allocated 2022-09-06 00:27:09 +02:00
Encoding LibWeb: Remove now-unused Bindings::Wrapper class 2022-09-06 00:27:09 +02:00
Fetch LibWeb: Make DOMException GC-allocated 2022-09-06 00:27:09 +02:00
FileAPI LibWeb: Make DOMException GC-allocated 2022-09-06 00:27:09 +02:00
Geometry LibWeb: Make DOMRect, DOMRectReadOnly and DOMRectList GC-allocated 2022-09-06 00:27:09 +02:00
HighResolutionTime LibWeb: Remove now-unused Bindings::Wrappable class 2022-09-06 00:27:09 +02:00
HTML LibWeb+WebContent: Add abstraction layer for event loop and timers 2022-09-07 20:30:31 +02:00
Infra LibWeb: Add 'byte-{lower,upper}case' operations from the Infra spec 2022-07-14 00:42:26 +01:00
IntersectionObserver LibWeb: Make IntersectionObserver GC-allocated 2022-09-06 00:27:09 +02:00
Layout LibWeb: Don't collapse vertical margins between floats 2022-09-09 15:20:10 +02:00
Loader LibWeb+WebContent: Add abstraction layer for event loop and timers 2022-09-07 20:30:31 +02:00
MimeSniff LibWeb: Move Fetch infra into the Web::Fetch::Infrastructure namespace 2022-07-19 00:27:35 +01:00
NavigationTiming LibWeb: Remove now-unused Bindings::Wrappable class 2022-09-06 00:27:09 +02:00
Page LibWeb+LibJS: Make the EventTarget hierarchy (incl. DOM) GC-allocated 2022-09-06 00:27:09 +02:00
Painting LibWeb: Remove done TODO and fix typo 2022-08-23 13:27:02 +01:00
Platform LibWeb+WebContent: Add abstraction layer for generic font families 2022-09-08 11:57:03 +02:00
RequestIdleCallback LibWeb: Make IdleDeadline GC-allocated 2022-09-06 00:27:09 +02:00
ResizeObserver LibWeb: Make ResizeObserver GC-allocated 2022-09-06 00:27:09 +02:00
Scripts
Selection LibWeb: Make Selection GC-allocated 2022-09-06 00:27:09 +02:00
SVG LibWeb: Make DOMPoint and DOMPointReadOnly GC-allocated 2022-09-06 00:27:09 +02:00
Tests
UIEvents LibWeb: Remove the NoInstanceWrapper extended IDL attribute 2022-09-06 00:27:09 +02:00
URL LibWeb: Remove now-unused Bindings::Wrappable class 2022-09-06 00:27:09 +02:00
WebAssembly LibWeb+LibJS: Make the EventTarget hierarchy (incl. DOM) GC-allocated 2022-09-06 00:27:09 +02:00
WebGL LibWeb: Use the WRAPPER_HACK() macro instead of hand-coding wrap() 2022-09-06 00:27:09 +02:00
WebSockets LibWeb: Make DOMException GC-allocated 2022-09-06 00:27:09 +02:00
XHR LibWeb: Remove the NoInstanceWrapper extended IDL attribute 2022-09-06 00:27:09 +02:00
XML LibWeb+LibJS: Make the EventTarget hierarchy (incl. DOM) GC-allocated 2022-09-06 00:27:09 +02:00
CMakeLists.txt LibWeb+WebContent: Add abstraction layer for generic font families 2022-09-08 11:57:03 +02:00
Dump.cpp LibWeb: Show iframe URLs in layout tree dumps 2022-08-05 12:46:40 +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+WebContent: Add abstraction layer for event loop and timers 2022-09-07 20:30:31 +02:00
idl_files.cmake LibWeb: Remove the NO_INSTANCE option now that all wrappers are gone 2022-09-06 00:27:09 +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
Namespace.h
TreeNode.h Everywhere: Run clang-format 2022-04-01 21:24:45 +01:00