mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +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
|
@ -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):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue