mirror of
https://github.com/servo/servo.git
synced 2025-08-07 06:25:32 +01:00
style: Fix build / unit tests.
This commit is contained in:
parent
fc5dbc1bae
commit
e149059608
4 changed files with 2 additions and 414 deletions
|
@ -27,7 +27,6 @@ mod attr;
|
|||
mod custom_properties;
|
||||
mod keyframes;
|
||||
mod logical_geometry;
|
||||
mod media_queries;
|
||||
mod parsing;
|
||||
mod properties;
|
||||
mod rule_tree;
|
||||
|
@ -37,16 +36,3 @@ mod str;
|
|||
mod stylesheets;
|
||||
mod stylist;
|
||||
mod viewport;
|
||||
|
||||
mod writing_modes {
|
||||
use style::logical_geometry::WritingMode;
|
||||
use style::properties::INITIAL_SERVO_VALUES;
|
||||
|
||||
#[test]
|
||||
fn initial_writing_mode_is_empty() {
|
||||
assert_eq!(
|
||||
WritingMode::new(INITIAL_SERVO_VALUES.get_inherited_box()),
|
||||
WritingMode::empty(),
|
||||
)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue