Update web-platform-tests to revision 5df56b25e1cb81f81fe16c88be839f9fd538b41e

This commit is contained in:
WPT Sync Bot 2019-12-01 08:24:26 +00:00
parent 1dd6ad7063
commit f170d55d3e
152 changed files with 3527 additions and 85 deletions

View file

@ -0,0 +1,20 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>CSS Text: getComputedStyle().wordBoundaryDetection</title>
<link rel="help" href="https://drafts.csswg.org/css-text-4/#word-boundary-detection">
<meta name="assert" content="word-boundary-detection computed value is specified keyword.">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/css/support/computed-testcommon.js"></script>
</head>
<body>
<div id="target"></div>
<script>
test_computed_value("word-boundary-detection", "normal");
test_computed_value("word-boundary-detection", "manual");
/* Not sure how to test for auto(<lang>) generically, as which one will parse depends on languages actually supported */
</script>
</body>
</html>

View file

@ -0,0 +1,20 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>CSS Text Module Test: parsing word-boundary-detection with invalid values</title>
<link rel="help" href="https://drafts.csswg.org/css-text-4/#word-boundary-detection">
<meta name="assert" content="word-boundary-detection supports only the grammar 'normal | manual | auto(<lang>)'.">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/css/support/parsing-testcommon.js"></script>
</head>
<body>
<script>
test_invalid_value("word-boundary-detection", "auto"); /*needs a language*/
test_invalid_value("word-boundary-detection", "auto()"); /*needs a language*/
test_invalid_value("word-boundary-detection", "none");
test_invalid_value("word-boundary-detection", "normal manual");
</script>
</body>
</html>

View file

@ -0,0 +1,19 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>CSS Text Module Test: parsing word-boundary-detection with valid values</title>
<link rel="help" href="https://drafts.csswg.org/css-text-4/#word-boundary-detection">
<meta name="assert" content="word-boundary-detection supports the full grammar 'normal | manual | auto(<lang>) '.">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/css/support/parsing-testcommon.js"></script>
</head>
<body>
<script>
test_valid_value("word-boundary-detection", "normal");
test_valid_value("word-boundary-detection", "manual");
/* Not sure how to test for auto(<lang>) generically, as which one will parse depends on languages actually supported */
</script>
</body>
</html>

View file

@ -0,0 +1,20 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>CSS Text: getComputedStyle().wordBoundaryExpansion</title>
<link rel="help" href="https://drafts.csswg.org/css-text-4/#word-boundary-expansion">
<meta name="assert" content="word-boundary-expansion computed value is specified keyword.">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/css/support/computed-testcommon.js"></script>
</head>
<body>
<div id="target"></div>
<script>
test_computed_value("word-boundary-expansion", "none");
test_computed_value("word-boundary-expansion", "space");
test_computed_value("word-boundary-expansion", "ideographic-space");
</script>
</body>
</html>

View file

@ -0,0 +1,20 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>CSS Text Module Test: parsing word-boundary-expansion with invalid values</title>
<link rel="help" href="https://drafts.csswg.org/css-text-4/#word-boundary-expansion">
<meta name="assert" content="word-boundary-expansion supports only the grammar 'none | space | ideographic-space'.">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/css/support/parsing-testcommon.js"></script>
</head>
<body>
<script>
test_invalid_value("word-boundary-expansion", "auto");
test_invalid_value("word-boundary-expansion", "normal");
test_invalid_value("word-boundary-expansion", "spaces");
test_invalid_value("word-boundary-expansion", "space ideographic-space");
</script>
</body>
</html>

View file

@ -0,0 +1,19 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>CSS Text Module Test: parsing word-boundary-expansion with valid values</title>
<link rel="help" href="https://drafts.csswg.org/css-text-4/#word-boundary-expansion">
<meta name="assert" content="word-boundary-expansion supports the full grammar 'none | space | ideographic-space'.">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/css/support/parsing-testcommon.js"></script>
</head>
<body>
<script>
test_valid_value("word-boundary-expansion", "none");
test_valid_value("word-boundary-expansion", "space");
test_valid_value("word-boundary-expansion", "ideographic-space");
</script>
</body>
</html>