mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
Update to cssparser 0.22 (source location in error types)
This commit is contained in:
parent
056e599562
commit
c0f8f15f39
90 changed files with 974 additions and 790 deletions
|
@ -10,7 +10,7 @@ path = "lib.rs"
|
|||
doctest = false
|
||||
|
||||
[dependencies]
|
||||
cssparser = "0.21.1"
|
||||
cssparser = "0.22.0"
|
||||
gfx = {path = "../../../components/gfx"}
|
||||
ipc-channel = "0.8"
|
||||
style = {path = "../../../components/style"}
|
||||
|
|
|
@ -12,7 +12,7 @@ doctest = false
|
|||
[dependencies]
|
||||
byteorder = "1.0"
|
||||
app_units = "0.5"
|
||||
cssparser = "0.21.1"
|
||||
cssparser = "0.22.0"
|
||||
euclid = "0.15"
|
||||
html5ever = "0.20"
|
||||
parking_lot = "0.4"
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
use selectors::parser::SelectorParseError;
|
||||
use selectors::parser::{SelectorParseError, SelectorParseErrorKind};
|
||||
use style::invalidation::element::invalidation_map::Dependency;
|
||||
use style::properties;
|
||||
|
||||
|
@ -14,8 +14,15 @@ size_of_test!(test_size_of_property_declaration, properties::PropertyDeclaration
|
|||
// we only pass `&mut SourcePropertyDeclaration` references around.
|
||||
size_of_test!(test_size_of_parsed_declaration, properties::SourcePropertyDeclaration, 576);
|
||||
|
||||
size_of_test!(test_size_of_selector_parse_error_with_unit, SelectorParseError<()>, 40);
|
||||
size_of_test!(test_size_of_style_parse_error, ::style_traits::StyleParseError, 80);
|
||||
size_of_test!(test_size_of_value_parse_error, ::style_traits::ValueParseError, 40);
|
||||
size_of_test!(test_size_of_declaration_parse_error, ::style_traits::PropertyDeclarationParseError, 72);
|
||||
size_of_test!(test_size_of_style_traits_parse_error, ::style_traits::ParseError, 96);
|
||||
size_of_test!(test_size_of_selector_parse_error_kind_with_unit, SelectorParseErrorKind<()>, 40);
|
||||
size_of_test!(test_size_of_style_parse_error_kind, ::style_traits::StyleParseErrorKind, 80);
|
||||
size_of_test!(test_size_of_value_parse_error_kind, ::style_traits::ValueParseErrorKind, 40);
|
||||
size_of_test!(test_size_of_declaration_parse_error_kind, ::style_traits::PropertyDeclarationParseErrorKind, 72);
|
||||
size_of_test!(test_size_of_style_traits_parse_error_kind,
|
||||
SelectorParseErrorKind<::style_traits::StyleParseErrorKind>, 88);
|
||||
|
||||
size_of_test!(test_size_of_selector_parse_error_with_unit, SelectorParseError<()>, 56);
|
||||
size_of_test!(test_size_of_style_parse_error, ::style_traits::StyleParseError, 96);
|
||||
size_of_test!(test_size_of_value_parse_error, ::style_traits::ValueParseError, 56);
|
||||
size_of_test!(test_size_of_declaration_parse_error, ::style_traits::PropertyDeclarationParseError, 88);
|
||||
size_of_test!(test_size_of_style_traits_parse_error, ::style_traits::ParseError, 104);
|
||||
|
|
|
@ -13,7 +13,7 @@ doctest = false
|
|||
|
||||
[dependencies]
|
||||
atomic_refcell = "0.1"
|
||||
cssparser = "0.21.1"
|
||||
cssparser = "0.22.0"
|
||||
env_logger = "0.4"
|
||||
euclid = "0.15"
|
||||
geckoservo = {path = "../../../ports/geckolib"}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue