Closed Bug 1096181 Opened 8 years ago Closed 8 years ago

Descendants of scrollable elements with 'perspective' get incorrect overflow areas when the scroll position changes


(Core :: Layout, defect)

Not set



Tracking Status
firefox35 --- fixed
firefox36 --- fixed


(Reporter: roc, Assigned: roc)



(1 file)

The transform on the child of a scrollable element with 'perspective' may be dependent on the scroll position. When the element is scrolled, the transform may need to be updated, but it isn't.
Attachment #8519760 - Flags: review?(matt.woodrow) → review+
Actually there's an edge case not handled here: updating the overflow areas of the descendants could cause the overflow area of the scrolled frame to shrink, which we're not handling. And that could change the scroll position so I think there's actually a dependency loop in CSS :-(

But we probably should check this in anyway.
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla36
Comment on attachment 8519760 [details] [diff] [review]
Recompute overflow areas of transformeparent element with perspective is scrolled

Approval Request Comment
[Feature/regressing bug #]: none
[User impact if declined]: incorrect rendering when scrolling in certain sites that use preserve-3d
[Describe test coverage new/current, TBPL]: some automated tests
[Risks and why]: I was contacted by a Web developer who's hitting this bug in the wild. The patch is very low risk so getting a fix out six weeks earlier would be good.
[String/UUID change made/needed]: none
Attachment #8519760 - Flags: approval-mozilla-aurora?
Attachment #8519760 - Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
I just landed the **reftest manifest changes only** from this bug on aurora and beta, because those changes actually belonged in either bug 1097437 or bug 1092842, which were just landed in both places:
You need to log in before you can comment on or make changes to this bug.