Bug 12186
| Summary: | SVG should support SVG 1.2 <pageSet> and <page> elements | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Tom Medhurst <tom> |
| Component: | SVG | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED INVALID | ||
| Severity: | Normal | CC: | krit, mcdonald.ben |
| Priority: | P2 | ||
| Version: | 420+ | ||
| Hardware: | Mac (Intel) | ||
| OS: | OS X 10.4 | ||
Tom Medhurst
I have the following svg; which I place in an svg file and reference it form an html file via object/embed tags.
SVG:
<svg width="2000" height="2000" viewBox="0 0 2000 2000"
xmlns="http://www.w3.org/2000/svg" version="1.2" streamable="true">
<pageSet>
<page>
<circle cx="300" cy="150" r="90" fill="red" stroke="black"
stroke-width="4" fill-opacity="0.7" />
</page>
<page>
<circle cx="240" cy="250" r="90" fill="green" stroke="black"
stroke-width="4" fill-opacity="0.7" />
</page>
<page>
<circle cx="360" cy="250" r="90" fill="blue" stroke="black"
stroke-width="4" fill-opacity="0.7" />
</page>
</pageSet>
</svg>
HTML:
<object data="test.svg" type="image/svg+xml"
width="400" height="300">
<embed src="test.svg" type="image/svg+xml"
width="400" height="300" />
</object>
When the page is loaded in FireFox I see three circles; however when I load it into WebKit; all I get is a blank screen.
Many Thanks
Tom Medhurst
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Eric Seidel (no email)
Neither Firefox nor WebKit support SVG 1.2. <pageSet> is only 1.2. In WebKit we follow the SVG spec and while processing SVG, ignore any non-SVG subtree. since <pageSet> isn't recognized, everything underneath it is ignored.
Dirk Schulze
This is not part of SVG2.