mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Use a UrlExtraData type alias to unify url handling logic.
This commit is contained in:
parent
a097a293b5
commit
37585309e9
24 changed files with 166 additions and 272 deletions
|
@ -101,7 +101,6 @@ use style::attr::{AttrValue, LengthOrPercentageOrAuto};
|
|||
use style::context::{QuirksMode, ReflowGoal};
|
||||
use style::element_state::*;
|
||||
use style::matching::{common_style_affecting_attributes, rare_style_affecting_attributes};
|
||||
use style::parser::ParserContextExtraData;
|
||||
use style::properties::{Importance, PropertyDeclaration, PropertyDeclarationBlock, parse_style_attribute};
|
||||
use style::properties::longhands::{self, background_image, border_spacing, font_family, font_size, overflow_x};
|
||||
use style::restyle_hints::RESTYLE_SELF;
|
||||
|
@ -2197,8 +2196,7 @@ impl VirtualMethods for Element {
|
|||
Arc::new(doc.style_shared_lock().wrap(parse_style_attribute(
|
||||
&attr.value(),
|
||||
&doc.base_url(),
|
||||
win.css_error_reporter(),
|
||||
ParserContextExtraData::default())))
|
||||
win.css_error_reporter())))
|
||||
};
|
||||
|
||||
Some(block)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue