mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Update web-platform-tests to revision 5721f7843f406054b8e02b0e33ff8e733830cc3d
This commit is contained in:
parent
f9e7c6b9dc
commit
1dbfe69c91
124 changed files with 2796 additions and 350 deletions
12
tests/wpt/web-platform-tests/css/css-page/inheritance.html
Normal file
12
tests/wpt/web-platform-tests/css/css-page/inheritance.html
Normal 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>
|
|
@ -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>
|
|
@ -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>
|
|
@ -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>
|
Loading…
Add table
Add a link
Reference in a new issue