Update web-platform-tests to revision b'468d01bbd84da2babf265c6af46947be68713440'

This commit is contained in:
WPT Sync Bot 2021-09-07 11:16:33 +00:00 committed by cybai
parent 35e95f55a1
commit 58e8ee674b
9438 changed files with 266112 additions and 106976 deletions

View file

@ -2,9 +2,9 @@
<html>
<head>
<meta charset="utf-8">
<title>CSS Fonts Module Level 3: parsing font-synthesis with valid values</title>
<link rel="help" href="https://www.w3.org/TR/css-fonts-3/#font-synthesis-prop">
<meta name="assert" content="font-synthesis supports the full grammar 'none | [ weight || style ]'.">
<title>CSS Fonts Module: parsing font-synthesis with valid values</title>
<link rel="help" href="https://drafts.csswg.org/css-fonts/#font-synthesis">
<meta name="assert" content="font-synthesis supports the full grammar 'none | [ weight || style || small-caps ]'.">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/css/support/parsing-testcommon.js"></script>
@ -14,7 +14,13 @@
test_valid_value('font-synthesis', 'none');
test_valid_value('font-synthesis', 'weight');
test_valid_value('font-synthesis', 'style');
test_valid_value('font-synthesis', 'small-caps');
test_valid_value('font-synthesis', 'style weight', 'weight style');
test_valid_value('font-synthesis', 'small-caps weight', 'weight small-caps');
test_valid_value('font-synthesis', 'small-caps style', 'style small-caps');
test_valid_value('font-synthesis', 'style weight small-caps', 'weight style small-caps');
test_valid_value('font-synthesis', 'style small-caps weight ', 'weight style small-caps');
test_valid_value('font-synthesis', 'small-caps style weight ', 'weight style small-caps');
</script>
</body>
</html>