diff options
author | Remi Collet <remi@remirepo.net> | 2017-07-18 07:33:19 +0200 |
---|---|---|
committer | Remi Collet <remi@remirepo.net> | 2017-07-18 07:33:19 +0200 |
commit | 1137e5eff06404c8ad833932bee60c88d31198ea (patch) | |
tree | a0ab81c51dc1070f1729062ff929b98d2a883a11 /php-cssjanus-data.json | |
parent | ebc70311fc43ca038cc4611948fb8ee49e75e9dd (diff) |
Diffstat (limited to 'php-cssjanus-data.json')
-rw-r--r-- | php-cssjanus-data.json | 85 |
1 files changed, 77 insertions, 8 deletions
diff --git a/php-cssjanus-data.json b/php-cssjanus-data.json index bede15f..21f7086 100644 --- a/php-cssjanus-data.json +++ b/php-cssjanus-data.json @@ -395,6 +395,51 @@ ] ] }, + "flip transform translate x-axis": { + "cases": [ + [ + ".foo { transform: translate( 30px ); }", + ".foo { transform: translate( -30px ); }" + ], + [ + ".foo { transform: translate( 30% ); }", + ".foo { transform: translate( -30% ); }" + ], + [ + ".foo { transform: translate( 30%, 20% ); }", + ".foo { transform: translate( -30%, 20% ); }" + ], + [ + ".foo { transform: translate( 30%, 20%, 10% ); }", + ".foo { transform: translate( -30%, 20%, 10% ); }" + ], + [ + ".foo { transform: translate( 30%, 20%, 10%, 0% ); }" + ], + [ + ".foo { transform: translateY( 30px ) rotate( 20deg ) translateX( 10px ); }", + ".foo { transform: translateY( 30px ) rotate( 20deg ) translateX( -10px ); }" + ], + [ + ".foo { transform: translateX( 30px ) rotate( 20deg ) translateY( 10px ); }", + ".foo { transform: translateX( -30px ) rotate( 20deg ) translateY( 10px ); }" + ], + [ + ".foo { transform: translateX( 30px ); }", + ".foo { transform: translateX( -30px ); }" + ], + [ + ".foo { other-property: translateX( 30px ); }" + ], + [ + ".foo { -webkit-transform: translateX( 30px ); }", + ".foo { -webkit-transform: translateX( -30px ); }" + ], + [ + ".foo { transform: translateY( 30px ); }" + ] + ] + }, "flip background-position keywords": { "cases": [ [ @@ -538,10 +583,10 @@ ] ] }, - "do not flip URLs when flags are off": { - "settings": { - "swapLtrRtlInUrl": false, - "swapLeftRightInUrl": false + "do not flip URLs when url transforms are off": { + "options": { + "transformDirInUrl": false, + "transformEdgeInUrl": false }, "cases": [ [ @@ -579,10 +624,10 @@ ] ] }, - "flip URLs when flags are on": { - "settings": { - "swapLtrRtlInUrl": true, - "swapLeftRightInUrl": true + "flip URLs when url transforms are on": { + "options": { + "transformDirInUrl": true, + "transformEdgeInUrl": true }, "cases": [ [ @@ -630,6 +675,30 @@ ] ] }, + "do not flip URLs (back-compat boolean argument)": { + "args": [ + false, + false + ], + "cases": [ + [ + "background: url(/foo/bar-ltr_left.png);right:10px; direction: ltr", + "background: url(/foo/bar-ltr_left.png);left:10px; direction: rtl" + ] + ] + }, + "flip URLs (back-compat boolean argument)": { + "args": [ + true, + true + ], + "cases": [ + [ + "background: url(/foo/bar-ltr_left.png);right:10px; direction: ltr", + "background: url(/foo/bar-rtl_right.png);left:10px; direction: rtl" + ] + ] + }, "leave class names alone": { "cases": [ [ |