mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
Uncomment more stuff related to box construction
This commit is contained in:
parent
c08cfbb5f3
commit
9cef3eee65
4 changed files with 226 additions and 202 deletions
|
@ -61,6 +61,13 @@ pub enum Float {
|
|||
None,
|
||||
}
|
||||
|
||||
impl Float {
|
||||
/// Returns true if `self` is not `None`.
|
||||
pub fn is_floating(self) -> bool {
|
||||
self != Self::None
|
||||
}
|
||||
}
|
||||
|
||||
impl ToComputedValue for SpecifiedFloat {
|
||||
type ComputedValue = Float;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue