Closed Bug 1280301 Opened 8 years ago Closed 4 years ago

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

Categories

(Developer Documentation Graveyard :: SVG, defect, P5)

defect

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: dleslie20050413, Unassigned)

Details

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.
Need confirmation that this still happens on Windows.
Priority: -- → P5
MDN Web Docs' bug reporting has now moved to GitHub. From now on, please file content bugs at https://github.com/mdn/sprints/issues/ and platform bugs at https://github.com/mdn/kuma/issues/.
Status: UNCONFIRMED → RESOLVED
Closed: 4 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.