mirror of
https://github.com/servo/servo.git
synced 2025-08-03 20:50:07 +01:00
Don't pref-gate properties in geckolib mode
This commit is contained in:
parent
9812034b96
commit
3772b4881b
3 changed files with 5 additions and 4 deletions
|
@ -767,7 +767,7 @@ impl PropertyDeclaration {
|
|||
return PropertyDeclarationParseResult::UnknownProperty
|
||||
}
|
||||
% endif
|
||||
% if property.experimental:
|
||||
% if property.experimental and product == "servo":
|
||||
if !::util::prefs::PREFS.get("${property.experimental}")
|
||||
.as_boolean().unwrap_or(false) {
|
||||
return PropertyDeclarationParseResult::ExperimentalProperty
|
||||
|
@ -797,7 +797,7 @@ impl PropertyDeclaration {
|
|||
return PropertyDeclarationParseResult::UnknownProperty
|
||||
}
|
||||
% endif
|
||||
% if shorthand.experimental:
|
||||
% if shorthand.experimental and product == "servo":
|
||||
if !::util::prefs::PREFS.get("${shorthand.experimental}")
|
||||
.as_boolean().unwrap_or(false) {
|
||||
return PropertyDeclarationParseResult::ExperimentalProperty
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue