mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
style: Reformat recent changes.
This commit is contained in:
parent
7c4f9bbf49
commit
8c004c0858
40 changed files with 571 additions and 212 deletions
|
@ -6,18 +6,22 @@
|
|||
|
||||
#![deny(missing_docs)]
|
||||
|
||||
use crate::selector_parser::SelectorImpl;
|
||||
use crate::stylesheets::UrlExtraData;
|
||||
use cssparser::{BasicParseErrorKind, ParseErrorKind, SourceLocation, Token};
|
||||
use selectors::SelectorList;
|
||||
use std::fmt;
|
||||
use style_traits::ParseError;
|
||||
use crate::selector_parser::{SelectorImpl};
|
||||
use selectors::SelectorList;
|
||||
|
||||
/// Errors that can be encountered while parsing CSS.
|
||||
#[derive(Debug)]
|
||||
pub enum ContextualParseError<'a> {
|
||||
/// A property declaration was not recognized.
|
||||
UnsupportedPropertyDeclaration(&'a str, ParseError<'a>, Option<&'a SelectorList<SelectorImpl>>),
|
||||
UnsupportedPropertyDeclaration(
|
||||
&'a str,
|
||||
ParseError<'a>,
|
||||
Option<&'a SelectorList<SelectorImpl>>,
|
||||
),
|
||||
/// A font face descriptor was not recognized.
|
||||
UnsupportedFontFaceDescriptor(&'a str, ParseError<'a>),
|
||||
/// A font feature values descriptor was not recognized.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue