CSS Transform Module Level 2 (ED 2017-11-09) - 3d transforms
https://drafts.csswg.org/css-transforms-2/#three-d-transform-functions
This commit is contained in:
parent
e684f677a6
commit
e7bd155300
|
@ -799,7 +799,8 @@ self.parserlib = (() => {
|
||||||
|
|
||||||
'<transform-function>': 'matrix() | translate() | translateX() | translateY() | ' +
|
'<transform-function>': 'matrix() | translate() | translateX() | translateY() | ' +
|
||||||
'scale() | scaleX() | scaleY() | ' +
|
'scale() | scaleX() | scaleY() | ' +
|
||||||
'rotate() | skew() | skewX() | skewY()',
|
'rotate() | skew() | skewX() | skewY() | ' +
|
||||||
|
'matrix3d() | translate3d() | translateZ() | scale3d() | scaleZ() | rotate3d()',
|
||||||
|
|
||||||
'<unicode-range>': part => /^U\+[0-9a-f?]{1,6}(-[0-9a-f?]{1,6})?\s*$/i.test(part),
|
'<unicode-range>': part => /^U\+[0-9a-f?]{1,6}(-[0-9a-f?]{1,6})?\s*$/i.test(part),
|
||||||
|
|
||||||
|
@ -1049,6 +1050,13 @@ self.parserlib = (() => {
|
||||||
'skew': '[ <angle> | <zero> ] [ , [ <angle> | <zero> ] ]?',
|
'skew': '[ <angle> | <zero> ] [ , [ <angle> | <zero> ] ]?',
|
||||||
'skewX': '[ <angle> | <zero> ]',
|
'skewX': '[ <angle> | <zero> ]',
|
||||||
'skewY': '[ <angle> | <zero> ]',
|
'skewY': '[ <angle> | <zero> ]',
|
||||||
|
|
||||||
|
'matrix3d': '<number>#{16}',
|
||||||
|
'translate3d': '<length-percentage>#{2} , <length>',
|
||||||
|
'translateZ': '<length>',
|
||||||
|
'scale3d': '<number>#{3}',
|
||||||
|
'scaleZ': '<number>',
|
||||||
|
'rotate3d': '<number>#{3} , [ <angle> | <zero> ]',
|
||||||
},
|
},
|
||||||
|
|
||||||
functionsMayBeEmpty: new Set([
|
functionsMayBeEmpty: new Set([
|
||||||
|
|
Loading…
Reference in New Issue
Block a user