Closed Bug 1347871 Opened 3 years ago Closed 3 years ago

Handle image correctly in DisplayItemLayer

Categories

(Core :: Graphics: WebRender, enhancement)

enhancement
Not set

Tracking

()

RESOLVED FIXED
mozilla55
Tracking Status
firefox55 --- fixed

People

(Reporter: ethlin, Assigned: ethlin)

References

Details

Attachments

(1 file)

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
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+
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
Closed: 3 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.