Open Bug 1797030 Opened 2 years ago Updated 3 months ago

Conic-gradient angle bug with default started position

Categories

(Core :: Graphics: WebRender, defect)

Firefox 106
x86_64
Windows 10
defect

Tracking

()

People

(Reporter: mdss, Unassigned)

References

(Blocks 1 open bug)

Details

Attachments

(2 files)

Attached image Screenshot_1.png

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

Steps to reproduce:

Create a custom triangle via using conic-gradient

.triangle {
--color: green;
--size: 300px;

width: var(--size);
height: var(--size);
background-image: conic-gradient(from -45deg, transparent 180deg, var(--color) 180deg, var(--color));

}

Actual results:

Have a visual bug in center of square

Expected results:

straight line from top left corner to right bottom corner. I have expected results if I specify started position like
from -45deg at 0 0

Reporter, can you attach a reduced test case (.html file) to the bug which demonstrates the problem? Thank you.

Component: Untriaged → Graphics: WebRender
Flags: needinfo?(mdss)
OS: Unspecified → Windows 10
Product: Firefox → Core
Hardware: Unspecified → x86_64
Attached file index.html
Flags: needinfo?(mdss)

Added index.html file

Issue reproduces with the attach file on Win10x64 using Firefox build 106.0 (20221010110315). Marking issue as New.

Status: UNCONFIRMED → NEW
Has STR: --- → yes
Ever confirmed: true

The severity field is not set for this bug.
:gw, could you have a look please?

For more information, please visit auto_nag documentation.

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

Attachment

General

Creator:
Created:
Updated:
Size: