mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Devirtualize CSS error reporting.
This commit is contained in:
parent
2e775abfa4
commit
1297c0ff51
28 changed files with 255 additions and 211 deletions
|
@ -467,10 +467,13 @@ impl<'le> fmt::Debug for GeckoElement<'le> {
|
|||
|
||||
impl<'le> GeckoElement<'le> {
|
||||
/// Parse the style attribute of an element.
|
||||
pub fn parse_style_attribute(value: &str,
|
||||
url_data: &UrlExtraData,
|
||||
quirks_mode: QuirksMode,
|
||||
reporter: &ParseErrorReporter) -> PropertyDeclarationBlock {
|
||||
pub fn parse_style_attribute<R>(value: &str,
|
||||
url_data: &UrlExtraData,
|
||||
quirks_mode: QuirksMode,
|
||||
reporter: &R)
|
||||
-> PropertyDeclarationBlock
|
||||
where R: ParseErrorReporter
|
||||
{
|
||||
parse_style_attribute(value, url_data, reporter, quirks_mode)
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue