create_node() - don't pass element name to new_node.set_style()

parent 7d8d7c51
......@@ -140,7 +140,7 @@ impl NodeCreationContext {
// The "svg" node is special; it will parse its style attributes
// until the end, in standard_element_end().
if new_node.get_type() != NodeType::Svg {
new_node.parse_style_attributes(handle, name, pbag);
new_node.set_style(handle, pbag);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment