Modified: trunk/LayoutTests/ChangeLog (253088 => 253089)
--- trunk/LayoutTests/ChangeLog 2019-12-04 03:44:53 UTC (rev 253088)
+++ trunk/LayoutTests/ChangeLog 2019-12-04 04:11:21 UTC (rev 253089)
@@ -1,3 +1,13 @@
+2019-12-03 Simon Fraser <[email protected]>
+
+ Unreviewed test gardening.
+
+ Update legacy-animation-engine/fast/css/calc-with-angle-time-frequency.html to match fast/css/calc-with-angle-time-frequency.html
+ for new calc() behavior.
+
+ * legacy-animation-engine/fast/css/calc-with-angle-time-frequency-expected.txt:
+ * legacy-animation-engine/fast/css/calc-with-angle-time-frequency.html:
+
2019-12-03 John Wilander <[email protected]>
Resource Load Statistics (experimental): Delete non-cookie website data after 7 days of no user interaction
Modified: trunk/LayoutTests/legacy-animation-engine/fast/css/calc-with-angle-time-frequency-expected.txt (253088 => 253089)
--- trunk/LayoutTests/legacy-animation-engine/fast/css/calc-with-angle-time-frequency-expected.txt 2019-12-04 03:44:53 UTC (rev 253088)
+++ trunk/LayoutTests/legacy-animation-engine/fast/css/calc-with-angle-time-frequency-expected.txt 2019-12-04 04:11:21 UTC (rev 253089)
@@ -7,13 +7,13 @@
PASS testDiv.style['-webkit-filter'] is "hue-rotate(calc(150deg))"
PASS window.getComputedStyle(testDiv).getPropertyValue('-webkit-filter') is "hue-rotate(150deg)"
testDiv.style['-webkit-filter'] = 'hue-rotate(calc(300rad/2))'
-FAIL testDiv.style['-webkit-filter'] should be hue-rotate(calc(150rad)). Was hue-rotate(calc(8594.366926962348deg)).
+PASS testDiv.style['-webkit-filter'] is "hue-rotate(calc(8594.366926962348deg))"
PASS window.getComputedStyle(testDiv).getPropertyValue('-webkit-filter') is "hue-rotate(8594.366926962348deg)"
testDiv.style['-webkit-filter'] = 'hue-rotate(calc(300grad/2))'
-FAIL testDiv.style['-webkit-filter'] should be hue-rotate(calc(150grad)). Was hue-rotate(calc(135deg)).
+PASS testDiv.style['-webkit-filter'] is "hue-rotate(calc(135deg))"
PASS window.getComputedStyle(testDiv).getPropertyValue('-webkit-filter') is "hue-rotate(135deg)"
testDiv.style['-webkit-filter'] = 'hue-rotate(calc(3turn/2))'
-FAIL testDiv.style['-webkit-filter'] should be hue-rotate(calc(1.5turn)). Was hue-rotate(calc(540deg)).
+PASS testDiv.style['-webkit-filter'] is "hue-rotate(calc(540deg))"
PASS window.getComputedStyle(testDiv).getPropertyValue('-webkit-filter') is "hue-rotate(540deg)"
testDiv.style['-webkit-filter'] = 'hue-rotate(calc(1turn + 10deg))'
PASS testDiv.style['-webkit-filter'] is "hue-rotate(calc(370deg))"
@@ -22,13 +22,13 @@
PASS testDiv.style['-webkit-filter'] is "hue-rotate(calc(330deg))"
PASS window.getComputedStyle(testDiv).getPropertyValue('-webkit-filter') is "hue-rotate(330deg)"
testDiv.style['-webkit-filter'] = 'hue-rotate(calc(2turn + 1turn))'
-FAIL testDiv.style['-webkit-filter'] should be hue-rotate(calc(3turn)). Was hue-rotate(calc(1080deg)).
+PASS testDiv.style['-webkit-filter'] is "hue-rotate(calc(1080deg))"
PASS window.getComputedStyle(testDiv).getPropertyValue('-webkit-filter') is "hue-rotate(1080deg)"
testDiv.style['transition-delay'] = 'calc(300ms/2)'
PASS testDiv.style['transition-delay'] is "calc(150ms)"
PASS window.getComputedStyle(testDiv).getPropertyValue('transition-delay') is "0.15s"
testDiv.style['transition-delay'] = 'calc(300s/2)'
-FAIL testDiv.style['transition-delay'] should be calc(150s). Was calc(150000ms).
+PASS testDiv.style['transition-delay'] is "calc(150000ms)"
PASS window.getComputedStyle(testDiv).getPropertyValue('transition-delay') is "150s"
testDiv.style['transition-delay'] = 'calc(10s + 100ms)'
PASS testDiv.style['transition-delay'] is "calc(10100ms)"
@@ -37,7 +37,7 @@
PASS testDiv.style['transition-delay'] is "calc(10100ms)"
PASS window.getComputedStyle(testDiv).getPropertyValue('transition-delay') is "10.1s"
testDiv.style['transition-delay'] = 'calc(4s + 1s)'
-FAIL testDiv.style['transition-delay'] should be calc(5s). Was calc(5000ms).
+PASS testDiv.style['transition-delay'] is "calc(5000ms)"
PASS window.getComputedStyle(testDiv).getPropertyValue('transition-delay') is "5s"
testDiv.style['transition-delay'] = 'calc(4ms + 1ms)'
PASS testDiv.style['transition-delay'] is "calc(5ms)"
Modified: trunk/LayoutTests/legacy-animation-engine/fast/css/calc-with-angle-time-frequency.html (253088 => 253089)
--- trunk/LayoutTests/legacy-animation-engine/fast/css/calc-with-angle-time-frequency.html 2019-12-04 03:44:53 UTC (rev 253088)
+++ trunk/LayoutTests/legacy-animation-engine/fast/css/calc-with-angle-time-frequency.html 2019-12-04 04:11:21 UTC (rev 253089)
@@ -14,15 +14,15 @@
shouldBeEqualToString("window.getComputedStyle(testDiv).getPropertyValue('-webkit-filter')", "hue-rotate(150deg)");
evalAndLog("testDiv.style['-webkit-filter'] = 'hue-rotate(calc(300rad/2))'");
- shouldBeEqualToString("testDiv.style['-webkit-filter']", "hue-rotate(calc(150rad))");
+ shouldBeEqualToString("testDiv.style['-webkit-filter']", "hue-rotate(calc(8594.366926962348deg))");
shouldBeEqualToString("window.getComputedStyle(testDiv).getPropertyValue('-webkit-filter')", "hue-rotate(8594.366926962348deg)");
evalAndLog("testDiv.style['-webkit-filter'] = 'hue-rotate(calc(300grad/2))'");
- shouldBeEqualToString("testDiv.style['-webkit-filter']", "hue-rotate(calc(150grad))");
+ shouldBeEqualToString("testDiv.style['-webkit-filter']", "hue-rotate(calc(135deg))");
shouldBeEqualToString("window.getComputedStyle(testDiv).getPropertyValue('-webkit-filter')", "hue-rotate(135deg)");
evalAndLog("testDiv.style['-webkit-filter'] = 'hue-rotate(calc(3turn/2))'");
- shouldBeEqualToString("testDiv.style['-webkit-filter']", "hue-rotate(calc(1.5turn))");
+ shouldBeEqualToString("testDiv.style['-webkit-filter']", "hue-rotate(calc(540deg))");
shouldBeEqualToString("window.getComputedStyle(testDiv).getPropertyValue('-webkit-filter')", "hue-rotate(540deg)");
evalAndLog("testDiv.style['-webkit-filter'] = 'hue-rotate(calc(1turn + 10deg))'");
@@ -34,7 +34,7 @@
shouldBeEqualToString("window.getComputedStyle(testDiv).getPropertyValue('-webkit-filter')", "hue-rotate(330deg)");
evalAndLog("testDiv.style['-webkit-filter'] = 'hue-rotate(calc(2turn + 1turn))'");
- shouldBeEqualToString("testDiv.style['-webkit-filter']", "hue-rotate(calc(3turn))");
+ shouldBeEqualToString("testDiv.style['-webkit-filter']", "hue-rotate(calc(1080deg))");
shouldBeEqualToString("window.getComputedStyle(testDiv).getPropertyValue('-webkit-filter')", "hue-rotate(1080deg)");
// Time units.
@@ -43,7 +43,7 @@
shouldBeEqualToString("window.getComputedStyle(testDiv).getPropertyValue('transition-delay')", "0.15s");
evalAndLog("testDiv.style['transition-delay'] = 'calc(300s/2)'");
- shouldBeEqualToString("testDiv.style['transition-delay']", "calc(150s)");
+ shouldBeEqualToString("testDiv.style['transition-delay']", "calc(150000ms)");
shouldBeEqualToString("window.getComputedStyle(testDiv).getPropertyValue('transition-delay')", "150s");
evalAndLog("testDiv.style['transition-delay'] = 'calc(10s + 100ms)'");
@@ -55,7 +55,7 @@
shouldBeEqualToString("window.getComputedStyle(testDiv).getPropertyValue('transition-delay')", "10.1s");
evalAndLog("testDiv.style['transition-delay'] = 'calc(4s + 1s)'");
- shouldBeEqualToString("testDiv.style['transition-delay']", "calc(5s)");
+ shouldBeEqualToString("testDiv.style['transition-delay']", "calc(5000ms)");
shouldBeEqualToString("window.getComputedStyle(testDiv).getPropertyValue('transition-delay')", "5s");
evalAndLog("testDiv.style['transition-delay'] = 'calc(4ms + 1ms)'");