mirror of
https://github.com/servo/servo.git
synced 2025-08-04 05:00:08 +01:00
Update rustc to revision 2cfb5acb5a2751c759627377e602bac4f88f2d19.
This commit is contained in:
parent
cf616b90a2
commit
16c7060bc8
153 changed files with 2095 additions and 1298 deletions
|
@ -57,11 +57,11 @@ pub fn is_whitespace(s: &str) -> bool {
|
|||
///
|
||||
/// http://www.whatwg.org/specs/web-apps/current-work/multipage/common-microsyntaxes.html#space-character
|
||||
pub static HTML_SPACE_CHARACTERS: StaticCharVec = &[
|
||||
'\u0020',
|
||||
'\u0009',
|
||||
'\u000a',
|
||||
'\u000c',
|
||||
'\u000d',
|
||||
'\u{0020}',
|
||||
'\u{0009}',
|
||||
'\u{000a}',
|
||||
'\u{000c}',
|
||||
'\u{000d}',
|
||||
];
|
||||
|
||||
pub fn split_html_space_chars<'a>(s: &'a str)
|
||||
|
@ -131,6 +131,7 @@ pub fn parse_unsigned_integer<T: Iterator<char>>(input: T) -> Option<u32> {
|
|||
})
|
||||
}
|
||||
|
||||
#[deriving(Copy)]
|
||||
pub enum LengthOrPercentageOrAuto {
|
||||
Auto,
|
||||
Percentage(f64),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue