Closed Bug 981708 Opened 11 years ago Closed 11 years ago

ScrollLayer Items not always grouped together depending on Z-index

Categories

(Core :: Layout, defect, P1)

ARM
Gonk (Firefox OS)
defect

Tracking

()

RESOLVED DUPLICATE of bug 967844
1.4 S5 (11apr)

People

(Reporter: mchang, Assigned: mchang)

Details

(Keywords: perf, Whiteboard: [c=handeye p= s= u=])

Attachments

(1 file)

Based on bug 972675, scrolling breaks with APZ if we don't group ScrollLayer items together. The fix in bug 972675 was to fix the z-index so that ScrollLayer items became grouped together. This bug is to fix the platform so that ScrollLayer items are automatically grouped together and the app doesn't have to fiddle with z-indexes.
Component: Panning and Zooming → Layout
So if we group together all scroll layer items we will be changing their stacking order (z indexes) from what the page specified. I don't think we can do that in general. The plan to fix this properly in the slightly longer term is to let the scrolled content go into separate layers and then scroll those layers together. Bug 967844 was filed to cover this, although it doesn't have many specifics yet. In the short term we will have to go with workarounds from content.
If there's no more pending changes in layout that can help here I'm just going to dupe this over to the longer-term fix and put some details there.
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: