mirror of
https://github.com/servo/servo.git
synced 2025-08-11 08:25:32 +01:00
Update web-platform-tests to revision b'ee6da9d71d0268d7fdb04e8e5b26858f46ee0cc4'
This commit is contained in:
parent
4401622eb1
commit
b77ad115f6
16832 changed files with 270819 additions and 87621 deletions
|
@ -94,6 +94,19 @@ test_interpolation({
|
|||
{at: 1.5, expect: 'rgb(255, 248, 0) -30px -20px 35px -9px'},
|
||||
]);
|
||||
|
||||
test_interpolation({
|
||||
property: 'box-shadow',
|
||||
from: '0px 0px 0px 0px black',
|
||||
to: '1px 1px 1px 1px black',
|
||||
}, [
|
||||
{at: -0.3, expect: 'rgb(0, 0, 0) -0.3px -0.3px 0px -0.3px'},
|
||||
{at: 0, expect: 'rgb(0, 0, 0) 0px 0px 0px 0px'},
|
||||
{at: 0.3, expect: 'rgb(0, 0, 0) 0.3px 0.3px 0.3px 0.3px'},
|
||||
{at: 0.6, expect: 'rgb(0, 0, 0) 0.6px 0.6px 0.6px 0.6px'},
|
||||
{at: 1, expect: 'rgb(0, 0, 0) 1px 1px 1px 1px'},
|
||||
{at: 1.5, expect: 'rgb(0, 0, 0) 1.5px 1.5px 1.5px 1.5px'},
|
||||
]);
|
||||
|
||||
// Test with color as first value.
|
||||
test_interpolation({
|
||||
property: 'box-shadow',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue