servo/tests/wpt/meta/focus
Martin Robinson c63311af02
script: Remove absolute positioning workaround from scrollIntoView implementation (#39441)
This isn't needed as the border box query already takes into account the
containing block chain. Instead, consistently calculate the new
scroll position for a scroller relative to its current scroll offset.

In addition, fix a small bug where the border of a scroll container was
considered part of scrollport.

Testing: A new WPT test is added.

Signed-off-by: Martin Robinson <mrobinson@igalia.com>
Co-authored-by: Oriol Brufau <obrufau@igalia.com>
2025-09-23 10:10:00 +00:00
..
activeelement-after-calling-window-focus.sub.html.ini Enable more test directories and preferences (#34952) 2025-01-17 02:41:09 +00:00
activeelement-after-focusing-different-site-iframe-contentwindow.html.ini Enable more test directories and preferences (#34952) 2025-01-17 02:41:09 +00:00
activeelement-after-focusing-same-site-iframe-contentwindow.html.ini Improve inter-document focus handling (#36649) 2025-04-30 04:37:53 +00:00
activeelement-after-immediately-focusing-different-site-iframe-contentwindow.html.ini Improve inter-document focus handling (#36649) 2025-04-30 04:37:53 +00:00
activeelement-after-immediately-focusing-same-site-iframe-contentwindow.html.ini Improve inter-document focus handling (#36649) 2025-04-30 04:37:53 +00:00
focus-contenteditable-element-in-iframe-scroll-into-view.html.ini Sync WPT with upstream (02-06-2025) (#37212) 2025-06-02 06:06:09 +00:00
focus-event-after-focusing-iframes.html.ini Enable more test directories and preferences (#34952) 2025-01-17 02:41:09 +00:00
focus-event-after-iframe-gets-focus.html.ini Enable more test directories and preferences (#34952) 2025-01-17 02:41:09 +00:00
focus-large-element-in-overflow-hidden-container.html.ini script: Remove absolute positioning workaround from scrollIntoView implementation (#39441) 2025-09-23 10:10:00 +00:00
focus-restoration-in-different-site-iframes-window.html.ini Improve inter-document focus handling (#36649) 2025-04-30 04:37:53 +00:00
focus-restoration-in-different-site-iframes.html.ini Enable more test directories and preferences (#34952) 2025-01-17 02:41:09 +00:00
focus-restoration-in-same-site-iframes-window.html.ini Improve inter-document focus handling (#36649) 2025-04-30 04:37:53 +00:00
focus-sync-when-blur.html.ini Sync WPT with upstream (13-06-2025) (#37436) 2025-06-13 14:15:36 +00:00
hasfocus-different-site.html.ini Enable more test directories and preferences (#34952) 2025-01-17 02:41:09 +00:00
hasfocus-same-site.html.ini Enable more test directories and preferences (#34952) 2025-01-17 02:41:09 +00:00
iframe-activeelement-after-focusing-out-iframes.html.ini Enable more test directories and preferences (#34952) 2025-01-17 02:41:09 +00:00
iframe-contentwindow-focus-with-different-site-intermediate-frame.html.ini Enable more test directories and preferences (#34952) 2025-01-17 02:41:09 +00:00
iframe-contentwindow-focus-with-same-as-top-intermediate-frame.html.ini Enable more test directories and preferences (#34952) 2025-01-17 02:41:09 +00:00
iframe-focus-with-different-site-intermediate-frame.html.ini Enable more test directories and preferences (#34952) 2025-01-17 02:41:09 +00:00
iframe-focus-with-same-as-top-intermediate-frame.html.ini Enable more test directories and preferences (#34952) 2025-01-17 02:41:09 +00:00
nested-focus-within-iframe-focus-event.html.ini Sync WPT with upstream (20-04-2025) (#36618) 2025-04-20 01:47:50 +00:00