mirror of
https://github.com/servo/servo.git
synced 2025-09-30 00:29:14 +01:00
Strict import formatting (grouping and granularity) (#30325)
* strict imports formatting * Reformat all imports
This commit is contained in:
parent
413da4ca69
commit
aad2dccc9c
802 changed files with 6861 additions and 6395 deletions
|
@ -2,16 +2,14 @@
|
|||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
|
||||
|
||||
use crate::parsing::parse;
|
||||
use style::properties::longhands::background_size;
|
||||
use style::properties::longhands::{
|
||||
background_attachment, background_clip, background_color, background_image,
|
||||
};
|
||||
use style::properties::longhands::{
|
||||
background_origin, background_position_x, background_position_y, background_repeat,
|
||||
background_attachment, background_clip, background_color, background_image, background_origin,
|
||||
background_position_x, background_position_y, background_repeat, background_size,
|
||||
};
|
||||
use style::properties::shorthands::background;
|
||||
|
||||
use crate::parsing::parse;
|
||||
|
||||
#[test]
|
||||
fn background_shorthand_should_parse_all_available_properties_when_specified() {
|
||||
let input = "url(\"http://servo/test.png\") top center / 200px 200px repeat-x fixed padding-box content-box red";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue