mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
ShadowRoot interface
This commit is contained in:
parent
cbcf21c248
commit
18ae0fcbd6
8 changed files with 82 additions and 22 deletions
|
@ -249,7 +249,7 @@ impl<'a> Serialize for &'a Node {
|
|||
serializer.write_processing_instruction(&pi.target(), &data)?;
|
||||
},
|
||||
|
||||
NodeTypeId::DocumentFragment => {},
|
||||
NodeTypeId::DocumentFragment(_) => {},
|
||||
|
||||
NodeTypeId::Document(_) => panic!("Can't serialize Document node itself"),
|
||||
NodeTypeId::Element(_) => panic!("Element shouldn't appear here"),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue