mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Fix default css 'display' value for undisplayed nodes.
This commit is contained in:
parent
e1bcdc509a
commit
5e6dc81775
1 changed files with 1 additions and 1 deletions
|
@ -47,7 +47,7 @@ impl NodeKind : DefaultStyleMethods {
|
|||
UnknownElement => DisInline,
|
||||
}
|
||||
},
|
||||
_ => fail ~"unstyleable node type encountered"
|
||||
Comment(*) | Doctype(*) => DisNone
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue