Open Bug 1795835 Opened 3 years ago Updated 2 years ago

Combining border-radius, dashed borders and solid border creates ugly notch in corner

Categories

(Core :: Graphics: WebRender, defect)

Firefox 104
defect

Tracking

()

People

(Reporter: simon, Unassigned)

References

(Blocks 2 open bugs)

Details

Attachments

(2 files)

Attached image border-corner.png

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:104.0) Gecko/20100101 Firefox/104.0

Steps to reproduce:

I mixed border styles on an element with rounded corners. The problem doesn't seem to happen without rounded corners.

Example:

<div style="
    height: 100px;
    width: 500px;
    background: gray;
    border-radius: 10px;
    border: 1px black dashed;
    border-left: 30px blue solid;">
</div>

Actual results:

The bottom-left corner has an ugly "notch" that doesn't seem to fit the description of either border-style.

Expected results:

The rendered result should have had predictable corners, without ugly notch in the corner.

Component: Untriaged → General
Product: Firefox → Core

I think I added this to the wrong component. Should probably be in Core. I couldn't really understand under which component the border logic falls under though. Maybe "Layout"?. Sorry for not knowing better, please move to wherever appropriate. <3

Component: General → Graphics: WebRender
Status: UNCONFIRMED → NEW
Ever confirmed: true
Attached file Reporters testcase

Reproducible on Windows with acceleration. Rendering quality issue with WR. No issue in Chrome.

Severity: -- → S2

Feel free to update the severity. Not sure this qualifies as S2.

Flags: needinfo?(gwatson)
Severity: S2 → S4
Flags: needinfo?(gwatson)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: