mirror of
https://github.com/servo/servo.git
synced 2025-08-09 15:35:34 +01:00
Finish plumbing intrinsic min/max-content through box construction
This commit is contained in:
parent
da36fcddb0
commit
c056e5b6b0
5 changed files with 80 additions and 39 deletions
|
@ -192,8 +192,7 @@ impl<Node> Contents<Node> {
|
|||
/// Returns true iff the `try_from` impl below would return `Err(_)`
|
||||
pub fn is_replaced(&self) -> bool {
|
||||
match self {
|
||||
Contents::OfElement(_) |
|
||||
Contents::OfPseudoElement(_) => false,
|
||||
Contents::OfElement(_) | Contents::OfPseudoElement(_) => false,
|
||||
Contents::Replaced(_) => true,
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue