Add more tests for scroll anchoring

RESOLVED FIXED in Firefox 66

Status

()

enhancement
P3
normal
RESOLVED FIXED
6 months ago
6 months ago

People

(Reporter: rhunt, Assigned: rhunt)

Tracking

(Blocks 1 bug)

unspecified
mozilla66
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(firefox66 fixed)

Details

Attachments

(3 attachments)

We've found some additional cases that could use test coverage in the implementation of scroll anchoring.

I don't want to block the initial landing of scroll anchoring on adding them, so I'm filing this bug for them.

This commit adds two tests around anchor selection.

The first tests that 'position: sticky' is an invalid subtree, which is new to
the spec. The second tests that implementations respect 'overflow-anchor' on
the table element, and don't get confused with the boxes generated by tables.
This commit adds a test that implementations can anchor to node that's inside
of a fragmented node.

Depends on D16274
No longer depends on: 1305957
Depends on: 1519839
Priority: -- → P3

This shouldn't block release of scroll anchoring.

No longer blocks: scroll-anchoring-release
This is a regression test to catch the scrolling issue we experienced
in Gmail.

Depends on D16275
Pushed by rhunt@eqrion.net:
https://hg.mozilla.org/integration/mozilla-inbound/rev/0db1ecc6676e
Add scroll-anchoring tests for excluding certain elements from anchor selection. r=dholbert
https://hg.mozilla.org/integration/mozilla-inbound/rev/f38628954fbc
Add scroll-anchoring test for anchor in fragmented <div>. r=dholbert
https://hg.mozilla.org/integration/mozilla-inbound/rev/05d0f0893f36
Add test for negative scrollable overflow rect clamping. r=dholbert
Status: NEW → RESOLVED
Closed: 6 months ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla66
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/14964 for changes under testing/web-platform/tests
You need to log in before you can comment on or make changes to this bug.