mirror of
https://github.com/servo/servo.git
synced 2025-08-02 12:10:29 +01:00
Use final url for updating stylesheet from @import rule.
This commit is contained in:
parent
37585309e9
commit
2628ebe612
4 changed files with 11 additions and 3 deletions
|
@ -74,12 +74,14 @@ impl Stylesheet {
|
|||
bytes: &[u8],
|
||||
protocol_encoding_label: Option<&str>,
|
||||
environment_encoding: Option<EncodingRef>,
|
||||
url_data: &UrlExtraData,
|
||||
stylesheet_loader: Option<&StylesheetLoader>,
|
||||
error_reporter: &ParseErrorReporter) {
|
||||
let (string, _) = decode_stylesheet_bytes(
|
||||
bytes, protocol_encoding_label, environment_encoding);
|
||||
Self::update_from_str(existing,
|
||||
&string,
|
||||
url_data,
|
||||
stylesheet_loader,
|
||||
error_reporter)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue