mirror of
https://github.com/servo/servo.git
synced 2025-07-24 15:50:21 +01:00
Further changes required by Servo
This commit is contained in:
parent
a5b85ec834
commit
1816d7750f
1 changed files with 1 additions and 1 deletions
|
@ -362,7 +362,7 @@ impl<'a> StyleStylesheetLoader for StylesheetLoader<'a> {
|
||||||
lock: &SharedRwLock,
|
lock: &SharedRwLock,
|
||||||
media: Arc<Locked<MediaList>>,
|
media: Arc<Locked<MediaList>>,
|
||||||
supports: Option<ImportSupportsCondition>,
|
supports: Option<ImportSupportsCondition>,
|
||||||
layer: Option<ImportLayer>,
|
layer: ImportLayer,
|
||||||
) -> Arc<Locked<ImportRule>> {
|
) -> Arc<Locked<ImportRule>> {
|
||||||
// Ensure the supports conditions for this @import are true, if not, refuse to load
|
// Ensure the supports conditions for this @import are true, if not, refuse to load
|
||||||
if !supports.as_ref().map_or(true, |s| s.enabled) {
|
if !supports.as_ref().map_or(true, |s| s.enabled) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue