mirror of
https://github.com/servo/servo.git
synced 2025-08-07 22:45:34 +01:00
style: Port the style crate to rust 2018.
Differential Revision: https://phabricator.services.mozilla.com/D80101
This commit is contained in:
parent
9b980e2f49
commit
8f215a8444
9 changed files with 18 additions and 14 deletions
|
@ -7,13 +7,13 @@
|
|||
//! [images]: https://drafts.csswg.org/css-images/#image-values
|
||||
|
||||
use crate::custom_properties;
|
||||
use crate::values::generics::position::PositionComponent;
|
||||
use crate::values::serialize_atom_identifier;
|
||||
use crate::Atom;
|
||||
use crate::Zero;
|
||||
use servo_arc::Arc;
|
||||
use std::fmt::{self, Write};
|
||||
use style_traits::{CssWriter, ToCss};
|
||||
use values::generics::position::PositionComponent;
|
||||
|
||||
/// An `<image> | none` value.
|
||||
///
|
||||
|
|
|
@ -4,9 +4,9 @@
|
|||
|
||||
//! Generic values for UI properties.
|
||||
|
||||
use crate::values::specified::ui::CursorKind;
|
||||
use std::fmt::{self, Write};
|
||||
use style_traits::{CssWriter, ToCss};
|
||||
use values::specified::ui::CursorKind;
|
||||
|
||||
/// A generic value for the `cursor` property.
|
||||
///
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue