mirror of
https://github.com/servo/servo.git
synced 2025-08-09 07:25:35 +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,10 +2,11 @@
|
|||
* 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::{perspective_origin, transform_origin};
|
||||
use style_traits::ToCss;
|
||||
|
||||
use crate::parsing::parse;
|
||||
|
||||
#[test]
|
||||
fn test_clip() {
|
||||
use style::properties::longhands::clip;
|
||||
|
@ -49,9 +50,10 @@ fn test_effects_parser_exhaustion() {
|
|||
|
||||
#[test]
|
||||
fn test_parse_factor() {
|
||||
use crate::parsing::parse;
|
||||
use style::properties::longhands::filter;
|
||||
|
||||
use crate::parsing::parse;
|
||||
|
||||
assert!(parse(filter::parse, "brightness(0)").is_ok());
|
||||
assert!(parse(filter::parse, "brightness(55)").is_ok());
|
||||
assert!(parse(filter::parse, "brightness(100)").is_ok());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue