mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
style: Add another pref to control the url-prefix hack.
MozReview-Commit-ID: D4qL0oO69Uh Bug: 1446470 Reviewed-by: xidorn
This commit is contained in:
parent
9bb4033ec3
commit
322113a393
1 changed files with 4 additions and 0 deletions
|
@ -224,6 +224,10 @@ impl DocumentCondition {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if !unsafe { structs::StylePrefs_sMozDocumentURLPrefixHackEnabled } {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
// Allow a single url-prefix() for compatibility.
|
// Allow a single url-prefix() for compatibility.
|
||||||
//
|
//
|
||||||
// See bug 1446470 and dependencies.
|
// See bug 1446470 and dependencies.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue