Closed Bug 1346141 Opened 8 years ago Closed 8 years ago

Implement basic wr support for TableBorderBackground

Categories

(Core :: Graphics: WebRender, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: ethlin, Assigned: ethlin)

References

Details

Attachments

(1 file)

In this bug I will just add some functions in nsDisplayTableBorderBackground to generate DisplayItemLayer and pref. And implement the border rendering for non-collapse case.
I add basic DisplayItemLayer support for nsDisplayTableBorderBackground in this patch. So more people can work on the conversion of this item.
Attachment #8845801 - Flags: review?(matt.woodrow)
Comment on attachment 8845801 [details] [diff] [review] add basic wr support Review of attachment 8845801 [details] [diff] [review]: ----------------------------------------------------------------- Won't this fail to paint the table background? I think we should do the same as other place and try to refactor the code so that the normal paint path uses the border renderer object too.
Attachment #8845801 - Flags: review?(matt.woodrow) → review-
(In reply to Matt Woodrow (:mattwoodrow) from comment #2) > Comment on attachment 8845801 [details] [diff] [review] > add basic wr support > > Review of attachment 8845801 [details] [diff] [review]: > ----------------------------------------------------------------- > > Won't this fail to paint the table background? > > I think we should do the same as other place and try to refactor the code so > that the normal paint path uses the border renderer object too. Oh..you are right. I didn't think it clearly. Originally I want to do the refactoring in other bugs and this one is just for creating DisplayItemLayer. But looks like at least I should handle table background painting or the result will be totally wrong.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: