Diff
Modified: trunk/LayoutTests/imported/w3c/ChangeLog (253091 => 253092)
--- trunk/LayoutTests/imported/w3c/ChangeLog 2019-12-04 05:22:03 UTC (rev 253091)
+++ trunk/LayoutTests/imported/w3c/ChangeLog 2019-12-04 05:30:59 UTC (rev 253092)
@@ -1,3 +1,17 @@
+2019-12-03 Simon Fraser <[email protected]>
+
+ Update css/css-values WPT
+ https://bugs.webkit.org/show_bug.cgi?id=204835
+
+ Reviewed by Zalan Bujtas.
+
+ Update css/css-values to WPT 3f1485cc2793f55236076dfffc3c3fa69315e101.
+
+ * web-platform-tests/css/css-values/animations/calc-interpolation-expected.txt: Added.
+ * web-platform-tests/css/css-values/animations/calc-interpolation.html: Added.
+ * web-platform-tests/css/css-values/animations/w3c-import.log: Added.
+ * web-platform-tests/css/css-values/minmax-length-percent-serialize.html:
+
2019-12-03 Yusuke Suzuki <[email protected]>
Adopt the new WebAssembly.Global system
Added: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-values/animations/calc-interpolation-expected.txt (0 => 253092)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-values/animations/calc-interpolation-expected.txt (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-values/animations/calc-interpolation-expected.txt 2019-12-04 05:30:59 UTC (rev 253092)
@@ -0,0 +1,114 @@
+
+FAIL CSS Transitions: property <left> from [calc(50% - 25px)] to [calc(100% - 10px)] at (-0.25) should be [-10px] assert_equals: expected "- 10px " but got "0px "
+PASS CSS Transitions: property <left> from [calc(50% - 25px)] to [calc(100% - 10px)] at (0) should be [0px]
+PASS CSS Transitions: property <left> from [calc(50% - 25px)] to [calc(100% - 10px)] at (0.25) should be [10px]
+PASS CSS Transitions: property <left> from [calc(50% - 25px)] to [calc(100% - 10px)] at (0.5) should be [20px]
+PASS CSS Transitions: property <left> from [calc(50% - 25px)] to [calc(100% - 10px)] at (0.75) should be [30px]
+PASS CSS Transitions: property <left> from [calc(50% - 25px)] to [calc(100% - 10px)] at (1) should be [40px]
+FAIL CSS Transitions: property <left> from [calc(50% - 25px)] to [calc(100% - 10px)] at (1.25) should be [50px] assert_equals: expected "50px " but got "40px "
+FAIL CSS Transitions with transition: all: property <left> from [calc(50% - 25px)] to [calc(100% - 10px)] at (-0.25) should be [-10px] assert_equals: expected "- 10px " but got "0px "
+PASS CSS Transitions with transition: all: property <left> from [calc(50% - 25px)] to [calc(100% - 10px)] at (0) should be [0px]
+PASS CSS Transitions with transition: all: property <left> from [calc(50% - 25px)] to [calc(100% - 10px)] at (0.25) should be [10px]
+PASS CSS Transitions with transition: all: property <left> from [calc(50% - 25px)] to [calc(100% - 10px)] at (0.5) should be [20px]
+PASS CSS Transitions with transition: all: property <left> from [calc(50% - 25px)] to [calc(100% - 10px)] at (0.75) should be [30px]
+PASS CSS Transitions with transition: all: property <left> from [calc(50% - 25px)] to [calc(100% - 10px)] at (1) should be [40px]
+FAIL CSS Transitions with transition: all: property <left> from [calc(50% - 25px)] to [calc(100% - 10px)] at (1.25) should be [50px] assert_equals: expected "50px " but got "40px "
+FAIL CSS Animations: property <left> from [calc(50% - 25px)] to [calc(100% - 10px)] at (-0.25) should be [-10px] assert_equals: expected "- 10px " but got "0px "
+PASS CSS Animations: property <left> from [calc(50% - 25px)] to [calc(100% - 10px)] at (0) should be [0px]
+PASS CSS Animations: property <left> from [calc(50% - 25px)] to [calc(100% - 10px)] at (0.25) should be [10px]
+PASS CSS Animations: property <left> from [calc(50% - 25px)] to [calc(100% - 10px)] at (0.5) should be [20px]
+PASS CSS Animations: property <left> from [calc(50% - 25px)] to [calc(100% - 10px)] at (0.75) should be [30px]
+PASS CSS Animations: property <left> from [calc(50% - 25px)] to [calc(100% - 10px)] at (1) should be [40px]
+FAIL CSS Animations: property <left> from [calc(50% - 25px)] to [calc(100% - 10px)] at (1.25) should be [50px] assert_equals: expected "50px " but got "40px "
+FAIL Web Animations: property <left> from [calc(50% - 25px)] to [calc(100% - 10px)] at (-0.25) should be [-10px] assert_equals: expected "- 10px " but got "0px "
+PASS Web Animations: property <left> from [calc(50% - 25px)] to [calc(100% - 10px)] at (0) should be [0px]
+PASS Web Animations: property <left> from [calc(50% - 25px)] to [calc(100% - 10px)] at (0.25) should be [10px]
+PASS Web Animations: property <left> from [calc(50% - 25px)] to [calc(100% - 10px)] at (0.5) should be [20px]
+PASS Web Animations: property <left> from [calc(50% - 25px)] to [calc(100% - 10px)] at (0.75) should be [30px]
+PASS Web Animations: property <left> from [calc(50% - 25px)] to [calc(100% - 10px)] at (1) should be [40px]
+FAIL Web Animations: property <left> from [calc(50% - 25px)] to [calc(100% - 10px)] at (1.25) should be [50px] assert_equals: expected "50px " but got "40px "
+FAIL CSS Transitions: property <text-indent> from [calc(50% - 25px)] to [calc(100% - 10px)] at (-0.25) should be [calc(((50% - 25px) * 1.25) + ((100% - 10px) * -0.25))] assert_equals: expected "calc ( ( 1.25 * ( 50 % - 25px ) ) + ( - 0.25 * ( 100 % - 10px ) ) ) " but got "calc ( 50 % - 25px ) "
+PASS CSS Transitions: property <text-indent> from [calc(50% - 25px)] to [calc(100% - 10px)] at (0) should be [calc(50% - 25px)]
+FAIL CSS Transitions: property <text-indent> from [calc(50% - 25px)] to [calc(100% - 10px)] at (0.25) should be [calc(((50% - 25px) * 0.75) + ((100% - 10px) * 0.25))] assert_equals: expected "calc ( ( 0.75 * ( 50 % - 25px ) ) + ( 0.25 * ( 100 % - 10px ) ) ) " but got "calc ( ( ( 50 % - 25px ) * 0.75 ) + ( ( 100 % - 10px ) * 0.25 ) ) "
+FAIL CSS Transitions: property <text-indent> from [calc(50% - 25px)] to [calc(100% - 10px)] at (0.5) should be [calc(((50% - 25px) * 0.5) + ((100% - 10px) * 0.5))] assert_equals: expected "calc ( ( 0.5 * ( 50 % - 25px ) ) + ( 0.5 * ( 100 % - 10px ) ) ) " but got "calc ( ( ( 50 % - 25px ) * 0.5 ) + ( ( 100 % - 10px ) * 0.5 ) ) "
+FAIL CSS Transitions: property <text-indent> from [calc(50% - 25px)] to [calc(100% - 10px)] at (0.75) should be [calc(((50% - 25px) * 0.25) + ((100% - 10px) * 0.75))] assert_equals: expected "calc ( ( 0.25 * ( 50 % - 25px ) ) + ( 0.75 * ( 100 % - 10px ) ) ) " but got "calc ( ( ( 50 % - 25px ) * 0.25 ) + ( ( 100 % - 10px ) * 0.75 ) ) "
+PASS CSS Transitions: property <text-indent> from [calc(50% - 25px)] to [calc(100% - 10px)] at (1) should be [calc(100% - 10px)]
+FAIL CSS Transitions: property <text-indent> from [calc(50% - 25px)] to [calc(100% - 10px)] at (1.25) should be [calc(((50% - 25px) * -0.25) + ((100% - 10px) * 1.25))] assert_equals: expected "calc ( ( - 0.25 * ( 50 % - 25px ) ) + ( 1.25 * ( 100 % - 10px ) ) ) " but got "calc ( 100 % - 10px ) "
+FAIL CSS Transitions with transition: all: property <text-indent> from [calc(50% - 25px)] to [calc(100% - 10px)] at (-0.25) should be [calc(((50% - 25px) * 1.25) + ((100% - 10px) * -0.25))] assert_equals: expected "calc ( ( 1.25 * ( 50 % - 25px ) ) + ( - 0.25 * ( 100 % - 10px ) ) ) " but got "calc ( 50 % - 25px ) "
+PASS CSS Transitions with transition: all: property <text-indent> from [calc(50% - 25px)] to [calc(100% - 10px)] at (0) should be [calc(50% - 25px)]
+FAIL CSS Transitions with transition: all: property <text-indent> from [calc(50% - 25px)] to [calc(100% - 10px)] at (0.25) should be [calc(((50% - 25px) * 0.75) + ((100% - 10px) * 0.25))] assert_equals: expected "calc ( ( 0.75 * ( 50 % - 25px ) ) + ( 0.25 * ( 100 % - 10px ) ) ) " but got "calc ( ( ( 50 % - 25px ) * 0.75 ) + ( ( 100 % - 10px ) * 0.25 ) ) "
+FAIL CSS Transitions with transition: all: property <text-indent> from [calc(50% - 25px)] to [calc(100% - 10px)] at (0.5) should be [calc(((50% - 25px) * 0.5) + ((100% - 10px) * 0.5))] assert_equals: expected "calc ( ( 0.5 * ( 50 % - 25px ) ) + ( 0.5 * ( 100 % - 10px ) ) ) " but got "calc ( ( ( 50 % - 25px ) * 0.5 ) + ( ( 100 % - 10px ) * 0.5 ) ) "
+FAIL CSS Transitions with transition: all: property <text-indent> from [calc(50% - 25px)] to [calc(100% - 10px)] at (0.75) should be [calc(((50% - 25px) * 0.25) + ((100% - 10px) * 0.75))] assert_equals: expected "calc ( ( 0.25 * ( 50 % - 25px ) ) + ( 0.75 * ( 100 % - 10px ) ) ) " but got "calc ( ( ( 50 % - 25px ) * 0.25 ) + ( ( 100 % - 10px ) * 0.75 ) ) "
+PASS CSS Transitions with transition: all: property <text-indent> from [calc(50% - 25px)] to [calc(100% - 10px)] at (1) should be [calc(100% - 10px)]
+FAIL CSS Transitions with transition: all: property <text-indent> from [calc(50% - 25px)] to [calc(100% - 10px)] at (1.25) should be [calc(((50% - 25px) * -0.25) + ((100% - 10px) * 1.25))] assert_equals: expected "calc ( ( - 0.25 * ( 50 % - 25px ) ) + ( 1.25 * ( 100 % - 10px ) ) ) " but got "calc ( 100 % - 10px ) "
+FAIL CSS Animations: property <text-indent> from [calc(50% - 25px)] to [calc(100% - 10px)] at (-0.25) should be [calc(((50% - 25px) * 1.25) + ((100% - 10px) * -0.25))] assert_equals: expected "calc ( ( 1.25 * ( 50 % - 25px ) ) + ( - 0.25 * ( 100 % - 10px ) ) ) " but got "calc ( 50 % - 25px ) "
+PASS CSS Animations: property <text-indent> from [calc(50% - 25px)] to [calc(100% - 10px)] at (0) should be [calc(50% - 25px)]
+FAIL CSS Animations: property <text-indent> from [calc(50% - 25px)] to [calc(100% - 10px)] at (0.25) should be [calc(((50% - 25px) * 0.75) + ((100% - 10px) * 0.25))] assert_equals: expected "calc ( ( 0.75 * ( 50 % - 25px ) ) + ( 0.25 * ( 100 % - 10px ) ) ) " but got "calc ( ( ( 50 % - 25px ) * 0.75 ) + ( ( 100 % - 10px ) * 0.25 ) ) "
+FAIL CSS Animations: property <text-indent> from [calc(50% - 25px)] to [calc(100% - 10px)] at (0.5) should be [calc(((50% - 25px) * 0.5) + ((100% - 10px) * 0.5))] assert_equals: expected "calc ( ( 0.5 * ( 50 % - 25px ) ) + ( 0.5 * ( 100 % - 10px ) ) ) " but got "calc ( ( ( 50 % - 25px ) * 0.5 ) + ( ( 100 % - 10px ) * 0.5 ) ) "
+FAIL CSS Animations: property <text-indent> from [calc(50% - 25px)] to [calc(100% - 10px)] at (0.75) should be [calc(((50% - 25px) * 0.25) + ((100% - 10px) * 0.75))] assert_equals: expected "calc ( ( 0.25 * ( 50 % - 25px ) ) + ( 0.75 * ( 100 % - 10px ) ) ) " but got "calc ( ( ( 50 % - 25px ) * 0.25 ) + ( ( 100 % - 10px ) * 0.75 ) ) "
+PASS CSS Animations: property <text-indent> from [calc(50% - 25px)] to [calc(100% - 10px)] at (1) should be [calc(100% - 10px)]
+FAIL CSS Animations: property <text-indent> from [calc(50% - 25px)] to [calc(100% - 10px)] at (1.25) should be [calc(((50% - 25px) * -0.25) + ((100% - 10px) * 1.25))] assert_equals: expected "calc ( ( - 0.25 * ( 50 % - 25px ) ) + ( 1.25 * ( 100 % - 10px ) ) ) " but got "calc ( 100 % - 10px ) "
+FAIL Web Animations: property <text-indent> from [calc(50% - 25px)] to [calc(100% - 10px)] at (-0.25) should be [calc(((50% - 25px) * 1.25) + ((100% - 10px) * -0.25))] assert_equals: expected "calc ( ( 1.25 * ( 50 % - 25px ) ) + ( - 0.25 * ( 100 % - 10px ) ) ) " but got "calc ( 50 % - 25px ) "
+PASS Web Animations: property <text-indent> from [calc(50% - 25px)] to [calc(100% - 10px)] at (0) should be [calc(50% - 25px)]
+FAIL Web Animations: property <text-indent> from [calc(50% - 25px)] to [calc(100% - 10px)] at (0.25) should be [calc(((50% - 25px) * 0.75) + ((100% - 10px) * 0.25))] assert_equals: expected "calc ( ( 0.75 * ( 50 % - 25px ) ) + ( 0.25 * ( 100 % - 10px ) ) ) " but got "calc ( ( ( 50 % - 25px ) * 0.75 ) + ( ( 100 % - 10px ) * 0.25 ) ) "
+FAIL Web Animations: property <text-indent> from [calc(50% - 25px)] to [calc(100% - 10px)] at (0.5) should be [calc(((50% - 25px) * 0.5) + ((100% - 10px) * 0.5))] assert_equals: expected "calc ( ( 0.5 * ( 50 % - 25px ) ) + ( 0.5 * ( 100 % - 10px ) ) ) " but got "calc ( ( ( 50 % - 25px ) * 0.5 ) + ( ( 100 % - 10px ) * 0.5 ) ) "
+FAIL Web Animations: property <text-indent> from [calc(50% - 25px)] to [calc(100% - 10px)] at (0.75) should be [calc(((50% - 25px) * 0.25) + ((100% - 10px) * 0.75))] assert_equals: expected "calc ( ( 0.25 * ( 50 % - 25px ) ) + ( 0.75 * ( 100 % - 10px ) ) ) " but got "calc ( ( ( 50 % - 25px ) * 0.25 ) + ( ( 100 % - 10px ) * 0.75 ) ) "
+PASS Web Animations: property <text-indent> from [calc(50% - 25px)] to [calc(100% - 10px)] at (1) should be [calc(100% - 10px)]
+FAIL Web Animations: property <text-indent> from [calc(50% - 25px)] to [calc(100% - 10px)] at (1.25) should be [calc(((50% - 25px) * -0.25) + ((100% - 10px) * 1.25))] assert_equals: expected "calc ( ( - 0.25 * ( 50 % - 25px ) ) + ( 1.25 * ( 100 % - 10px ) ) ) " but got "calc ( 100 % - 10px ) "
+PASS CSS Transitions: property <text-indent> from [0em] to [100px] at (-0.25) should be [-25px]
+PASS CSS Transitions: property <text-indent> from [0em] to [100px] at (0) should be [0em]
+PASS CSS Transitions: property <text-indent> from [0em] to [100px] at (0.25) should be [25px]
+PASS CSS Transitions: property <text-indent> from [0em] to [100px] at (0.5) should be [50px]
+PASS CSS Transitions: property <text-indent> from [0em] to [100px] at (0.75) should be [75px]
+PASS CSS Transitions: property <text-indent> from [0em] to [100px] at (1) should be [100px]
+PASS CSS Transitions: property <text-indent> from [0em] to [100px] at (1.25) should be [125px]
+PASS CSS Transitions with transition: all: property <text-indent> from [0em] to [100px] at (-0.25) should be [-25px]
+PASS CSS Transitions with transition: all: property <text-indent> from [0em] to [100px] at (0) should be [0em]
+PASS CSS Transitions with transition: all: property <text-indent> from [0em] to [100px] at (0.25) should be [25px]
+PASS CSS Transitions with transition: all: property <text-indent> from [0em] to [100px] at (0.5) should be [50px]
+PASS CSS Transitions with transition: all: property <text-indent> from [0em] to [100px] at (0.75) should be [75px]
+PASS CSS Transitions with transition: all: property <text-indent> from [0em] to [100px] at (1) should be [100px]
+PASS CSS Transitions with transition: all: property <text-indent> from [0em] to [100px] at (1.25) should be [125px]
+PASS CSS Animations: property <text-indent> from [0em] to [100px] at (-0.25) should be [-25px]
+PASS CSS Animations: property <text-indent> from [0em] to [100px] at (0) should be [0em]
+PASS CSS Animations: property <text-indent> from [0em] to [100px] at (0.25) should be [25px]
+PASS CSS Animations: property <text-indent> from [0em] to [100px] at (0.5) should be [50px]
+PASS CSS Animations: property <text-indent> from [0em] to [100px] at (0.75) should be [75px]
+PASS CSS Animations: property <text-indent> from [0em] to [100px] at (1) should be [100px]
+PASS CSS Animations: property <text-indent> from [0em] to [100px] at (1.25) should be [125px]
+PASS Web Animations: property <text-indent> from [0em] to [100px] at (-0.25) should be [-25px]
+PASS Web Animations: property <text-indent> from [0em] to [100px] at (0) should be [0em]
+PASS Web Animations: property <text-indent> from [0em] to [100px] at (0.25) should be [25px]
+PASS Web Animations: property <text-indent> from [0em] to [100px] at (0.5) should be [50px]
+PASS Web Animations: property <text-indent> from [0em] to [100px] at (0.75) should be [75px]
+PASS Web Animations: property <text-indent> from [0em] to [100px] at (1) should be [100px]
+PASS Web Animations: property <text-indent> from [0em] to [100px] at (1.25) should be [125px]
+FAIL CSS Transitions: property <text-indent> from [0%] to [100px] at (-0.25) should be [calc(0% + -25px)] assert_equals: expected "calc ( 0 % - 25px ) " but got "- 25px "
+FAIL CSS Transitions: property <text-indent> from [0%] to [100px] at (0) should be [0%] assert_equals: expected "0 % " but got "0px "
+FAIL CSS Transitions: property <text-indent> from [0%] to [100px] at (0.25) should be [calc(0% + 25px)] assert_equals: expected "calc ( 0 % + 25px ) " but got "25px "
+FAIL CSS Transitions: property <text-indent> from [0%] to [100px] at (0.5) should be [calc(0% + 50px)] assert_equals: expected "calc ( 0 % + 50px ) " but got "50px "
+FAIL CSS Transitions: property <text-indent> from [0%] to [100px] at (0.75) should be [calc(0% + 75px)] assert_equals: expected "calc ( 0 % + 75px ) " but got "75px "
+FAIL CSS Transitions: property <text-indent> from [0%] to [100px] at (1) should be [calc(0% + 100px)] assert_equals: expected "calc ( 0 % + 100px ) " but got "100px "
+FAIL CSS Transitions: property <text-indent> from [0%] to [100px] at (1.25) should be [calc(0% + 125px)] assert_equals: expected "calc ( 0 % + 125px ) " but got "125px "
+FAIL CSS Transitions with transition: all: property <text-indent> from [0%] to [100px] at (-0.25) should be [calc(0% + -25px)] assert_equals: expected "calc ( 0 % - 25px ) " but got "- 25px "
+FAIL CSS Transitions with transition: all: property <text-indent> from [0%] to [100px] at (0) should be [0%] assert_equals: expected "0 % " but got "0px "
+FAIL CSS Transitions with transition: all: property <text-indent> from [0%] to [100px] at (0.25) should be [calc(0% + 25px)] assert_equals: expected "calc ( 0 % + 25px ) " but got "25px "
+FAIL CSS Transitions with transition: all: property <text-indent> from [0%] to [100px] at (0.5) should be [calc(0% + 50px)] assert_equals: expected "calc ( 0 % + 50px ) " but got "50px "
+FAIL CSS Transitions with transition: all: property <text-indent> from [0%] to [100px] at (0.75) should be [calc(0% + 75px)] assert_equals: expected "calc ( 0 % + 75px ) " but got "75px "
+FAIL CSS Transitions with transition: all: property <text-indent> from [0%] to [100px] at (1) should be [calc(0% + 100px)] assert_equals: expected "calc ( 0 % + 100px ) " but got "100px "
+FAIL CSS Transitions with transition: all: property <text-indent> from [0%] to [100px] at (1.25) should be [calc(0% + 125px)] assert_equals: expected "calc ( 0 % + 125px ) " but got "125px "
+FAIL CSS Animations: property <text-indent> from [0%] to [100px] at (-0.25) should be [calc(0% + -25px)] assert_equals: expected "calc ( 0 % - 25px ) " but got "- 25px "
+FAIL CSS Animations: property <text-indent> from [0%] to [100px] at (0) should be [0%] assert_equals: expected "0 % " but got "0px "
+FAIL CSS Animations: property <text-indent> from [0%] to [100px] at (0.25) should be [calc(0% + 25px)] assert_equals: expected "calc ( 0 % + 25px ) " but got "25px "
+FAIL CSS Animations: property <text-indent> from [0%] to [100px] at (0.5) should be [calc(0% + 50px)] assert_equals: expected "calc ( 0 % + 50px ) " but got "50px "
+FAIL CSS Animations: property <text-indent> from [0%] to [100px] at (0.75) should be [calc(0% + 75px)] assert_equals: expected "calc ( 0 % + 75px ) " but got "75px "
+FAIL CSS Animations: property <text-indent> from [0%] to [100px] at (1) should be [calc(0% + 100px)] assert_equals: expected "calc ( 0 % + 100px ) " but got "100px "
+FAIL CSS Animations: property <text-indent> from [0%] to [100px] at (1.25) should be [calc(0% + 125px)] assert_equals: expected "calc ( 0 % + 125px ) " but got "125px "
+FAIL Web Animations: property <text-indent> from [0%] to [100px] at (-0.25) should be [calc(0% + -25px)] assert_equals: expected "calc ( 0 % - 25px ) " but got "- 25px "
+FAIL Web Animations: property <text-indent> from [0%] to [100px] at (0) should be [0%] assert_equals: expected "0 % " but got "0px "
+FAIL Web Animations: property <text-indent> from [0%] to [100px] at (0.25) should be [calc(0% + 25px)] assert_equals: expected "calc ( 0 % + 25px ) " but got "25px "
+FAIL Web Animations: property <text-indent> from [0%] to [100px] at (0.5) should be [calc(0% + 50px)] assert_equals: expected "calc ( 0 % + 50px ) " but got "50px "
+FAIL Web Animations: property <text-indent> from [0%] to [100px] at (0.75) should be [calc(0% + 75px)] assert_equals: expected "calc ( 0 % + 75px ) " but got "75px "
+FAIL Web Animations: property <text-indent> from [0%] to [100px] at (1) should be [calc(0% + 100px)] assert_equals: expected "calc ( 0 % + 100px ) " but got "100px "
+FAIL Web Animations: property <text-indent> from [0%] to [100px] at (1.25) should be [calc(0% + 125px)] assert_equals: expected "calc ( 0 % + 125px ) " but got "125px "
+
Added: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-values/animations/calc-interpolation.html (0 => 253092)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-values/animations/calc-interpolation.html (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-values/animations/calc-interpolation.html 2019-12-04 05:30:59 UTC (rev 253092)
@@ -0,0 +1,97 @@
+<!DOCTYPE html>
+<meta charset="UTF-8">
+<title>calc interpolation</title>
+<link rel="help" href=""
+<meta name="assert" content="calc supports animation by computed value">
+
+<script src=""
+<script src=""
+<script src=""
+
+<style>
+.container {
+ position: relative;
+ width: 50px;
+ height: 50px;
+ border: black solid 2px;
+ display: inline-block;
+ margin-left: 10px;
+ margin-right: 10px;
+ background-color: white;
+}
+.target {
+ position: absolute;
+ width: 10px;
+ height: 50px;
+ background-color: black;
+}
+.expected {
+ background-color: green;
+}
+</style>
+
+<body>
+<template id="target-template">
+ <div class="container">
+ <div class="target"></div>
+ </div>
+</template>
+<script>
+test_interpolation({
+ property: 'left',
+ from: 'calc(50% - 25px)',
+ to: 'calc(100% - 10px)'
+}, [
+ {at: -0.25, expect: '-10px'},
+ {at: 0, expect: '0px'},
+ {at: 0.25, expect: '10px'},
+ {at: 0.5, expect: '20px'},
+ {at: 0.75, expect: '30px'},
+ {at: 1, expect: '40px'},
+ {at: 1.25, expect: '50px'}
+]);
+
+test_interpolation({
+ property: 'text-indent',
+ from: 'calc(50% - 25px)',
+ to: 'calc(100% - 10px)'
+}, [
+ {at: -0.25, expect: 'calc(((50% - 25px) * 1.25) + ((100% - 10px) * -0.25))'},
+ {at: 0, expect: 'calc(50% - 25px)'},
+ {at: 0.25, expect: 'calc(((50% - 25px) * 0.75) + ((100% - 10px) * 0.25))'},
+ {at: 0.5, expect: 'calc(((50% - 25px) * 0.5) + ((100% - 10px) * 0.5))'},
+ {at: 0.75, expect: 'calc(((50% - 25px) * 0.25) + ((100% - 10px) * 0.75))'},
+ {at: 1, expect: 'calc(100% - 10px)'},
+ {at: 1.25, expect: 'calc(((50% - 25px) * -0.25) + ((100% - 10px) * 1.25))'}
+]);
+
+test_interpolation({
+ property: 'text-indent',
+ from: '0em',
+ to: '100px'
+}, [
+ {at: -0.25, expect: '-25px'},
+ {at: 0, expect: '0em'},
+ {at: 0.25, expect: '25px'},
+ {at: 0.5, expect: '50px'},
+ {at: 0.75, expect: '75px'},
+ {at: 1, expect: '100px'},
+ {at: 1.25, expect: '125px'}
+]);
+
+test_interpolation({
+ property: 'text-indent',
+ from: '0%',
+ to: '100px'
+}, [
+ {at: -0.25, expect: 'calc(0% + -25px)'},
+ {at: 0, expect: '0%'},
+ {at: 0.25, expect: 'calc(0% + 25px)'},
+ {at: 0.5, expect: 'calc(0% + 50px)'},
+ {at: 0.75, expect: 'calc(0% + 75px)'},
+ {at: 1, expect: 'calc(0% + 100px)'},
+ {at: 1.25, expect: 'calc(0% + 125px)'}
+]);
+
+</script>
+</body>
Added: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-values/animations/w3c-import.log (0 => 253092)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-values/animations/w3c-import.log (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-values/animations/w3c-import.log 2019-12-04 05:30:59 UTC (rev 253092)
@@ -0,0 +1,17 @@
+The tests in this directory were imported from the W3C repository.
+Do NOT modify these tests directly in WebKit.
+Instead, create a pull request on the WPT github:
+ https://github.com/web-platform-tests/wpt
+
+Then run the Tools/Scripts/import-w3c-tests in WebKit to reimport
+
+Do NOT modify or remove this file.
+
+------------------------------------------------------------------------
+Properties requiring vendor prefixes:
+None
+Property values requiring vendor prefixes:
+None
+------------------------------------------------------------------------
+List of files:
+/LayoutTests/imported/w3c/web-platform-tests/css/css-values/animations/calc-interpolation.html
Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-values/minmax-length-percent-serialize-expected.txt (253091 => 253092)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-values/minmax-length-percent-serialize-expected.txt 2019-12-04 05:22:03 UTC (rev 253091)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-values/minmax-length-percent-serialize-expected.txt 2019-12-04 05:30:59 UTC (rev 253092)
@@ -1,34 +1,34 @@
-FAIL e.style['margin-left'] = "min(1px + 1%)" should set the property value assert_equals: serialization should be canonical expected "min(1px + 1%)" but got "min(1% + 1px)"
-FAIL e.style['margin-left'] = "min(1cm + 1%)" should set the property value assert_equals: serialization should be canonical expected "min(1cm + 1%)" but got "min(1% + 37.79527559055118px)"
-FAIL e.style['margin-left'] = "min(1mm + 1%)" should set the property value assert_equals: serialization should be canonical expected "min(1mm + 1%)" but got "min(1% + 3.7795275590551185px)"
-FAIL e.style['margin-left'] = "min(1Q + 1%)" should set the property value assert_equals: serialization should be canonical expected "min(1q + 1%)" but got "min(1% + 0.9448818897637796px)"
-FAIL e.style['margin-left'] = "min(1in + 1%)" should set the property value assert_equals: serialization should be canonical expected "min(1in + 1%)" but got "min(1% + 96px)"
-FAIL e.style['margin-left'] = "min(1pc + 1%)" should set the property value assert_equals: serialization should be canonical expected "min(1pc + 1%)" but got "min(1% + 16px)"
-FAIL e.style['margin-left'] = "min(1pt + 1%)" should set the property value assert_equals: serialization should be canonical expected "min(1pt + 1%)" but got "min(1% + 1.3333333333333333px)"
-FAIL e.style['margin-left'] = "min(1em + 1%)" should set the property value assert_equals: serialization should be canonical expected "min(1em + 1%)" but got "min(1% + 1em)"
-FAIL e.style['margin-left'] = "min(1ex + 1%)" should set the property value assert_equals: serialization should be canonical expected "min(1ex + 1%)" but got "min(1% + 1ex)"
-FAIL e.style['margin-left'] = "min(1ch + 1%)" should set the property value assert_equals: serialization should be canonical expected "min(1ch + 1%)" but got "min(1% + 1ch)"
-FAIL e.style['margin-left'] = "min(1rem + 1%)" should set the property value assert_equals: serialization should be canonical expected "min(1rem + 1%)" but got "min(1% + 1rem)"
-FAIL e.style['margin-left'] = "min(1vh + 1%)" should set the property value assert_equals: serialization should be canonical expected "min(1vh + 1%)" but got "min(1% + 1vh)"
-FAIL e.style['margin-left'] = "min(1vw + 1%)" should set the property value assert_equals: serialization should be canonical expected "min(1vw + 1%)" but got "min(1% + 1vw)"
-FAIL e.style['margin-left'] = "min(1vmin + 1%)" should set the property value assert_equals: serialization should be canonical expected "min(1vmin + 1%)" but got "min(1% + 1vmin)"
-FAIL e.style['margin-left'] = "min(1vmax + 1%)" should set the property value assert_equals: serialization should be canonical expected "min(1vmax + 1%)" but got "min(1% + 1vmax)"
-FAIL e.style['margin-left'] = "max(1px + 1%)" should set the property value assert_equals: serialization should be canonical expected "max(1px + 1%)" but got "max(1% + 1px)"
-FAIL e.style['margin-left'] = "max(1cm + 1%)" should set the property value assert_equals: serialization should be canonical expected "max(1cm + 1%)" but got "max(1% + 37.79527559055118px)"
-FAIL e.style['margin-left'] = "max(1mm + 1%)" should set the property value assert_equals: serialization should be canonical expected "max(1mm + 1%)" but got "max(1% + 3.7795275590551185px)"
-FAIL e.style['margin-left'] = "max(1Q + 1%)" should set the property value assert_equals: serialization should be canonical expected "max(1q + 1%)" but got "max(1% + 0.9448818897637796px)"
-FAIL e.style['margin-left'] = "max(1in + 1%)" should set the property value assert_equals: serialization should be canonical expected "max(1in + 1%)" but got "max(1% + 96px)"
-FAIL e.style['margin-left'] = "max(1pc + 1%)" should set the property value assert_equals: serialization should be canonical expected "max(1pc + 1%)" but got "max(1% + 16px)"
-FAIL e.style['margin-left'] = "max(1pt + 1%)" should set the property value assert_equals: serialization should be canonical expected "max(1pt + 1%)" but got "max(1% + 1.3333333333333333px)"
-FAIL e.style['margin-left'] = "max(1em + 1%)" should set the property value assert_equals: serialization should be canonical expected "max(1em + 1%)" but got "max(1% + 1em)"
-FAIL e.style['margin-left'] = "max(1ex + 1%)" should set the property value assert_equals: serialization should be canonical expected "max(1ex + 1%)" but got "max(1% + 1ex)"
-FAIL e.style['margin-left'] = "max(1ch + 1%)" should set the property value assert_equals: serialization should be canonical expected "max(1ch + 1%)" but got "max(1% + 1ch)"
-FAIL e.style['margin-left'] = "max(1rem + 1%)" should set the property value assert_equals: serialization should be canonical expected "max(1rem + 1%)" but got "max(1% + 1rem)"
-FAIL e.style['margin-left'] = "max(1vh + 1%)" should set the property value assert_equals: serialization should be canonical expected "max(1vh + 1%)" but got "max(1% + 1vh)"
-FAIL e.style['margin-left'] = "max(1vw + 1%)" should set the property value assert_equals: serialization should be canonical expected "max(1vw + 1%)" but got "max(1% + 1vw)"
-FAIL e.style['margin-left'] = "max(1vmin + 1%)" should set the property value assert_equals: serialization should be canonical expected "max(1vmin + 1%)" but got "max(1% + 1vmin)"
-FAIL e.style['margin-left'] = "max(1vmax + 1%)" should set the property value assert_equals: serialization should be canonical expected "max(1vmax + 1%)" but got "max(1% + 1vmax)"
+PASS e.style['margin-left'] = "min(1px + 1%)" should set the property value
+FAIL e.style['margin-left'] = "min(1cm + 1%)" should set the property value assert_equals: serialization should be canonical expected "min(1% + 1cm)" but got "min(1% + 37.79527559055118px)"
+FAIL e.style['margin-left'] = "min(1mm + 1%)" should set the property value assert_equals: serialization should be canonical expected "min(1% + 1mm)" but got "min(1% + 3.7795275590551185px)"
+FAIL e.style['margin-left'] = "min(1Q + 1%)" should set the property value assert_equals: serialization should be canonical expected "min(1% + 1q)" but got "min(1% + 0.9448818897637796px)"
+FAIL e.style['margin-left'] = "min(1in + 1%)" should set the property value assert_equals: serialization should be canonical expected "min(1% + 1in)" but got "min(1% + 96px)"
+FAIL e.style['margin-left'] = "min(1pc + 1%)" should set the property value assert_equals: serialization should be canonical expected "min(1% + 1pc)" but got "min(1% + 16px)"
+FAIL e.style['margin-left'] = "min(1pt + 1%)" should set the property value assert_equals: serialization should be canonical expected "min(1% + 1pt)" but got "min(1% + 1.3333333333333333px)"
+PASS e.style['margin-left'] = "min(1em + 1%)" should set the property value
+PASS e.style['margin-left'] = "min(1ex + 1%)" should set the property value
+PASS e.style['margin-left'] = "min(1ch + 1%)" should set the property value
+PASS e.style['margin-left'] = "min(1rem + 1%)" should set the property value
+PASS e.style['margin-left'] = "min(1vh + 1%)" should set the property value
+PASS e.style['margin-left'] = "min(1vw + 1%)" should set the property value
+PASS e.style['margin-left'] = "min(1vmin + 1%)" should set the property value
+PASS e.style['margin-left'] = "min(1vmax + 1%)" should set the property value
+PASS e.style['margin-left'] = "max(1px + 1%)" should set the property value
+FAIL e.style['margin-left'] = "max(1cm + 1%)" should set the property value assert_equals: serialization should be canonical expected "max(1% + 1cm)" but got "max(1% + 37.79527559055118px)"
+FAIL e.style['margin-left'] = "max(1mm + 1%)" should set the property value assert_equals: serialization should be canonical expected "max(1% + 1mm)" but got "max(1% + 3.7795275590551185px)"
+FAIL e.style['margin-left'] = "max(1Q + 1%)" should set the property value assert_equals: serialization should be canonical expected "max(1% + 1q)" but got "max(1% + 0.9448818897637796px)"
+FAIL e.style['margin-left'] = "max(1in + 1%)" should set the property value assert_equals: serialization should be canonical expected "max(1% + 1in)" but got "max(1% + 96px)"
+FAIL e.style['margin-left'] = "max(1pc + 1%)" should set the property value assert_equals: serialization should be canonical expected "max(1% + 1pc)" but got "max(1% + 16px)"
+FAIL e.style['margin-left'] = "max(1pt + 1%)" should set the property value assert_equals: serialization should be canonical expected "max(1% + 1pt)" but got "max(1% + 1.3333333333333333px)"
+PASS e.style['margin-left'] = "max(1em + 1%)" should set the property value
+PASS e.style['margin-left'] = "max(1ex + 1%)" should set the property value
+PASS e.style['margin-left'] = "max(1ch + 1%)" should set the property value
+PASS e.style['margin-left'] = "max(1rem + 1%)" should set the property value
+PASS e.style['margin-left'] = "max(1vh + 1%)" should set the property value
+PASS e.style['margin-left'] = "max(1vw + 1%)" should set the property value
+PASS e.style['margin-left'] = "max(1vmin + 1%)" should set the property value
+PASS e.style['margin-left'] = "max(1vmax + 1%)" should set the property value
PASS e.style['margin-left'] = "min(20px, 10%)" should set the property value
PASS e.style['margin-left'] = "min(1em, 10%)" should set the property value
PASS e.style['margin-left'] = "max(20px, 10%)" should set the property value
Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-values/minmax-length-percent-serialize.html (253091 => 253092)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-values/minmax-length-percent-serialize.html 2019-12-04 05:22:03 UTC (rev 253091)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-values/minmax-length-percent-serialize.html 2019-12-04 05:30:59 UTC (rev 253092)
@@ -13,36 +13,36 @@
test_valid_value(property, value, expected);
}
-test_valid_length_percent('min(1px + 1%)', 'min(1px + 1%)');
-test_valid_length_percent('min(1cm + 1%)', 'min(1cm + 1%)');
-test_valid_length_percent('min(1mm + 1%)', 'min(1mm + 1%)');
-test_valid_length_percent('min(1Q + 1%)', 'min(1q + 1%)');
-test_valid_length_percent('min(1in + 1%)', 'min(1in + 1%)');
-test_valid_length_percent('min(1pc + 1%)', 'min(1pc + 1%)');
-test_valid_length_percent('min(1pt + 1%)', 'min(1pt + 1%)');
-test_valid_length_percent('min(1em + 1%)', 'min(1em + 1%)');
-test_valid_length_percent('min(1ex + 1%)', 'min(1ex + 1%)');
-test_valid_length_percent('min(1ch + 1%)', 'min(1ch + 1%)');
-test_valid_length_percent('min(1rem + 1%)', 'min(1rem + 1%)');
-test_valid_length_percent('min(1vh + 1%)', 'min(1vh + 1%)');
-test_valid_length_percent('min(1vw + 1%)', 'min(1vw + 1%)');
-test_valid_length_percent('min(1vmin + 1%)', 'min(1vmin + 1%)');
-test_valid_length_percent('min(1vmax + 1%)', 'min(1vmax + 1%)');
-test_valid_length_percent('max(1px + 1%)', 'max(1px + 1%)');
-test_valid_length_percent('max(1cm + 1%)', 'max(1cm + 1%)');
-test_valid_length_percent('max(1mm + 1%)', 'max(1mm + 1%)');
-test_valid_length_percent('max(1Q + 1%)', 'max(1q + 1%)');
-test_valid_length_percent('max(1in + 1%)', 'max(1in + 1%)');
-test_valid_length_percent('max(1pc + 1%)', 'max(1pc + 1%)');
-test_valid_length_percent('max(1pt + 1%)', 'max(1pt + 1%)');
-test_valid_length_percent('max(1em + 1%)', 'max(1em + 1%)');
-test_valid_length_percent('max(1ex + 1%)', 'max(1ex + 1%)');
-test_valid_length_percent('max(1ch + 1%)', 'max(1ch + 1%)');
-test_valid_length_percent('max(1rem + 1%)', 'max(1rem + 1%)');
-test_valid_length_percent('max(1vh + 1%)', 'max(1vh + 1%)');
-test_valid_length_percent('max(1vw + 1%)', 'max(1vw + 1%)');
-test_valid_length_percent('max(1vmin + 1%)', 'max(1vmin + 1%)');
-test_valid_length_percent('max(1vmax + 1%)', 'max(1vmax + 1%)');
+test_valid_length_percent('min(1px + 1%)', 'min(1% + 1px)');
+test_valid_length_percent('min(1cm + 1%)', 'min(1% + 1cm)');
+test_valid_length_percent('min(1mm + 1%)', 'min(1% + 1mm)');
+test_valid_length_percent('min(1Q + 1%)', 'min(1% + 1q)');
+test_valid_length_percent('min(1in + 1%)', 'min(1% + 1in)');
+test_valid_length_percent('min(1pc + 1%)', 'min(1% + 1pc)');
+test_valid_length_percent('min(1pt + 1%)', 'min(1% + 1pt)');
+test_valid_length_percent('min(1em + 1%)', 'min(1% + 1em)');
+test_valid_length_percent('min(1ex + 1%)', 'min(1% + 1ex)');
+test_valid_length_percent('min(1ch + 1%)', 'min(1% + 1ch)');
+test_valid_length_percent('min(1rem + 1%)', 'min(1% + 1rem)');
+test_valid_length_percent('min(1vh + 1%)', 'min(1% + 1vh)');
+test_valid_length_percent('min(1vw + 1%)', 'min(1% + 1vw)');
+test_valid_length_percent('min(1vmin + 1%)', 'min(1% + 1vmin)');
+test_valid_length_percent('min(1vmax + 1%)', 'min(1% + 1vmax)');
+test_valid_length_percent('max(1px + 1%)', 'max(1% + 1px)');
+test_valid_length_percent('max(1cm + 1%)', 'max(1% + 1cm)');
+test_valid_length_percent('max(1mm + 1%)', 'max(1% + 1mm)');
+test_valid_length_percent('max(1Q + 1%)', 'max(1% + 1q)');
+test_valid_length_percent('max(1in + 1%)', 'max(1% + 1in)');
+test_valid_length_percent('max(1pc + 1%)', 'max(1% + 1pc)');
+test_valid_length_percent('max(1pt + 1%)', 'max(1% + 1pt)');
+test_valid_length_percent('max(1em + 1%)', 'max(1% + 1em)');
+test_valid_length_percent('max(1ex + 1%)', 'max(1% + 1ex)');
+test_valid_length_percent('max(1ch + 1%)', 'max(1% + 1ch)');
+test_valid_length_percent('max(1rem + 1%)', 'max(1% + 1rem)');
+test_valid_length_percent('max(1vh + 1%)', 'max(1% + 1vh)');
+test_valid_length_percent('max(1vw + 1%)', 'max(1% + 1vw)');
+test_valid_length_percent('max(1vmin + 1%)', 'max(1% + 1vmin)');
+test_valid_length_percent('max(1vmax + 1%)', 'max(1% + 1vmax)');
test_valid_length_percent('min(20px, 10%)', 'min(20px, 10%)');
test_valid_length_percent('min(1em, 10%)', 'min(1em, 10%)');