Update rust-cssparser for visibility rules.

This commit is contained in:
Simon Sapin 2013-10-24 15:48:00 +02:00
parent ddce8b8fa0
commit 23e3757db6
9 changed files with 15 additions and 10 deletions

View file

@ -9,7 +9,8 @@ pub type CSSFloat = f64;
pub mod specified {
use std::ascii::StrAsciiExt;
use cssparser::*;
use cssparser::ast;
use cssparser::ast::*;
use super::{Au, CSSFloat};
pub use CSSColor = cssparser::Color;

View file

@ -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 cssparser::{SyntaxError, SourceLocation};
use cssparser::ast::{SyntaxError, SourceLocation};
pub struct ErrorLoggerIterator<I>(I);

View file

@ -3,7 +3,9 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
use std::ascii::StrAsciiExt;
use cssparser::*;
use cssparser::parse_rule_list;
use cssparser::ast::*;
use errors::{ErrorLoggerIterator, log_css_error};
use stylesheets::{CSSRule, CSSMediaRule, parse_style_rule, parse_nested_at_rule};
use namespaces::NamespaceMap;

View file

@ -3,7 +3,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
use std::hashmap::HashMap;
use cssparser::*;
use cssparser::ast::*;
use errors::log_css_error;
pub struct NamespaceMap {

View file

@ -4,7 +4,7 @@
use std::ascii::StrAsciiExt;
use cssparser::*;
use cssparser::ast::{ComponentValue, Ident, SkipWhitespaceIterable};
pub fn one_component_value<'a>(input: &'a [ComponentValue]) -> Option<&'a ComponentValue> {

View file

@ -6,9 +6,10 @@
use std::ascii::StrAsciiExt;
pub use extra::arc::Arc;
pub use std::iter;
pub use cssparser::*;
pub use errors::{ErrorLoggerIterator, log_css_error};
pub use cssparser::ast::*;
use errors::{ErrorLoggerIterator, log_css_error};
pub use parsing_utils::*;
pub use self::common_types::*;

View file

@ -4,7 +4,7 @@
use std::{vec, iter};
use std::ascii::StrAsciiExt;
use cssparser::*;
use cssparser::ast::*;
use namespaces::NamespaceMap;

View file

@ -5,7 +5,8 @@
use std::str;
use std::iter::Iterator;
use std::ascii::StrAsciiExt;
use cssparser::*;
use cssparser::{tokenize, parse_stylesheet_rules, ToCss};
use cssparser::ast::*;
use selectors;
use properties;
use errors::{ErrorLoggerIterator, log_css_error};

@ -1 +1 @@
Subproject commit 03d7044a13a78a34db196e2bce48cb4826a144f3
Subproject commit 1a7b4ca6d368f6035a4135504f89d66c5e225d09