Bug 12186 - SVG should support SVG 1.2 <pageSet> and <page> elements
Summary: SVG should support SVG 1.2 <pageSet> and <page> elements
Status: RESOLVED INVALID
Alias: None
Product: WebKit
Classification: Unclassified
Component: SVG (show other bugs)
Version: 420+
Hardware: Mac (Intel) OS X 10.4
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-09 18:12 PST by Tom Medhurst
Modified: 2016-10-12 05:23 PDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tom Medhurst 2007-01-09 18:12:21 PST
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
Comment 1 Eric Seidel (no email) 2007-01-14 21:02:27 PST
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.
Comment 2 Dirk Schulze 2016-10-12 05:23:13 PDT
This is not part of SVG2.