summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-scroll-snap/snap-after-relayout/multiple-aligned-targets/prefer-focused-nested-containers.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/css-scroll-snap/snap-after-relayout/multiple-aligned-targets/prefer-focused-nested-containers.html')
-rw-r--r--testing/web-platform/tests/css/css-scroll-snap/snap-after-relayout/multiple-aligned-targets/prefer-focused-nested-containers.html12
1 files changed, 10 insertions, 2 deletions
diff --git a/testing/web-platform/tests/css/css-scroll-snap/snap-after-relayout/multiple-aligned-targets/prefer-focused-nested-containers.html b/testing/web-platform/tests/css/css-scroll-snap/snap-after-relayout/multiple-aligned-targets/prefer-focused-nested-containers.html
index a6a087316f..4330022b27 100644
--- a/testing/web-platform/tests/css/css-scroll-snap/snap-after-relayout/multiple-aligned-targets/prefer-focused-nested-containers.html
+++ b/testing/web-platform/tests/css/css-scroll-snap/snap-after-relayout/multiple-aligned-targets/prefer-focused-nested-containers.html
@@ -97,11 +97,19 @@
focusAndAssert(lefttarget1, /*preventScroll=*/true);
await runScrollSnapSelectionVerificationTest(t, outercontainer,
- [leftcontainer, rightcontainer], leftcontainer, "y");
+ /*aligned_elements_x=*/[],
+ /*aligned_elements_y=*/[leftcontainer, rightcontainer],
+ /*axis=*/"y",
+ /*expected_target_x=*/null,
+ /*expected_target_x=*/leftcontainer);
focusAndAssert(righttarget1, /*preventScroll=*/true);
await runScrollSnapSelectionVerificationTest(t, outercontainer,
- [leftcontainer, rightcontainer], rightcontainer, "y");
+ /*aligned_elements_x=*/[],
+ /*aligned_elements_y=*/[leftcontainer, rightcontainer],
+ /*axis=*/"y",
+ /*expected_target_x=*/null,
+ /*expected_target_x=*/rightcontainer);
}, "Snap container prefers focused nested snap target.");
}
</script>