Test List
I believe the purpose of prefer-inner-target.html is to test this part of the spec;
4. For each list of block and inline:
3. For each box in list:
1. Remove any box from list which is an ancestor of box.
The test file name implies it, but the test does not have any nested scroll snap target boxes, all snap targets are siblings.
nested-supercedes-common-to-both-axes.html is also testing a similar DOM structure.
I wrote a proposal change in https://bugzilla.mozilla.org/show_bug.cgi?id=1880436 (you can directly see the change in https://phabricator.services.mozilla.com/D288285) to match the spec definition.
Note that with the proposal change the test fails on Chromium.
@flackr @DavMila
Rationale
No response
Test List
I believe the purpose of prefer-inner-target.html is to test this part of the spec;
The test file name implies it, but the test does not have any nested scroll snap target boxes, all snap targets are siblings.
nested-supercedes-common-to-both-axes.html is also testing a similar DOM structure.
I wrote a proposal change in https://bugzilla.mozilla.org/show_bug.cgi?id=1880436 (you can directly see the change in https://phabricator.services.mozilla.com/D288285) to match the spec definition.
Note that with the proposal change the test fails on Chromium.
@flackr @DavMila
Rationale
No response