mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Introduce a get_colspan method on LayoutJS<Element>.
This commit is contained in:
parent
8f2a3a64f1
commit
5417df6397
3 changed files with 20 additions and 3 deletions
|
@ -1039,6 +1039,12 @@ impl<'ln> ThreadSafeLayoutNode<'ln> {
|
|||
iframe_element.pipeline_id().unwrap()
|
||||
}
|
||||
}
|
||||
|
||||
pub fn get_colspan(&self) -> u32 {
|
||||
unsafe {
|
||||
self.get_jsmanaged().downcast::<Element>().unwrap().get_colspan()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
pub struct ThreadSafeLayoutNodeChildrenIterator<'a> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue