aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/node.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/dom/node.rs')
-rw-r--r--components/script/dom/node.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/components/script/dom/node.rs b/components/script/dom/node.rs
index ce97cb1ee4b..64b808c3859 100644
--- a/components/script/dom/node.rs
+++ b/components/script/dom/node.rs
@@ -2741,6 +2741,8 @@ impl Into<LayoutElementType> for ElementTypeId {
#[inline(always)]
fn into(self) -> LayoutElementType {
match self {
+ ElementTypeId::HTMLElement(HTMLElementTypeId::HTMLBRElement) =>
+ LayoutElementType::HTMLBRElement,
ElementTypeId::HTMLElement(HTMLElementTypeId::HTMLCanvasElement) =>
LayoutElementType::HTMLCanvasElement,
ElementTypeId::HTMLElement(HTMLElementTypeId::HTMLIFrameElement) =>
@@ -2751,6 +2753,8 @@ impl Into<LayoutElementType> for ElementTypeId {
LayoutElementType::HTMLInputElement,
ElementTypeId::HTMLElement(HTMLElementTypeId::HTMLObjectElement) =>
LayoutElementType::HTMLObjectElement,
+ ElementTypeId::HTMLElement(HTMLElementTypeId::HTMLParagraphElement) =>
+ LayoutElementType::HTMLParagraphElement,
ElementTypeId::HTMLElement(HTMLElementTypeId::HTMLTableCellElement(_)) =>
LayoutElementType::HTMLTableCellElement,
ElementTypeId::HTMLElement(HTMLElementTypeId::HTMLTableColElement) =>