Commit Graph

2 Commits

Author SHA1 Message Date
Tim Ledbetter
5b98e94625 Tests: Fix race condition in iframe-click-after-parent-scroll test
Previously, the iframe's load event could fire during HTML parsing,
before the test had started running. We now create the iframe in JS and
append it to the document so that callbacks are executed in the correct
order.
2026-03-10 11:40:02 +01:00
Tim Ledbetter
f8d6314db6 LibWeb: Account for scroll offset in iframe mouse event coordinates
When delegating mouse events to iframes, coordinate transformations
were not accounting for scroll offsets. This caused clicks inside
iframes to be incorrectly positioned when the parent page was scrolled.
2026-01-19 06:22:18 +01:00