Open Bug 1949501 Opened 1 year ago Updated 1 year ago

Artifacts when using border-radius and box-shadow or outline

Categories

(Core :: Graphics: WebRender, defect)

Firefox 135
defect

Tracking

()

UNCONFIRMED

People

(Reporter: brad, Unassigned)

References

(Blocks 1 open bug)

Details

Attachments

(2 files)

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:135.0) Gecko/20100101 Firefox/135.0

Steps to reproduce:

When using box-shadow or outline styles on an element that also uses border-radius, artifacts appear at the edges.

https://codepen.io/brad-simpson-kineo/pen/ogNxLZR

macOS 15.3.1
Firefox desktop 135.0.1

Actual results:

Artifacts appear at the edges between the element and the shadow/outline.

Expected results:

No artifacts should appear

The Bugbug bot thinks this bug should belong to the 'Core::Graphics: WebRender' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → Graphics: WebRender
Product: Firefox → Core

Interestingly, chromium based browsers have the same issue in the case of outline but not with box-shadow.
Does Safari show the gaps?

Severity: -- → S3
Flags: needinfo?(brad)

(In reply to Teodor Tanasoaia [:teoxoy] from comment #2)

Interestingly, chromium based browsers have the same issue in the case of outline but not with box-shadow.
Does Safari show the gaps?

Looks like Safari is similar to chromium where the issue is with outline but not box-shadow.

Flags: needinfo?(brad)
Attached image Safari screenshot
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: