mirror of
https://github.com/servo/servo.git
synced 2025-08-07 06:25:32 +01:00
style: Remove a unit test that relies on disabled-by-default properties.
This commit is contained in:
parent
4d7383f4f3
commit
4c979a8346
1 changed files with 0 additions and 16 deletions
|
@ -559,22 +559,6 @@ mod shorthand_serialization {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
|
||||||
fn columns_should_serialize_correctly() {
|
|
||||||
use style::values::{Auto, Either};
|
|
||||||
|
|
||||||
let mut properties = Vec::new();
|
|
||||||
|
|
||||||
let width = Either::Second(Auto);
|
|
||||||
let count = Either::Second(Auto);
|
|
||||||
|
|
||||||
properties.push(PropertyDeclaration::ColumnWidth(width));
|
|
||||||
properties.push(PropertyDeclaration::ColumnCount(count));
|
|
||||||
|
|
||||||
let serialization = shorthand_properties_to_string(properties);
|
|
||||||
assert_eq!(serialization, "columns: auto auto;");
|
|
||||||
}
|
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn flex_should_serialize_all_available_properties() {
|
fn flex_should_serialize_all_available_properties() {
|
||||||
use style::values::specified::{NonNegativeNumber, Percentage};
|
use style::values::specified::{NonNegativeNumber, Percentage};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue