foreignObject border styling working in chrome but not in firefox
Categories
(Core :: SVG, defect)
Tracking
()
People
(Reporter: ryu.decade.555, Unassigned)
Details
Attachments
(1 file)
|
114.05 KB,
image/png
|
Details |
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
| Reporter | ||
Updated•6 years ago
|
Comment 1•6 years ago
|
||
Bugbug thinks this bug should belong to this component, but please revert this change in case of error.
Comment 2•6 years ago
|
||
According to https://www.w3.org/TR/SVG2/styling.html#RequiredProperties SVG elements don't support border.
| Reporter | ||
Comment 3•6 years ago
|
||
(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?
Comment 4•6 years ago
|
||
yes, Chrome's rendering is not correct.
Updated•6 years ago
|
Description
•