aboutsummaryrefslogtreecommitdiffstats
path: root/components/layout/construct.rs
diff options
context:
space:
mode:
authorGlenn Watson <gw@intuitionlibrary.com>2015-01-29 14:09:43 +1000
committerGlenn Watson <gw@intuitionlibrary.com>2015-01-29 16:36:20 +1000
commit1f37c6eabe3237da68014644c1144a04e6f69037 (patch)
treebc2af2b8f29aa0b8bae93d3f9e91d10e550180cd /components/layout/construct.rs
parent221a343883f510c7743908136438f5ed40bd17ed (diff)
downloadservo-1f37c6eabe3237da68014644c1144a04e6f69037.tar.gz
servo-1f37c6eabe3237da68014644c1144a04e6f69037.zip
Add layout support and tests for inline iframes. Fixes #1697.
Diffstat (limited to 'components/layout/construct.rs')
-rw-r--r--components/layout/construct.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/components/layout/construct.rs b/components/layout/construct.rs
index 58fe265d54d..eb241630dba 100644
--- a/components/layout/construct.rs
+++ b/components/layout/construct.rs
@@ -1306,6 +1306,7 @@ impl<'ln> NodeUtils for ThreadSafeLayoutNode<'ln> {
None |
Some(NodeTypeId::Element(ElementTypeId::HTMLElement(HTMLElementTypeId::HTMLImageElement))) => true,
Some(NodeTypeId::Element(ElementTypeId::HTMLElement(HTMLElementTypeId::HTMLObjectElement))) => self.has_object_data(),
+ Some(NodeTypeId::Element(ElementTypeId::HTMLElement(HTMLElementTypeId::HTMLIFrameElement))) => true,
Some(NodeTypeId::Element(ElementTypeId::HTMLElement(HTMLElementTypeId::HTMLCanvasElement))) => true,
Some(NodeTypeId::Element(_)) => false,
}