mirror of
https://github.com/servo/servo.git
synced 2025-06-19 06:38:59 +01:00
Remove DocumentTypeId.
This commit is contained in:
parent
5ede84fa46
commit
870ccd95d2
8 changed files with 46 additions and 44 deletions
|
@ -644,7 +644,7 @@ impl<'a> PostorderNodeMutTraversal for FlowConstructor<'a> {
|
|||
CommentNodeTypeId |
|
||||
DoctypeNodeTypeId |
|
||||
DocumentFragmentNodeTypeId |
|
||||
DocumentNodeTypeId(_) |
|
||||
DocumentNodeTypeId |
|
||||
ProcessingInstructionNodeTypeId => (display::none, float::none, position::static_),
|
||||
};
|
||||
|
||||
|
@ -717,7 +717,7 @@ impl<'ln> NodeUtils for ThreadSafeLayoutNode<'ln> {
|
|||
CommentNodeTypeId |
|
||||
DoctypeNodeTypeId |
|
||||
DocumentFragmentNodeTypeId |
|
||||
DocumentNodeTypeId(_) |
|
||||
DocumentNodeTypeId |
|
||||
ElementNodeTypeId(HTMLImageElementTypeId) => true,
|
||||
ElementNodeTypeId(HTMLObjectElementTypeId) => self.has_object_data(),
|
||||
ElementNodeTypeId(_) => false,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue