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

Unified Diff: LayoutTests/fast/dom/XMLSerializer-attribute-ns-prefix-expected.txt

Issue 177763002: Fix serialization of (xlink:)href attributes in document fragments (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 10 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/fast/dom/XMLSerializer-attribute-ns-prefix-expected.txt
diff --git a/LayoutTests/fast/dom/XMLSerializer-attribute-ns-prefix-expected.txt b/LayoutTests/fast/dom/XMLSerializer-attribute-ns-prefix-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..71f826fadfdeaea7c8a37c31b8851de3c651aa31
--- /dev/null
+++ b/LayoutTests/fast/dom/XMLSerializer-attribute-ns-prefix-expected.txt
@@ -0,0 +1,4 @@
+This tests that XMLSerializer emits a correct namespace declaration for the <image> element. The first line is serialized as part of a DocumentFragment. The second line is serialized as part of the Document.
+
+<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><image xlink:href="blah"/></svg>
+<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><image xlink:href="blah"></image></svg>

Powered by Google App Engine
This is Rietveld 408576698