mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Update web-platform-tests to revision b'468d01bbd84da2babf265c6af46947be68713440'
This commit is contained in:
parent
35e95f55a1
commit
58e8ee674b
9438 changed files with 266112 additions and 106976 deletions
|
@ -21,6 +21,10 @@
|
|||
test_computed_value("flex-basis", "1px");
|
||||
test_computed_value("flex-basis", "400%");
|
||||
test_computed_value("flex-basis", "auto");
|
||||
test_computed_value("flex-basis", "content");
|
||||
test_computed_value("flex-basis", "fit-content");
|
||||
test_computed_value("flex-basis", "min-content");
|
||||
test_computed_value("flex-basis", "max-content");
|
||||
|
||||
test_computed_value("flex-basis", "calc(10px + 0.5em)", "30px");
|
||||
test_computed_value("flex-basis", "calc(10px - 0.5em)", "0px");
|
||||
|
|
|
@ -16,9 +16,10 @@ test_valid_value("flex-basis", "1px");
|
|||
test_valid_value("flex-basis", "calc(2em + 3ex)");
|
||||
test_valid_value("flex-basis", "400%");
|
||||
test_valid_value("flex-basis", "auto");
|
||||
|
||||
// The following is not yet supported by browsers:
|
||||
// test_valid_value("flex-basis", "content");
|
||||
test_valid_value("flex-basis", "fit-content");
|
||||
test_valid_value("flex-basis", "min-content");
|
||||
test_valid_value("flex-basis", "max-content");
|
||||
test_valid_value("flex-basis", "content");
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -46,6 +46,24 @@ test_shorthand_value('flex', '8 auto', {
|
|||
'flex-shrink': '1',
|
||||
'flex-basis': 'auto'
|
||||
});
|
||||
|
||||
test_shorthand_value('flex', 'content', {
|
||||
'flex-grow': '1',
|
||||
'flex-shrink': '1',
|
||||
'flex-basis': 'content'
|
||||
});
|
||||
|
||||
test_shorthand_value('flex', '0 fit-content', {
|
||||
'flex-grow': '0',
|
||||
'flex-shrink': '1',
|
||||
'flex-basis': 'fit-content'
|
||||
});
|
||||
|
||||
test_shorthand_value('flex', '1 0 max-content', {
|
||||
'flex-grow': '1',
|
||||
'flex-shrink': '0',
|
||||
'flex-basis': 'max-content'
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue