1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 13:38:11 +00:00
serenity/Userland/Libraries/LibWeb
Andreas Kling 90b66533d0 LibWeb: Don't hit test all child stacking contexts twice
We're supposed to hit test positive z-index stacking contexts first,
and negative z-index stacking contexts later. Instead, we were hit
testing all stacking contexts both times.

This made hit testing unbearably slow on some websites.

While we're here, also add an extra comment about why stacking contexts
are traversed in reverse order. It tripped me up while looking at this,
so I'm sure it could trip someone else up too.

Regressed in 44057c9482.
2022-10-07 12:10:59 +02:00
..
Bindings LibWeb: Implement two module related host hooks 2022-10-06 16:41:36 +02:00
Cookie Everywhere: Add sv suffix to strings relying on StringView(char const*) 2022-07-12 23:11:35 +02:00
Crypto LibWeb: Remove unecessary dependence on Window from assorted classes 2022-10-01 21:05:32 +01:00
CSS LibWeb: Clean up grid track placement shorthand parser 2022-10-06 21:16:01 +02:00
DOM LibWeb: Generate a BlockContainer box for display:inline-flex 2022-10-06 21:08:50 +02:00
DOMParsing LibWeb: Remove unecessary dependence on Window from DOM and WebIDL 2022-10-01 21:05:32 +01:00
Encoding LibWeb: Remove unecessary dependence on Window from assorted classes 2022-10-01 21:05:32 +01:00
Fetch BindingsGenerator+LibWeb: Pass a VM to static IDL-based functions 2022-10-06 21:45:07 +01:00
FileAPI LibWeb: Add FileList from the FileAPI spec 2022-10-04 22:05:14 +02:00
Geometry LibWeb: Implement DOMPoint/DOMPointReadOnly.fromPoint() 2022-10-06 21:45:07 +01:00
HighResolutionTime LibWeb: Rename HighResolutionTime/{CoarsenTime => TimeOrigin}.cpp/h 2022-10-05 09:12:59 +01:00
HTML LibWeb: Use DOM manipulation task source for <script> src parsing errors 2022-10-06 22:21:17 +01:00
Infra LibWeb: Run 'UTF-8 decode' in parse_json_bytes_to_javascript_value() 2022-10-04 20:05:09 +01:00
IntersectionObserver LibWeb: Remove unecessary dependence on Window from assorted classes 2022-10-01 21:05:32 +01:00
Layout Base+LibWeb: Make sure grid positions don't cause out of bounds 2022-10-06 21:16:01 +02:00
Loader LibWeb: Make Fetch::Infrastructure::{Request,Response} ref-counted 2022-10-05 09:14:49 +01:00
MimeSniff LibWeb: Implement more close to spec javascript mime type checking 2022-10-06 16:41:36 +02:00
NavigationTiming LibWeb: Remove unecessary dependence on Window from assorted classes 2022-10-01 21:05:32 +01:00
Page LibWeb: Implement <input type=file> behavior 2022-10-04 22:05:14 +02:00
Painting LibWeb: Don't hit test all child stacking contexts twice 2022-10-07 12:10:59 +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: Rename HighResolutionTime/{CoarsenTime => TimeOrigin}.cpp/h 2022-10-05 09:12:59 +01:00
ResizeObserver LibWeb: Remove unecessary dependence on Window from assorted classes 2022-10-01 21:05:32 +01:00
Scripts Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
Selection LibWeb: Remove unecessary dependence on Window from assorted classes 2022-10-01 21:05:32 +01:00
Streams LibWeb: Fix ReadableStream's WEB_PLATFORM_OBJECT() class name 2022-10-04 20:05:09 +01:00
SVG LibWeb: Cleanup unecessary uses and includes of HTML::Window 2022-10-01 21:05:32 +01:00
Tests Everywhere: Rename WrapperGenerator to BindingsGenerator 2022-09-21 23:06:08 +01:00
UIEvents LibWeb: Cleanup unecessary uses and includes of HTML::Window 2022-10-01 21:05:32 +01:00
URL LibWeb: Remove unecessary dependence on Window from assorted classes 2022-10-01 21:05:32 +01:00
WebAssembly LibWeb: Cleanup unecessary uses and includes of HTML::Window 2022-10-01 21:05:32 +01:00
WebGL LibWeb: Remove unecessary dependence on Window from WebGL and WebSocket 2022-10-01 21:05:32 +01:00
WebIDL LibJS: Make PromiseCapability GC-allocated 2022-10-02 23:02:27 +01:00
WebSockets LibWeb: Remove unecessary dependence on Window from WebGL and WebSocket 2022-10-01 21:05:32 +01:00
XHR LibWeb: Remove redundant JS::Value() calls in XMLHttpRequest::response() 2022-10-04 20:05:09 +01:00
XML LibWeb: Rename HighResolutionTime/{CoarsenTime => TimeOrigin}.cpp/h 2022-10-05 09:12:59 +01:00
CMakeLists.txt LibWeb: Remove duplicate reference to SVGElement.cpp 2022-10-06 21:45:07 +01:00
Dump.cpp LibWeb: Use Layout::Node::display() everywhere 2022-10-06 16:25:26 +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: Move Web prototypes and constructors to new Intrinsics object 2022-10-01 21:05:32 +01:00
idl_files.cmake LibWeb: Add FileList from the FileAPI spec 2022-10-04 22:05:14 +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
TreeNode.h Everywhere: Run clang-format 2022-04-01 21:24:45 +01:00