mirror of
https://github.com/servo/servo.git
synced 2025-08-24 22:58:21 +01:00
sort all uses
This commit is contained in:
parent
d3c7e31722
commit
ec07178b6f
269 changed files with 903 additions and 931 deletions
|
@ -3,8 +3,8 @@
|
|||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
use cssparser::{Parser, DeclarationListParser, AtRuleParser, DeclarationParser, ToCss, parse_important};
|
||||
use euclid::size::{Size2D, TypedSize2D};
|
||||
use euclid::scale_factor::ScaleFactor;
|
||||
use euclid::size::{Size2D, TypedSize2D};
|
||||
use parser::{ParserContext, log_css_error};
|
||||
use properties::longhands;
|
||||
use stylesheets::Origin;
|
||||
|
@ -342,8 +342,8 @@ impl ViewportConstraints {
|
|||
rule: &ViewportRule)
|
||||
-> Option<ViewportConstraints>
|
||||
{
|
||||
use std::cmp;
|
||||
use num::{Float, ToPrimitive};
|
||||
use std::cmp;
|
||||
|
||||
if rule.declarations.is_empty() {
|
||||
return None
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue