diff options
author | Ms2ger <ms2ger@gmail.com> | 2014-02-22 21:03:39 +0100 |
---|---|---|
committer | Ms2ger <ms2ger@gmail.com> | 2014-02-24 22:35:28 +0100 |
commit | 870ccd95d2fd9afbc0128bd6b44391eb695554c9 (patch) | |
tree | 652dca921dcb0a174585a34d300b4f288074fb9c /src/components/main/layout/construct.rs | |
parent | 5ede84fa46c5aa5fe1d7c969c7c0714a6730b7f1 (diff) | |
download | servo-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.rs | 4 |
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, |