From ffcd3833de3585f38a7b80c8b92bf7546803da8e Mon Sep 17 00:00:00 2001 From: Adam Sinnett Date: Sat, 15 Feb 2014 13:52:33 -0800 Subject: Change Text, Comment and ProcessingInstructions parent name from element to characterdata All other node's parent type names reflect the actual type of the parent. This change extends that convention to the indicated nodes. closes #1594 --- src/components/script/dom/htmlserializer.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/components/script/dom/htmlserializer.rs') diff --git a/src/components/script/dom/htmlserializer.rs b/src/components/script/dom/htmlserializer.rs index 260fa437154..97198b0ab79 100644 --- a/src/components/script/dom/htmlserializer.rs +++ b/src/components/script/dom/htmlserializer.rs @@ -77,7 +77,7 @@ fn serialize_text(node: AbstractNode) -> ~str { fn serialize_processing_instruction(node: AbstractNode) -> ~str { node.with_imm_processing_instruction(|processing_instruction| { - ~"" + ~"" }) } -- cgit v1.2.3