1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-14 16:24:57 +00:00
serenity/Userland/Libraries/LibWeb
Aliaksandr Kalenik 9968c9f7a6 LibWeb: Fix hit-testing by excluding CSS transform from clip rect check
Transforms are applied to both clip rectangle and position, so we need
to remove the transform from clip rectangle before checking if position
falls within the clip rectangle.

In this change, the removal of transform is moved into
`Paintable::clip_rect()` that is shared between hit-testing and
painting.

This change fixes hit-testing in Discord's multifactor authentication
form.
2024-02-22 07:36:20 +01:00
..
Animations LibWeb: Add AnimationEffect::target_properties() 2024-02-22 07:31:54 +01:00
ARIA LibWeb: Return correct RoleType for composite ARIA role 2024-01-27 14:52:41 -05:00
Bindings LibWeb: Exclude [Global] interfaces from legacy platform object methods 2024-01-19 09:02:00 +01:00
Clipboard LibWeb: Format all .idl files to use four space indentation 2024-01-18 14:00:06 +01:00
Cookie LibWeb: Fail to parse cookie date when date does not exist 2024-01-07 08:01:58 -05:00
Crypto LibWeb: Implement import_key for PBKDF2 2024-01-23 14:07:06 -07:00
CSS LibWeb: Record position of Animations in global animation list 2024-02-21 19:52:35 +01:00
DOM LibWeb: Implement Document::remove_replaced_animations() 2024-02-22 07:31:54 +01:00
DOMParsing LibWeb: Add ad-hoc method for serializing CDATASection nodes to string 2024-02-19 10:42:56 +01:00
Encoding LibWeb: Port Intrinsics from DeprecatedString 2023-11-28 17:15:27 -05:00
Fetch LibWeb: Use the stream teeing methods for cloning Fetch response bodies 2024-01-29 07:21:59 +01:00
FileAPI LibWeb: Delete LegacyPlatformObject and move behavior to PlatformObject 2024-01-12 09:11:18 +01:00
Geometry LibWeb: Ensure DOMRect top, bottom, left and right handle NaN correctly 2024-02-21 19:38:17 +01:00
HighResolutionTime LibWeb: Return milliseconds from unsafe_shared_current_time() 2024-02-11 08:10:45 +01:00
HTML LibWeb: Implement Document::remove_replaced_animations() 2024-02-22 07:31:54 +01:00
Infra LibWeb: Don't crash on FormData.append() with emoji in name 2023-12-04 00:04:04 +01:00
Internals LibWeb: Allow bypassing transient activation checks for tests 2024-02-20 18:53:59 -05:00
IntersectionObserver LibWeb: Port Intrinsics from DeprecatedString 2023-11-28 17:15:27 -05:00
Layout LibWeb: Clamp scroll offset into valid range after relayout 2024-02-22 07:35:30 +01:00
Loader LibWeb: Unblock port 9000 2024-02-12 11:43:22 -07:00
MathML LibWeb: Port Intrinsics from DeprecatedString 2023-11-28 17:15:27 -05:00
MimeSniff LibWeb/MimeSniff: Add non-standard text or binary context sniffing 2024-02-02 14:34:17 -05:00
NavigationTiming LibWeb: Port Intrinsics from DeprecatedString 2023-11-28 17:15:27 -05:00
Page LibWeb: Properly round CSSPixels values in device_to_css_rect 2024-02-21 20:08:25 +01:00
Painting LibWeb: Fix hit-testing by excluding CSS transform from clip rect check 2024-02-22 07:36:20 +01:00
PerformanceTimeline LibWeb: Port Intrinsics from DeprecatedString 2023-11-28 17:15:27 -05:00
PermissionsPolicy LibWeb+LibWebView+WebContent: Add APIs to manage an autoplay allowlist 2023-04-18 16:30:02 +02:00
Platform Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
ReferrerPolicy AK: Port URL username/password from DeprecatedString to String 2023-08-13 15:03:53 -06:00
RequestIdleCallback LibWeb: Port Intrinsics from DeprecatedString 2023-11-28 17:15:27 -05:00
ResizeObserver LibWeb: Implement ResizeObserver::disconnect() 2024-02-20 10:55:10 +01:00
SecureContexts AK: Serialize URL hosts with 'concept-host-serializer' 2023-07-31 05:18:51 +02:00
Selection LibWeb: Port Intrinsics from DeprecatedString 2023-11-28 17:15:27 -05:00
SRI LibWeb: Implement integrity-metadata part of fetch algorithm 2023-04-21 20:44:47 +01:00
Streams LibWeb: Implement ReadableStreamBYOBRequest.respondWithNewView 2024-01-29 17:10:56 -05:00
SVG LibWeb: Schedule repainting from EventLoop::process() 2024-02-20 10:55:10 +01:00
UIEvents LibWeb: Add MouseEvent JavaScript constructor 2024-01-20 08:57:37 +01:00
URL Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
UserTiming LibWeb: Port Intrinsics from DeprecatedString 2023-11-28 17:15:27 -05:00
WebAssembly LibJS+LibWeb: Implement resizable ArrayBuffer support for TypedArray 2023-12-26 11:16:10 +01:00
WebAudio LibWeb: Port Intrinsics from DeprecatedString 2023-11-28 17:15:27 -05:00
WebDriver LibWeb: Set size of canvas used to take WebDriver screenshots explicitly 2024-02-21 10:10:44 +01:00
WebGL Everywhere: Prefer {:#x} over 0x{:x} in format strings 2024-02-21 17:54:38 +01:00
WebIDL LibWeb: Store Promise::wait_for_all state in a JS-heap allocated object 2024-01-19 11:47:59 +01:00
WebSockets Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
Worker LibWeb+WebContent: Spawn Worker processes from the chrome 2024-01-12 15:53:11 -07:00
XHR LibWeb: Use WebIDL integer typedefs in ProgressEvent 2024-02-06 08:35:53 +01:00
XLink LibWeb: Add Web::XLink::AttributeNames 2023-11-05 11:16:16 +00:00
XML LibWeb: Make the default XML namespace an empty Optional 2024-02-19 10:42:56 +01:00
CMakeLists.txt LibWeb: Flesh out implementation of ResizeObserver interfaces 2024-02-20 10:55:10 +01:00
Dump.cpp LibWeb: Make inline paintables own their fragments 2024-01-13 18:46:41 +01:00
Dump.h LibWeb+WebContent: Add option to dump session history of a traversable 2023-09-16 16:53:32 +02:00
Forward.h LibWeb: Add ImageBox to forwarding header 2024-02-19 11:07:30 +01:00
idl_files.cmake LibWeb: Flesh out implementation of ResizeObserver interfaces 2024-02-20 10:55:10 +01:00
Namespace.cpp LibWeb: Make Web::Namespace::Foo strings be FlyString 2023-11-04 21:28:30 +01:00
Namespace.h LibWeb: Make Web::Namespace::Foo strings be FlyString 2023-11-04 21:28:30 +01:00
PixelUnits.cpp LibWeb: Refactor int types in WebContentServer to DevicePixels 2023-12-15 17:01:16 +01:00
PixelUnits.h LibWeb: Properly round CSSPixels values in device_to_css_rect 2024-02-21 20:08:25 +01:00
TreeNode.h LibWeb: Remove all the unused functions from TreeNode 2023-08-20 05:02:59 +02:00