mirror of
https://github.com/servo/servo.git
synced 2025-07-23 07:13:52 +01:00
Bug 1331291 part 1 - Set stylesheet url_data correctly for import rule.
This commit is contained in:
parent
1b07730323
commit
cdc537f23e
10 changed files with 18 additions and 16 deletions
|
@ -147,7 +147,7 @@ impl CSSStyleOwner {
|
|||
match *self {
|
||||
CSSStyleOwner::Element(ref el) => window_from_node(&**el).Document().base_url(),
|
||||
CSSStyleOwner::CSSRule(ref rule, _) => {
|
||||
rule.parent_stylesheet().style_stylesheet().url_data.clone()
|
||||
(*rule.parent_stylesheet().style_stylesheet().url_data.read()).clone()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue