style: Allow 'opacity' on ::first-letter/::first-line pseudos.

Differential Revision: https://phabricator.services.mozilla.com/D76387
This commit is contained in:
Mats Palmgren 2020-05-21 21:13:10 +00:00 committed by Emilio Cobos Álvarez
parent 224550f818
commit 1fcc00a11a

View file

@ -688,6 +688,7 @@ class PropertyRestrictions:
def first_letter(data):
props = set([
"color",
"opacity",
"float",
"initial-letter",
@ -722,6 +723,7 @@ class PropertyRestrictions:
props = set([
# Per spec.
"color",
"opacity",
# Kinda like css-fonts?
"-moz-osx-font-smoothing",