Closed Bug 1488294 Opened 6 years ago Closed 6 years ago

WebRender doesn't infer the color for groove / ridge borders

Categories

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

enhancement

Tracking

()

RESOLVED FIXED
mozilla64
Tracking Status
firefox64 --- fixed

People

(Reporter: emilio, Assigned: emilio)

References

Details

Attachments

(2 files)

Attached file t5.html
And we just paint black, unlike other browsers. This is causing some new reftests to fail with the patch from bug 1487407, since I made collapsed borders go through the same code path as Gecko, which now does infer the color.
Also happens for ridge.
Summary: WebRender doesn't infer the color for groove borders → WebRender doesn't infer the color for groove / ridge borders
I'll take this if nobody wins me, I've seen the related code around today.
Flags: needinfo?(emilio)
Assignee: nobody → emilio
Flags: needinfo?(emilio)
Note that they are negative (!=) tests. Also note that they don't run because bug 1488472. I'm fixing that as well, will ensure that's fixed before this lands.
Just to be clear, we're not talking about teaching wr itself how to infer these colors, but rather the mapping from gecko to wr? (e.g. servo wouldn't get this for free)
Priority: -- → P1
Depends on: 1487885
(In reply to Alexis Beingessner [:Gankro] from comment #4) > Just to be clear, we're not talking about teaching wr itself how to infer > these colors, but rather the mapping from gecko to wr? (e.g. servo wouldn't > get this for free) WR already inferred these colors for inset / outset, so I thought it to do the same for these other borders.
Depends on: 1488887
Ah ok, didn't know we went forward with that.
No longer depends on: 1488887
Comment on attachment 9006289 [details] Add reftests for groove / ridge borders with default colors. Jeff Muizelaar [:jrmuizel] has approved the revision.
Attachment #9006289 - Flags: review+
Pushed by emilio@crisal.io: https://hg.mozilla.org/integration/autoland/rev/7251e4f4d2a4 Add reftests for groove / ridge borders with default colors. r=jrmuizel
Pushed by emilio@crisal.io: https://hg.mozilla.org/integration/autoland/rev/668a74f1fa8c Update the wpt-manifest since Phabricator keeps landing it as a binary.
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/12904 for changes under testing/web-platform/tests
Upstream web-platform-tests status checks passed, PR will merge once commit reaches central.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla64
Blocks: 1440192
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: