mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Update web-platform-tests to revision a3a4442b04c37155f81c4ad4ae9c06339f76ce14
This commit is contained in:
parent
7b653cad7b
commit
ba0f5f096a
204 changed files with 4645 additions and 1001 deletions
|
@ -65,4 +65,16 @@ test_interpolation({
|
|||
{at: 1, expect: '1'},
|
||||
{at: 1.5, expect: '1'}
|
||||
]);
|
||||
|
||||
test_no_interpolation({
|
||||
property: 'column-count',
|
||||
from: 'initial',
|
||||
to: '5',
|
||||
});
|
||||
|
||||
test_no_interpolation({
|
||||
property: 'column-count',
|
||||
from: 'unset',
|
||||
to: '5',
|
||||
});
|
||||
</script>
|
||||
|
|
|
@ -74,4 +74,32 @@ test_interpolation({
|
|||
{at: 1, expect: 'rgb(170, 70, 70)'},
|
||||
{at: 1.5, expect: 'rgb(220, 20, 70)'},
|
||||
]);
|
||||
|
||||
test_interpolation({
|
||||
property: 'column-rule-color',
|
||||
from: 'unset',
|
||||
to: 'rgb(0, 255, 0)',
|
||||
}, [
|
||||
{at: -5, expect: 'rgb(255, 0, 255)'},
|
||||
{at: -0.4, expect: 'rgb(98, 136, 98)'},
|
||||
{at: 0, expect: 'rgb(70, 170, 70)'},
|
||||
{at: 0.2, expect: 'rgb(56, 187, 56)'},
|
||||
{at: 0.6, expect: 'rgb(28, 221, 28)'},
|
||||
{at: 1, expect: 'rgb(0, 255, 0)'},
|
||||
{at: 1.5, expect: 'rgb(0, 255, 0)'},
|
||||
]);
|
||||
|
||||
test_interpolation({
|
||||
property: 'column-rule-color',
|
||||
from: 'orange',
|
||||
to: 'blue'
|
||||
}, [
|
||||
{at: -5, expect: '#ffff00'},
|
||||
{at: -0.4, expect: '#ffe700'},
|
||||
{at: 0, expect: 'orange'},
|
||||
{at: 0.2, expect: '#cc8433'},
|
||||
{at: 0.6, expect: '#664299'},
|
||||
{at: 1, expect: 'blue'},
|
||||
{at: 1.5, expect: 'blue'}
|
||||
]);
|
||||
</script>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue