Closed Bug 1602416 Opened 6 years ago Closed 6 years ago

foreignObject border styling working in chrome but not in firefox

Categories

(Core :: SVG, defect)

70 Branch
x86_64
Linux
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1601192

People

(Reporter: ryu.decade.555, Unassigned)

Details

Attachments

(1 file)

Attached image svg-border.png

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

Steps to reproduce:

I added border styling to the foreignObject through css

Here is the pen if anyone is interested.

https://codepen.io/Supersudo/pen/MWYYeba

Actual results:

The border didn't appear in firefox

Expected results:

The border should appear in firefox

OS: Unspecified → Linux
Hardware: Unspecified → x86_64

Bugbug thinks this bug should belong to this component, but please revert this change in case of error.

Component: Untriaged → SVG
Product: Firefox → Core

According to https://www.w3.org/TR/SVG2/styling.html#RequiredProperties SVG elements don't support border.

Status: UNCONFIRMED → RESOLVED
Closed: 6 years ago
Resolution: --- → INVALID

(In reply to Robert Longson [:longsonr] from comment #2)

According to https://www.w3.org/TR/SVG2/styling.html#RequiredProperties SVG elements don't support border.

But in chrome, it shows the foreignObject border. Does that mean it is a bug in chrome and not in firefox?

yes, Chrome's rendering is not correct.

Resolution: INVALID → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: