Closed Bug 1526504 Opened 6 years ago Closed 6 years ago

border-style is not drawn with double

Categories

(Core :: Graphics: WebRender, defect, P3)

67 Branch
defect

Tracking

()

RESOLVED FIXED
mozilla67
Tracking Status
firefox-esr60 --- unaffected
firefox65 --- wontfix
firefox66 --- fixed
firefox67 --- fixed

People

(Reporter: ayakawa.m, Assigned: gw)

References

(Blocks 1 open bug)

Details

(Keywords: regression)

Attachments

(3 files)

Attached image borderdouble.png (deleted) —

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:67.0) Gecko/20100101 Firefox/67.0

Steps to reproduce:

access http://ayakawa.o.oo7.jp/borderdouble.html

Actual results:

border-style double is not drawn with double.

Expected results:

border-style is drawn with double.

Summary: border-style → border-style is not drawn with double

GOOD 2019-02-07 build
BAD 2019-02-08 build

Status: UNCONFIRMED → NEW
Component: Untriaged → Graphics: WebRender
Ever confirmed: true
Product: Firefox → Core

Takeshi, could you please attach a results of about:support (Help – Troubleshooting Information)?

Flags: needinfo?(ayakawa.m)
Attached file about:support text (deleted) —
Flags: needinfo?(ayakawa.m)

Yesterday(2019-02-08), WebRender became default enabled on some AMD and Intel GPU.
Bug 1525929. Turn on WebRender on AMD Southern Islands
Bug 1525128. Turn on WebRender by default on desktop Haswell

Regression Window(with force enabled WebRender):
https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=d08944831e26fc9ec613e1fa2dc35d00332586ac&tochange=5b15326286d466b5cf4889160cc09b59bdde08fd

Regressed by: Bug 1465058

Blocks: 1465058, 1399485
Keywords: regression
Priority: -- → P3

The WR double style border shader has a condition to check if the
widths of the edges are too small to apply the style, in which case
it draws the border segment as solid. However, the check was
incorrectly skipping when the width of the inner / outer edge
was exactly one pixel.

Assignee: nobody → gwatson
Pushed by gwatson@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/2d589b25e754 border-style is not drawn with double r=emilio
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla67

Is this something we should consider backporting to Beta? It grafts cleanly.

Flags: needinfo?(gwatson)
Flags: in-testsuite+

Comment on attachment 9043127 [details]
Bug 1526504 - border-style is not drawn with double

Beta/Release Uplift Approval Request

Feature/Bug causing the regression

None

User impact if declined

Borders will be drawn incorrectly when WebRender is enabled

Is this code covered by automated tests?

Yes

Has the fix been verified in Nightly?

Yes

Needs manual test from QE?

No

If yes, steps to reproduce

List of other uplifts needed

None

Risk to taking this patch

Low

Why is the change risky/not risky? (and alternatives if risky)

This is a WebRender only change. It doesn't touch code that is run unless WebRender is enabled.

String changes made/needed

Attachment #9043127 - Flags: approval-mozilla-beta?
Flags: needinfo?(gwatson)

Comment on attachment 9043127 [details]
Bug 1526504 - border-style is not drawn with double

Webrender fix, adds tests.
Let's uplift for beta 8 so the WR experiments will be that much more awesome.

Attachment #9043127 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: