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

@ -159,8 +159,6 @@ def parse_property_aliases(alias_list):
if alias_list:
for alias in alias_list.split():
(name, _, pref) = alias.partition(":")
if name.startswith("-webkit-") and not pref:
pref = "layout.css.prefixes.webkit"
result.append((name, pref))
return result
@ -542,10 +540,6 @@ class PropertiesData(object):
# See servo/servo#14941.
if self.product == "gecko":
for (prefix, pref) in property.extra_prefixes:
# All webkit prefixed properties are currently under
# control of this pref in Gecko currently.
if prefix == "webkit" and not pref:
pref = "layout.css.prefixes.webkit"
property.alias.append(('-%s-%s' % (prefix, property.name), pref))
def declare_longhand(self, name, products="gecko servo", **kwargs):