mirror of
https://github.com/servo/servo.git
synced 2025-08-05 05:30:08 +01:00
Fix style system build with recent changes.
This commit is contained in:
parent
ed2e9ce482
commit
add08518cd
7 changed files with 43 additions and 30 deletions
|
@ -510,6 +510,10 @@ impl<'le> TElement for ServoLayoutElement<'le> {
|
|||
*self.element.namespace() == ns!(svg)
|
||||
}
|
||||
|
||||
fn has_part_attr(&self) -> bool {
|
||||
false
|
||||
}
|
||||
|
||||
fn style_attribute(&self) -> Option<ArcBorrow<StyleLocked<PropertyDeclarationBlock>>> {
|
||||
unsafe {
|
||||
(*self.element.style_attribute())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue