mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
style: Remove @supports selector pref. r=firefox-style-system-reviewers,layout-reviewers,boris
We've shipped it for a while. Differential Revision: https://phabricator.services.mozilla.com/D156469
This commit is contained in:
parent
98d10f954b
commit
069304c99c
1 changed files with 0 additions and 7 deletions
|
@ -370,13 +370,6 @@ impl ToCss for RawSelector {
|
||||||
impl RawSelector {
|
impl RawSelector {
|
||||||
/// Tries to evaluate a `selector()` function.
|
/// Tries to evaluate a `selector()` function.
|
||||||
pub fn eval(&self, context: &ParserContext, namespaces: &Namespaces) -> bool {
|
pub fn eval(&self, context: &ParserContext, namespaces: &Namespaces) -> bool {
|
||||||
#[cfg(feature = "gecko")]
|
|
||||||
{
|
|
||||||
if !static_prefs::pref!("layout.css.supports-selector.enabled") {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
let mut input = ParserInput::new(&self.0);
|
let mut input = ParserInput::new(&self.0);
|
||||||
let mut input = Parser::new(&mut input);
|
let mut input = Parser::new(&mut input);
|
||||||
input
|
input
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue