Closed Bug 943619 Opened 11 years ago Closed 11 years ago

Scroll info layers inside an nsDisplayTransform discarded

Categories

(Core :: Layout, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla28
blocking-b2g 1.3+
Tracking Status
firefox28 --- fixed

People

(Reporter: botond, Assigned: botond)

References

Details

Attachments

(1 file)

I ran into a issue today where a scrollable element inside the content process did not have an APZC created for it, even though APZ was enabled. Some debugging revealed that layout was constructing a scroll info layer for it, but that layer was discarded before making it into the final layer tree. I debugged this further with the help of :tn and it turned out the problem has to do with layout's handling of nsDisplayTransform and inactive layer managers.
Attached patch bug943619.patchSplinter Review
This is tn's suggested fix.
Assignee: nobody → botond
Attachment #8338844 - Flags: review?(tnikkel)
Attachment #8338844 - Flags: review?(tnikkel) → review+
The expand on that, the problem was that the scroll info layer was created inside an inactive transform, so it got flattened away and never made it to the final layer tree. The problem was that child display items with LAYER_ACTIVE_EMPTY did not force their parents to be active (like LAYER_ACTIVE does).
Blocks: 940691
blocking-b2g: --- → 1.3+
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla28
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: