Closed
Bug 1096181
Opened 10 years ago
Closed 10 years ago
Descendants of scrollable elements with 'perspective' get incorrect overflow areas when the scroll position changes
Categories
(Core :: Layout, defect)
Core
Layout
Tracking
()
RESOLVED
FIXED
mozilla36
People
(Reporter: roc, Assigned: roc)
Details
Attachments
(1 file)
3.25 KB,
patch
|
mattwoodrow
:
review+
lsblakk
:
approval-mozilla-aurora+
|
Details | Diff | Splinter Review |
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.
Assignee | ||
Comment 1•10 years ago
|
||
Attachment #8519760 -
Flags: review?(matt.woodrow)
Updated•10 years ago
|
Attachment #8519760 -
Flags: review?(matt.woodrow) → review+
Assignee | ||
Comment 2•10 years ago
|
||
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.
Assignee | ||
Comment 3•10 years ago
|
||
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla36
Assignee | ||
Comment 5•10 years ago
|
||
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?
Updated•10 years ago
|
status-firefox35:
--- → affected
status-firefox36:
--- → fixed
Updated•10 years ago
|
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:
https://hg.mozilla.org/releases/mozilla-aurora/rev/187e9fa68b67
https://hg.mozilla.org/releases/mozilla-beta/rev/c486cd17bebb
Comment 7•10 years ago
|
||
You need to log in
before you can comment on or make changes to this bug.
Description
•