Update web-platform-tests to revision 5721f7843f406054b8e02b0e33ff8e733830cc3d

This commit is contained in:
WPT Sync Bot 2020-03-31 08:18:29 +00:00
parent f9e7c6b9dc
commit 1dbfe69c91
124 changed files with 2796 additions and 350 deletions

View file

@ -0,0 +1,12 @@
<!DOCTYPE html>
<link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org">
<link rel="help" href="https://www.w3.org/TR/css-page-3/">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/css/support/inheritance-testcommon.js"></script>
<div id="container">
<div id="target"></div>
</div>
<script>
assert_not_inherited("page", "auto", "koko");
</script>

View file

@ -0,0 +1,15 @@
<!DOCTYPE html>
<link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org">
<link rel="help" href="https://www.w3.org/TR/css-page-3/#using-named-pages">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/css/support/computed-testcommon.js"></script>
<div id="target"></div>
<script>
test_computed_value("page", "auto");
test_computed_value("page", "AUTO", "auto");
test_computed_value("page", "blablabla");
test_computed_value("page", "BLABLABLA");
test_computed_value("page", "table");
test_computed_value("page", "TABLE");
</script>

View file

@ -0,0 +1,12 @@
<!DOCTYPE html>
<link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org">
<link rel="help" href="https://www.w3.org/TR/css-page-3/#using-named-pages">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/css/support/parsing-testcommon.js"></script>
<script>
test_invalid_value("page", "not valid");
test_invalid_value("page", "not,valid");
test_invalid_value("page", "123px");
test_invalid_value("page", "calc(10%+1px)");
</script>

View file

@ -0,0 +1,11 @@
<!DOCTYPE html>
<link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org">
<link rel="help" href="https://www.w3.org/TR/css-page-3/#using-named-pages">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/css/support/parsing-testcommon.js"></script>
<script>
test_valid_value("page", "auto");
test_valid_value("page", "table");
test_valid_value("page", "xyzabc");
</script>