Open Bug 1960755 Opened 14 days ago Updated 5 days ago

Incorrect rendering result if we scroll before calling startViewTranistion()

Categories

(Core :: CSS Parsing and Computation, defect)

defect

Tracking

()

People

(Reporter: boris, Unassigned)

References

(Blocks 2 open bugs)

Details

(Whiteboard: [viewtransitions:triage])

Attachments

(3 files)

Attached file testcase

When I was checking this test, snapshot-containing-block-static.html, I noticed the target element has some weird behavior after we do scrolling.

If we don't call scrollTo() before startViewTransition(), everything looks normal. However, if we scroll a little bit, and then start the view transition, the rendering result of target element looks incorrect. It seems like we use the incorrect rect to take the snapshot of it, or maybe other issues?

Steps to reproduce:

  1. Run the testcase

The expected result:
we should see a 100x100 green rectangle.

The actual result:
I saw a 100x50 (or 100x45, the height looks like less than 50px) green rectangle.

Whiteboard: [viewtransitions:triage]
Attached image Firefox Nightly
Blocks: 1957569
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: