Closed
Bug 1192741
Opened 10 years ago
Closed 10 years ago
border-image with SVG having no intrinsic size not rendered correctly
Categories
(Core :: SVG, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 619500
People
(Reporter: davve, Unassigned)
References
()
Details
User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.10 Safari/537.36
Steps to reproduce:
Load http://doomdavve.github.io/gists/svg-in-border-image-5.html#no-intrinsic
Actual results:
It looks like the SVG (with no intrinsic size or ratio) is chopped up and drawn from origin in each piece of the nine-piece image.
Expected results:
According to border-image specification
https://drafts.csswg.org/css-backgrounds-3/#border-image-slice
there should be a light green (lime) square on a green background.
The SVG image size should be computed to the background positioning area (100x100) and then split up and drawn in each piece.
Reporter | ||
Updated•10 years ago
|
Reporter | ||
Updated•10 years ago
|
Component: Untriaged → SVG
Product: Firefox → Core
Reporter | ||
Comment 1•10 years ago
|
||
See https://bugs.webkit.org/show_bug.cgi?id=139405 where WebKit moved from spec-compliant to something closer resembling what Firefox currently does.
Also see thread on www-style starting with https://lists.w3.org/Archives/Public/www-style/2015May/0302.html
Updated•10 years ago
|
Status: UNCONFIRMED → RESOLVED
Closed: 10 years ago
Resolution: --- → DUPLICATE
Reporter | ||
Comment 3•10 years ago
|
||
Thanks. I did read that bug but wasn't sure it was the same thing.
You need to log in
before you can comment on or make changes to this bug.
Description
•