Closed Bug 1058173 Opened 11 years ago Closed 11 years ago

Container layer has incorrect (Shadow)VisibleRegion

Categories

(Core :: Graphics: Layers, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: BenWa, Unassigned)

References

Details

Attachments

(3 files)

Attached file Layer tree showing bug
bug 1010584 has a patch to do culling based on a layers' visible region. layout/reftests/async-scrolling/element01.html is failing. Upon closer inspection it has a container with an empty visible region. This is incorrect because we cull based on that an omit to draw the children which are visible according to how we draw container layers.
The bad value is coming from content
Attached file Display list
Ok so this happens with ScrollInfoLayer display item. If the contents are a thebes layer then everything is fine. If the content are promoted a color layer then the thebes layer is kept with no visible region. The container layer for the ScrollInfoLayer then seems to copy the visible region from the thebes layer and not the color layer.
Without a test page that exercises this behavior this bug is not really actionable. And anyway we got rid of scroll info layers for most things now so this bug probably went away already.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: