aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/main/layout/construct.rs
diff options
context:
space:
mode:
authorMs2ger <ms2ger@gmail.com>2014-02-22 21:03:39 +0100
committerMs2ger <ms2ger@gmail.com>2014-02-24 22:35:28 +0100
commit870ccd95d2fd9afbc0128bd6b44391eb695554c9 (patch)
tree652dca921dcb0a174585a34d300b4f288074fb9c /src/components/main/layout/construct.rs
parent5ede84fa46c5aa5fe1d7c969c7c0714a6730b7f1 (diff)
downloadservo-870ccd95d2fd9afbc0128bd6b44391eb695554c9.tar.gz
servo-870ccd95d2fd9afbc0128bd6b44391eb695554c9.zip
Remove DocumentTypeId.
Diffstat (limited to 'src/components/main/layout/construct.rs')
-rw-r--r--src/components/main/layout/construct.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/main/layout/construct.rs b/src/components/main/layout/construct.rs
index 7ca32d95f64..66192647bcd 100644
--- a/src/components/main/layout/construct.rs
+++ b/src/components/main/layout/construct.rs
@@ -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,