Open Bug 1664906 Opened 4 years ago Updated 2 years ago

APZ display port expiry causes incorrect clip

Categories

(Core :: Panning and Zooming, defect, P3)

x86_64
Linux
defect

Tracking

()

People

(Reporter: jimb, Unassigned)

References

Details

Attachments

(3 files, 1 obsolete file)

If a position:absolute element whose parent has a clip-path is scrolled off the top of an ancestor's scrollport, the element is correctly clipped to both the given clip-path region and the scrollport until the APZ display port expires, at which point it pops up outside the scrollport, with only the clip-path region applied. The whole shebang needs to be enclosed in an iframe.

edit: steps to reproduce in comment 5.

Attached file HTML page for example. (obsolete) —
Attachment #9175623 - Attachment is obsolete: true

To see the bug, visit the outer HTML document attachment (just follow the link from bugzilla), and scroll the inner scrollport to the point that the blue fragment is as wide as possible.

Then wait 15 seconds. A larger portion of a blue circle should appear, partially outside the scrollport. It should be clipped to within the scrollport.

I think the 15 seconds are apz.displayport_expiry_ms, which would suggest that the bug occurs when the displayport expires.

Severity: -- → S3
Priority: -- → P3
See Also: → 1504865

Similar to bug 1607096 comment 2, this bug only affects non-Fission mode.

Jim, out of curiosity, do you recall how you arrived at this testcase? Was it reduced from a website using this pattern in the wild, or just sort of constructed while exploring edge cases?

Flags: needinfo?(jimb)

The latter: constructed while exploring edge cases.

Flags: needinfo?(jimb)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: