Closed
Bug 1287533
Opened 9 years ago
Closed 9 years ago
Firefox uses single precision floating point in rendering inline SVG images. Chrome and Safari use double precision.
Categories
(Firefox :: Untriaged, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 1254904
People
(Reporter: axel, Unassigned)
Details
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36
Steps to reproduce:
An inline SVG image using double precision floating points that renders correctly in Chrome and Safari does not render in Firefox. Example inline SVG that doesn't render correctly:
<svg id="svg0" x="0px" y="0px" width="900" height="600" viewBox="-13625445 -4551095 16838.136546861 22652.81772708">
<polyline fill="none" stroke="#ff0000" vector-effect="non-scaling-stroke" stroke-miterlimit="10" points="-13620624.389966 -4540650.7761583, -13620600.483057 -4542792.9601844 "/>
</svg>
Actual results:
The SVG image gets outlined in the Inspector when hovering over the element, but does not render in the browser.
Expected results:
Even though the SVG specs define floating points as "at least single precision", Firefox should use double precision, since Chrome and Safari use double precision.
Updated•9 years ago
|
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.
Description
•