From 1137e5eff06404c8ad833932bee60c88d31198ea Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 18 Jul 2017 07:33:19 +0200 Subject: v1.2.0 from Fedora --- php-cssjanus-data.json | 85 +++++++++++++++++++++++++++++++++++++++++++++----- 1 file changed, 77 insertions(+), 8 deletions(-) (limited to 'php-cssjanus-data.json') 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": [ [ -- cgit