Closed Bug 1413459 Opened 7 years ago Closed 7 years ago

Decorations get drawn multiple times with selections in webrender

Categories

(Core :: Graphics: WebRender, enhancement, P1)

enhancement

Tracking

()

RESOLVED FIXED

People

(Reporter: kuoe0.tw, Assigned: Gankra)

References

Details

(Whiteboard: [wr-mvp] [gfx-noted])

In bug 1399310, we fixed the issue of drawing decoration lines with multiple times, but it still fails on WebRender.
The test case should be same as bug 1399310. When we select the text, the color of the lines shouldn't change. 

"data:text/html,<span style="text-decoration: underline line-through overline rgba(0,0,0,0.25)">laboris nisi ut aliquip ex </span>"
Whiteboard: [wr-mvp] [triage][gfx-noted]
This was an issue with webrender + bug 1399310 a couple of weeks back, but AFAICT is now fixed. When bug 1399310 is applied to m-c tip, I can no longer reproduce this issue.

(I'm guessing bug 1401653 may have resolved this, but haven't actually tested that.)
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WORKSFORME
Whiteboard: [wr-mvp] [triage][gfx-noted] → [gfx-noted]
Yes, I "fixed" this by making webrender draw the same lines as gecko, so now we look exactly as buggy as gecko. (and both will be for reals fixed by bug 1399310.
(In reply to Alexis Beingessner [:Gankro] from comment #3)
> Yes, I "fixed" this by making webrender draw the same lines as gecko, so now
> we look exactly as buggy as gecko. (and both will be for reals fixed by bug
> 1399310.

Except that with webrender + bug 1399310, the shadows of decoration lines get clipped incorrectly; see bug 1399310 comment 51 ("The second thing..." there). But that's not -this- bug, it's a bit different.
Assignee: nobody → a.beingessner
Resolution: WORKSFORME → FIXED
Priority: -- → P1
Whiteboard: [gfx-noted] → [wr-mvp] [gfx-noted]
You need to log in before you can comment on or make changes to this bug.