Closed Bug 1518626 Opened 5 years ago Closed 5 years ago

Add more tests for scroll anchoring

Categories

(Core :: Layout: Scrolling and Overflow, enhancement, P3)

enhancement

Tracking

()

RESOLVED FIXED
mozilla66
Tracking Status
firefox66 --- fixed

People

(Reporter: rhunt, Assigned: rhunt)

References

(Blocks 1 open bug)

Details

Attachments

(3 files)

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
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
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.

Attachment

General

Created:
Updated:
Size: