style: Add another pref to control the url-prefix hack.

MozReview-Commit-ID: D4qL0oO69Uh
Bug: 1446470
Reviewed-by: xidorn
This commit is contained in:
Emilio Cobos Álvarez 2018-03-17 00:00:36 +01:00
parent 9bb4033ec3
commit 322113a393
No known key found for this signature in database
GPG key ID: 056B727BB9C1027C

View file

@ -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.