Closed Bug 1242823 Opened 9 years ago Closed 9 years ago

Canvas doesn't render SVG without explicit size

Categories

(Core :: Graphics: Canvas2D, defect)

43 Branch
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 700533

People

(Reporter: igor, Unassigned)

Details

Attachments

(1 file)

Attached file test2.html
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.82 Safari/537.36 Steps to reproduce: Try to add on canvas SVG image without explicit width/height attribute (only viewBox attribute added) (see attached file) Actual results: SVG is not rendered on canvas. Expected results: Black rectangle should be rendered on canvas (inside red border).
Status: UNCONFIRMED → RESOLVED
Closed: 9 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: