mirror of
https://github.com/servo/servo.git
synced 2025-08-07 06:25:32 +01:00
Update web-platform-tests to revision 6856483bcc86322198f10e0c42385a7f9127eb66
This commit is contained in:
parent
b1a2b6b5bf
commit
ff06f1d031
265 changed files with 7539 additions and 988 deletions
|
@ -19,14 +19,17 @@ test_valid_value("rotate", "0deg");
|
|||
test_valid_value("rotate", "100 200 300 400grad");
|
||||
test_valid_value("rotate", "400grad 100 200 300", "100 200 300 400grad");
|
||||
|
||||
test_valid_value("rotate", "x 400grad", "1 0 0 400grad");
|
||||
test_valid_value("rotate", "400grad x", "1 0 0 400grad");
|
||||
test_valid_value("rotate", "x 400grad");
|
||||
test_valid_value("rotate", "400grad x", "x 400grad");
|
||||
test_valid_value("rotate", "1 0 0 400grad", "x 400grad");
|
||||
|
||||
test_valid_value("rotate", "y 400grad", "0 1 0 400grad");
|
||||
test_valid_value("rotate", "400grad y", "0 1 0 400grad");
|
||||
test_valid_value("rotate", "y 400grad");
|
||||
test_valid_value("rotate", "400grad y", "y 400grad");
|
||||
test_valid_value("rotate", "0 1 0 400grad", "y 400grad");
|
||||
|
||||
test_valid_value("rotate", "z 400grad", "0 0 1 400grad");
|
||||
test_valid_value("rotate", "400grad z", "0 0 1 400grad");
|
||||
test_valid_value("rotate", "z 400grad");
|
||||
test_valid_value("rotate", "400grad z", "z 400grad");
|
||||
test_valid_value("rotate", "0 0 1 400grad", "z 400grad");
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -17,9 +17,12 @@ test_valid_value("translate", "none");
|
|||
test_valid_value("translate", "0px");
|
||||
test_valid_value("translate", "100%");
|
||||
|
||||
test_valid_value("translate", "100px 0px", "100px");
|
||||
test_valid_value("translate", "100px 0%", "100px");
|
||||
test_valid_value("translate", "100px 200%");
|
||||
test_valid_value("translate", "100% 200px");
|
||||
|
||||
test_valid_value("translate", "100px 200px 0px");
|
||||
test_valid_value("translate", "100px 200px 300px");
|
||||
test_valid_value("translate", "100% 200% 300px");
|
||||
|
||||
|
|
|
@ -31,7 +31,7 @@
|
|||
|
||||
test(function(){
|
||||
target.style = 'translate: calc(30px + 20%) calc(-200px + 100%);';
|
||||
assert_equals(getComputedStyle(target).translate, 'calc(30px + 20%) calc(-200px + 100%)');
|
||||
assert_equals(getComputedStyle(target).translate, 'calc(20% + 30px) calc(100% - 200px)');
|
||||
}, 'translate supports calc');
|
||||
|
||||
test(function(){
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue