Update web-platform-tests to revision b'b728032f59a396243864b0f8584e7211e3632005'

This commit is contained in:
WPT Sync Bot 2022-11-10 01:22:36 +00:00
parent ace9b32b1c
commit df68c4e5d1
15632 changed files with 514865 additions and 155000 deletions

View file

@ -174,6 +174,20 @@ test_interpolation({
{at: 1.5, expect: 'rgba(0, 0, 0, 0) -5px -10px 0px 0px, rgba(0, 0, 0, 0) -2.5px -15px 0px 0px inset'},
]);
// Test calc with comparison functions
test_interpolation({
property: 'box-shadow',
from: 'inset 0 0 0 0 black',
to: 'inset 0 0 0 calc(max(10em, 20px) / 2) black',
}, [
{at: -0.3, expect: 'rgb(0, 0, 0) 0px 0px 0px -4.5px inset'},
{at: 0, expect: 'rgb(0, 0, 0) 0px 0px 0px 0px inset'},
{at: 0.3, expect: 'rgb(0, 0, 0) 0px 0px 0px 4.5px inset'},
{at: 0.6, expect: 'rgb(0, 0, 0) 0px 0px 0px 9px inset'},
{at: 1, expect: 'rgb(0, 0, 0) 0px 0px 0px 15px inset'},
{at: 1.5, expect: 'rgb(0, 0, 0) 0px 0px 0px 22.5px inset'},
]);
// Test unmatched inset
test_no_interpolation({
property: 'box-shadow',