mirror of
https://github.com/servo/servo.git
synced 2025-08-07 06:25:32 +01:00
style: Remove support for the layout.css.prefixes.webkit pref.
From this point on, the webkit-prefixed CSS features that were previously protected by this pref will now be unconditionally enabled. Differential Revision: https://phabricator.services.mozilla.com/D33807
This commit is contained in:
parent
b6c88745e8
commit
e9b0d54a95
4 changed files with 1 additions and 12 deletions
|
@ -298,8 +298,7 @@ impl MediaFeatureExpression {
|
|||
|
||||
#[cfg(feature = "gecko")]
|
||||
{
|
||||
if unsafe { structs::StaticPrefs_sVarCache_layout_css_prefixes_webkit } &&
|
||||
starts_with_ignore_ascii_case(feature_name, "-webkit-")
|
||||
if starts_with_ignore_ascii_case(feature_name, "-webkit-")
|
||||
{
|
||||
feature_name = &feature_name[8..];
|
||||
requirements.insert(ParsingRequirements::WEBKIT_PREFIX);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue