mirror of
https://github.com/servo/servo.git
synced 2025-10-04 10:39:16 +01:00
style: Part 2: Support fit-content() in style
Support fit-content for preferred size, min size, and max size. This patch only implement the style system. For layout part, we will do that in the following patches. Differential Revision: https://phabricator.services.mozilla.com/D107161
This commit is contained in:
parent
77cab0edc3
commit
d103785c4b
3 changed files with 34 additions and 1 deletions
|
@ -188,7 +188,8 @@ impl Size {
|
|||
GenericSize::MinContent |
|
||||
GenericSize::MaxContent |
|
||||
GenericSize::MozFitContent |
|
||||
GenericSize::MozAvailable => false
|
||||
GenericSize::MozAvailable |
|
||||
GenericSize::FitContentFunction(_) => false
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue