If you think a bug might affect users in the 57 release, please set the correct tracking and status flags for Release Management.

Page at url "https://developer.mozilla.org/en-US/docs/Web/SVG/Tutorial/Basic_Transformations" needs xmlns and version attribute to display on Firefox 47 on windows 10

UNCONFIRMED
Unassigned

Status

Developer Documentation
SVG
UNCONFIRMED
a year ago
a year ago

People

(Reporter: David, Unassigned)

Tracking

Details

(Reporter)

Description

a year ago
User Agent: Mozilla/5.0 (Windows NT 10.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.84 Safari/537.36

Steps to reproduce:

Examples are on page:"https://developer.mozilla.org/en-US/docs/Web/SVG/Tutorial/Basic_Transformations"
I made svg file by cut and paste from this tutorial example:
<svg width="30" height="10">
	<g fill="red">
        <rect x="0" y="0" width="10" height="10"/>
        <rect x="20" y="0" width="10" height="10"/>
    </g>
</svg>
Simple change to make it display as intended:
<?xml version="1.0" standalone="no"?>
<svg width="30" height="10" xmlns="http://www.w3.org/2000/svg" version="1.1">
	<g fill="red">
        <rect x="0" y="0" width="10" height="10"/>
        <rect x="20" y="0" width="10" height="10"/>
    </g>
</svg>


Actual results:

The page source displayed


Expected results:

A graphical image of two red rectangles should have displayed.
The simple fix is included in the description of reproduction. 
No external file is needed. 
I think all the examples on the page need the change.
You need to log in before you can comment on or make changes to this bug.