mirror of
https://github.com/servo/servo.git
synced 2025-08-11 08:25:32 +01:00
Update web-platform-tests to revision b'b6f6bf16fe6069aed53d28af86a79b8ff4963844'
This commit is contained in:
parent
0720f4f736
commit
8bfdc02dd8
590 changed files with 11442 additions and 3709 deletions
|
@ -8,6 +8,7 @@
|
|||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script src="/css/support/parsing-testcommon.js"></script>
|
||||
<script src="/css/support/shorthand-testcommon.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script>
|
||||
|
@ -60,6 +61,27 @@ test_valid_value('mask', 'intersect no-clip space round 1px 2px / contain view-b
|
|||
// To avoid unnecessarily losing test coverage, keep one of the test cases from back then.
|
||||
test_valid_value('mask', 'none alpha', 'alpha');
|
||||
|
||||
test_shorthand_value('mask', 'none', {
|
||||
'mask-image': 'none',
|
||||
'mask-position': '0%',
|
||||
'mask-size': 'auto',
|
||||
'mask-repeat': 'repeat',
|
||||
'mask-origin': 'border-box',
|
||||
'mask-clip': 'border-box',
|
||||
'mask-composite': 'add',
|
||||
'mask-mode': 'match-source',
|
||||
})
|
||||
test_shorthand_value('mask', 'none, linear-gradient(to left bottom, red, blue) padding-box', {
|
||||
'mask-image': 'none, linear-gradient(to left bottom, red, blue)',
|
||||
'mask-position': '0%, 0%',
|
||||
'mask-size': 'auto, auto',
|
||||
'mask-repeat': 'repeat, repeat',
|
||||
'mask-origin': 'border-box, padding-box',
|
||||
'mask-clip': 'border-box, padding-box',
|
||||
'mask-composite': 'add, add',
|
||||
'mask-mode': 'match-source, match-source',
|
||||
})
|
||||
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue