Handle image correctly in DisplayItemLayer

RESOLVED FIXED in Firefox 55

Status

()

Core
Graphics: WebRender
RESOLVED FIXED
10 months ago
10 months ago

People

(Reporter: ethlin, Assigned: ethlin)

Tracking

unspecified
mozilla55
Points:
---

Firefox Tracking Flags

(firefox55 fixed)

Details

Attachments

(1 attachment)

(Assignee)

Description

10 months ago
There is a reftest about border-image and the image doesn't have image container. Currently we can only send image container to parent in DisplayItemLayer. I'll fix it.

[1] layout/reftests/w3c-css/submitted/background/border-image-repeat-1.html
(Assignee)

Comment 1

10 months ago
Created attachment 8848414 [details] [diff] [review]
check if the image container available

If there is no image container, the layer state should be LAYER_NONE.
Attachment #8848414 - Flags: review?(matt.woodrow)
Attachment #8848414 - Flags: review?(matt.woodrow) → review+

Comment 2

10 months ago
Pushed by ethlin@mozilla.com:
https://hg.mozilla.org/projects/graphics/rev/af630ec864b5
Do not create webrender commands if the image renderer doesn't have image container. r=mattwoodrow
Status: NEW → RESOLVED
Last Resolved: 10 months ago
Resolution: --- → FIXED
https://hg.mozilla.org/mozilla-central/rev/af630ec864b5
status-firefox55: --- → fixed
Target Milestone: --- → mozilla55
You need to log in before you can comment on or make changes to this bug.