aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/layout_wrapper.rs
diff options
context:
space:
mode:
authorMatt Brubeck <mbrubeck@limpet.net>2016-11-22 13:24:06 -0800
committerMatt Brubeck <mbrubeck@limpet.net>2016-12-14 09:58:23 -0800
commite982d6003fb0e4bc0a26cb5cf488bc8c2bc117f8 (patch)
tree8fa150b0d5e7ec8c5f6167620d613451fa6b7c0a /components/script/layout_wrapper.rs
parentb77a0a89cf76a15346345c74e712a8d56b6ee517 (diff)
downloadservo-e982d6003fb0e4bc0a26cb5cf488bc8c2bc117f8.tar.gz
servo-e982d6003fb0e4bc0a26cb5cf488bc8c2bc117f8.zip
Add the HTMLTableCellElement::rowspan property
Diffstat (limited to 'components/script/layout_wrapper.rs')
-rw-r--r--components/script/layout_wrapper.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/components/script/layout_wrapper.rs b/components/script/layout_wrapper.rs
index 338edc19730..290ebeb2312 100644
--- a/components/script/layout_wrapper.rs
+++ b/components/script/layout_wrapper.rs
@@ -913,6 +913,12 @@ impl<'ln> ThreadSafeLayoutNode for ServoThreadSafeLayoutNode<'ln> {
self.get_jsmanaged().downcast::<Element>().unwrap().get_colspan()
}
}
+
+ fn get_rowspan(&self) -> u32 {
+ unsafe {
+ self.get_jsmanaged().downcast::<Element>().unwrap().get_rowspan()
+ }
+ }
}
pub struct ThreadSafeLayoutNodeChildrenIterator<ConcreteNode: ThreadSafeLayoutNode> {