OLD | NEW |
1 layer at (0,0) size 800x600 | 1 This tests assures dynamic SVGDocument creation via DOMParser interface works. |
2 RenderView at (0,0) size 800x600 | 2 DOMParser.parseFromString returned: [object XMLDocument] should be: [object XMLD
ocument] |
3 layer at (0,0) size 800x600 | 3 SVGDocument's rootElement: [object SVGSVGElement] should be: [object SVGSVGEleme
nt] |
4 RenderSVGRoot {svg} at (0,0) size 800x600 | 4 SVGDocument's rootElement width: 400 should be: 400 |
5 RenderSVGForeignObject {foreignObject} at (0,0) size 800x600 | 5 SVGDocument's rootElement height: 400 should be: 400 |
6 RenderBlock {html} at (0,0) size 800x180 | 6 SVGDocument's rootElement first child: [object SVGGElement] should be: [object S
VGGElement] |
7 RenderBlock {div} at (0,0) size 800x180 | 7 XMLSerializer.serializeToString returned: <svg xmlns="http://www.w3.org/2000/svg
" width="400" height="400"><g transform="translate(-50, -50)"><path id="path" on
click="mouseHandler(evt)" fill="#FF0000" stroke="#00C000" d="M 250 130 C 185 130
150 80 150 80 S 115 25 50 25 m 0 105 c 65 0 100 -50 100 -50 s 35 -55 100 -55"/>
</g></svg> |
8 RenderBlock (anonymous) at (0,0) size 800x18 | 8 Imported the SVGGElement into our document: [object SVGGElement] should be: [obj
ect SVGGElement] |
9 RenderText {#text} at (0,0) size 532x18 | 9 |
10 text run at (0,0) width 532: "This tests assures dynamic SVGDocume
nt creation via DOMParser interface works." | |
11 RenderBlock {div} at (0,18) size 800x18 | |
12 RenderText {#text} at (0,0) size 625x18 | |
13 text run at (0,0) width 625: "DOMParser.parseFromString returned:
[object SVGDocument] should be: [object SVGDocument]" | |
14 RenderBlock {div} at (0,36) size 800x18 | |
15 RenderText {#text} at (0,0) size 610x18 | |
16 text run at (0,0) width 610: "SVGDocument's rootElement: [object S
VGSVGElement] should be: [object SVGSVGElement]" | |
17 RenderBlock {div} at (0,54) size 800x18 | |
18 RenderText {#text} at (0,0) size 358x18 | |
19 text run at (0,0) width 358: "SVGDocument's rootElement width: 400
should be: 400" | |
20 RenderBlock {div} at (0,72) size 800x18 | |
21 RenderText {#text} at (0,0) size 361x18 | |
22 text run at (0,0) width 361: "SVGDocument's rootElement height: 40
0 should be: 400" | |
23 RenderBlock {div} at (0,90) size 800x18 | |
24 RenderText {#text} at (0,0) size 631x18 | |
25 text run at (0,0) width 631: "SVGDocument's rootElement first chil
d: [object SVGGElement] should be: [object SVGGElement]" | |
26 RenderBlock {div} at (0,108) size 800x54 | |
27 RenderText {#text} at (0,0) size 796x54 | |
28 text run at (0,0) width 752: "XMLSerializer.serializeToString retu
rned: <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"400\" height=\"400\"><g" | |
29 text run at (0,18) width 796: "transform=\"translate(-50, -50)\"><
path id=\"path\" onclick=\"mouseHandler(evt)\" fill=\"#FF0000\" stroke=\"#00C000
\" d=\"M 250" | |
30 text run at (0,36) width 699: "130 C 185 130 150 80 150 80 S 115 2
5 50 25 m 0 105 c 65 0 100 -50 100 -50 s 35 -55 100 -55\"/></g></svg>" | |
31 RenderBlock {div} at (0,162) size 800x18 | |
32 RenderText {#text} at (0,0) size 679x18 | |
33 text run at (0,0) width 679: "Imported the SVGGElement into our do
cument: [object SVGGElement] should be: [object SVGGElement]" | |
34 RenderSVGContainer {g} at (193,231) size 217x218 [transform={m=((0.71,0.71)(
-0.71,0.71)) t=(250.00,250.00)}] | |
35 RenderSVGContainer {g} at (193,231) size 217x218 [transform={m=((1.00,0.00
)(0.00,1.00)) t=(-50.00,-50.00)}] | |
36 RenderSVGPath {path} at (193,231) size 217x218 [stroke={[type=SOLID] [co
lor=#00C000]}] [fill={[type=SOLID] [color=#FF0000]}] [data="M 250 130 C 185 130
150 80 150 80 C 150 80 115 25 50 25 M 50 130 C 115 130 150 80 150 80 C 150 80 18
5 25 250 25"] | |
OLD | NEW |