Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(338)

Unified Diff: LayoutTests/svg/custom/dynamic-svg-document-creation-expected.txt

Issue 146193003: Remove SVGDocument binding (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase against ToT Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: LayoutTests/svg/custom/dynamic-svg-document-creation-expected.txt
diff --git a/LayoutTests/svg/custom/dynamic-svg-document-creation-expected.txt b/LayoutTests/svg/custom/dynamic-svg-document-creation-expected.txt
index 2ad12fbdf82adc04deaf8751283275b08394f45f..ff68e37a9d15d721232318a0ce94a84b8c560a14 100644
--- a/LayoutTests/svg/custom/dynamic-svg-document-creation-expected.txt
+++ b/LayoutTests/svg/custom/dynamic-svg-document-creation-expected.txt
@@ -1,36 +1,9 @@
-layer at (0,0) size 800x600
- RenderView at (0,0) size 800x600
-layer at (0,0) size 800x600
- RenderSVGRoot {svg} at (0,0) size 800x600
- RenderSVGForeignObject {foreignObject} at (0,0) size 800x600
- RenderBlock {html} at (0,0) size 800x180
- RenderBlock {div} at (0,0) size 800x180
- RenderBlock (anonymous) at (0,0) size 800x18
- RenderText {#text} at (0,0) size 532x18
- text run at (0,0) width 532: "This tests assures dynamic SVGDocument creation via DOMParser interface works."
- RenderBlock {div} at (0,18) size 800x18
- RenderText {#text} at (0,0) size 625x18
- text run at (0,0) width 625: "DOMParser.parseFromString returned: [object SVGDocument] should be: [object SVGDocument]"
- RenderBlock {div} at (0,36) size 800x18
- RenderText {#text} at (0,0) size 610x18
- text run at (0,0) width 610: "SVGDocument's rootElement: [object SVGSVGElement] should be: [object SVGSVGElement]"
- RenderBlock {div} at (0,54) size 800x18
- RenderText {#text} at (0,0) size 358x18
- text run at (0,0) width 358: "SVGDocument's rootElement width: 400 should be: 400"
- RenderBlock {div} at (0,72) size 800x18
- RenderText {#text} at (0,0) size 361x18
- text run at (0,0) width 361: "SVGDocument's rootElement height: 400 should be: 400"
- RenderBlock {div} at (0,90) size 800x18
- RenderText {#text} at (0,0) size 631x18
- text run at (0,0) width 631: "SVGDocument's rootElement first child: [object SVGGElement] should be: [object SVGGElement]"
- RenderBlock {div} at (0,108) size 800x54
- RenderText {#text} at (0,0) size 796x54
- text run at (0,0) width 752: "XMLSerializer.serializeToString returned: <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"400\" height=\"400\"><g"
- text run at (0,18) width 796: "transform=\"translate(-50, -50)\"><path id=\"path\" onclick=\"mouseHandler(evt)\" fill=\"#FF0000\" stroke=\"#00C000\" d=\"M 250"
- text run at (0,36) width 699: "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>"
- RenderBlock {div} at (0,162) size 800x18
- RenderText {#text} at (0,0) size 679x18
- text run at (0,0) width 679: "Imported the SVGGElement into our document: [object SVGGElement] should be: [object SVGGElement]"
- RenderSVGContainer {g} at (193,231) size 217x218 [transform={m=((0.71,0.71)(-0.71,0.71)) t=(250.00,250.00)}]
- RenderSVGContainer {g} at (193,231) size 217x218 [transform={m=((1.00,0.00)(0.00,1.00)) t=(-50.00,-50.00)}]
- RenderSVGPath {path} at (193,231) size 217x218 [stroke={[type=SOLID] [color=#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 185 25 250 25"]
+This tests assures dynamic SVGDocument creation via DOMParser interface works.
+DOMParser.parseFromString returned: [object XMLDocument] should be: [object XMLDocument]
+SVGDocument's rootElement: [object SVGSVGElement] should be: [object SVGSVGElement]
+SVGDocument's rootElement width: 400 should be: 400
+SVGDocument's rootElement height: 400 should be: 400
+SVGDocument's rootElement first child: [object SVGGElement] should be: [object SVGGElement]
+XMLSerializer.serializeToString returned: <svg xmlns="http://www.w3.org/2000/svg" width="400" height="400"><g transform="translate(-50, -50)"><path id="path" onclick="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>
+Imported the SVGGElement into our document: [object SVGGElement] should be: [object SVGGElement]
+
« no previous file with comments | « LayoutTests/svg/custom/dynamic-svg-document-creation.svg ('k') | LayoutTests/svg/custom/frame-getSVGDocument.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698