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:
Daniel Holbert 2019-06-05 18:23:02 +00:00 committed by Emilio Cobos Álvarez
parent b6c88745e8
commit e9b0d54a95
No known key found for this signature in database
GPG key ID: E1152D0994E4BF8A
4 changed files with 1 additions and 12 deletions

View file

@ -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);