Open Bug 1844644 Opened 3 years ago Updated 2 years ago

border-radius styles don't render for tr elements

Categories

(Core :: Web Painting, defect)

Firefox 116
defect

Tracking

()

UNCONFIRMED

People

(Reporter: garrett.masters11, Unassigned)

References

Details

Attachments

(2 files)

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36

Steps to reproduce:

place a background color on a tr element in a table and add 20px of border radius. Add a hover background color change and you will see the tr elements don't display the border-radius style. (note: may have to change the background of the tr to a different color than default background of the page).

Actual results:

Box displays styles ignoring the border-radius styles applied.

Expected results:

Border-radius should be displayed and show as they set 20px border radius.

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

Can you provide a testcase?

Flags: needinfo?(garrett.masters11)

Here is a codepen where chrome shows expected behavior and firefox doesn't display border-radius: https://codepen.io/garrettmasters/pen/VwVdqgz

Flags: needinfo?(garrett.masters11)
See Also: → 1384031
See Also: → 706766
Attached file trbr.html

Simplified the testcase from codepen a little.

Component: Graphics: WebRender → Web Painting
Severity: -- → S3

I noticed this bug when I tried to add a border radius to the hover effect of a table row.
In this stackoverflow: https://stackoverflow.com/a/38433042 they present a "working solution" and the accepted answer clearly is not working. When testing in Chrome it was working.
I also tried setting the boder-collapse to seperate, but that didn't change anything.

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: