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

This commit is contained in:
WPT Sync Bot 2022-01-20 04:38:55 +00:00 committed by cybai
parent 4401622eb1
commit b77ad115f6
16832 changed files with 270819 additions and 87621 deletions

View file

@ -106,5 +106,18 @@ test_interpolation({
{at: 1, expect: 'rgb(0, 128, 0) 10px 10px 10px'},
{at: 1.5, expect: 'rgb(0, 192, 0) 10px 10px 10px'},
]);
test_interpolation({
property: 'text-shadow',
from: 'black 0px 0px 0px',
to: 'black 1px 1px 1px',
}, [
{at: -0.3, expect: 'rgb(0, 0, 0) -0.3px -0.3px 0px'},
{at: 0, expect: 'rgb(0, 0, 0) 0px 0px 0px'},
{at: 0.3, expect: 'rgb(0, 0, 0) 0.3px 0.3px 0.3px'},
{at: 0.6, expect: 'rgb(0, 0, 0) 0.6px 0.6px 0.6px'},
{at: 1, expect: 'rgb(0, 0, 0) 1px 1px 1px'},
{at: 1.5, expect: 'rgb(0, 0, 0) 1.5px 1.5px 1.5px'},
]);
</script>
</body>