style: Add offset shorthand.

Also, update the serialization by the shorter perference because this is
a new feature and using older syntax doesn't make sense.

Besides, use `cssOffset` for web animation IDL attribute name.

Differential Revision: https://phabricator.services.mozilla.com/D45607
This commit is contained in:
Boris Chiou 2019-09-23 19:56:33 +00:00 committed by Emilio Cobos Álvarez
parent 3cb18071a2
commit 4a23556c4b
3 changed files with 95 additions and 2 deletions

View file

@ -9,7 +9,8 @@
# "column-span",
# "offset-distance",
# "offset-path",
# "offset-rotate"
# "offset-rotate",
# "offset"
COUNTED_UNKNOWN_PROPERTIES = [
"-webkit-font-smoothing",
"zoom",
@ -82,7 +83,6 @@ COUNTED_UNKNOWN_PROPERTIES = [
"-webkit-ruby-position",
"-webkit-column-break-after",
"-webkit-margin-collapse",
"offset",
"-webkit-border-before",
"-webkit-border-end",
"-webkit-border-after",