mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Update web-platform-tests to revision 36acf7a01cb8ffbbafbd578229c5ad3fde2e47cc
This commit is contained in:
parent
305312e93b
commit
4499a0fbb6
151 changed files with 4858 additions and 2407 deletions
|
@ -6,6 +6,8 @@
|
|||
<link rel="help" href="https://drafts.csswg.org/css-overscroll-behavior/#overscroll-behavior-properties">
|
||||
<meta name="assert" content="overscroll-behavior-x computed value is as specified.">
|
||||
<meta name="assert" content="overscroll-behavior-y computed value is as specified.">
|
||||
<meta name="assert" content="overscroll-behavior-inline computed value is as specified.">
|
||||
<meta name="assert" content="overscroll-behavior-block computed value is as specified.">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script src="/css/support/computed-testcommon.js"></script>
|
||||
|
@ -14,7 +16,7 @@
|
|||
<div id="target"></div>
|
||||
<script>
|
||||
'use strict';
|
||||
for (let property of ["overscroll-behavior-x", "overscroll-behavior-y"]) {
|
||||
for (let property of ["overscroll-behavior-x", "overscroll-behavior-y", "overscroll-behavior-inline", "overscroll-behavior-block"]) {
|
||||
test_computed_value(property, "contain");
|
||||
test_computed_value(property, "none");
|
||||
test_computed_value(property, "auto");
|
||||
|
|
|
@ -18,7 +18,7 @@ test_invalid_value("overscroll-behavior", "0");
|
|||
test_invalid_value("overscroll-behavior", "contain contain contain");
|
||||
|
||||
|
||||
for (let property of ["overscroll-behavior-x", "overscroll-behavior-y"]) {
|
||||
for (let property of ["overscroll-behavior-x", "overscroll-behavior-y", "overscroll-behavior-inline", "overscroll-behavior-block"]) {
|
||||
test_invalid_value(property, "normal");
|
||||
test_invalid_value(property, "0");
|
||||
test_invalid_value(property, "contain contain");
|
||||
|
|
|
@ -26,7 +26,7 @@ test_valid_value("overscroll-behavior", "none none", "none");
|
|||
test_valid_value("overscroll-behavior", "auto auto", "auto");
|
||||
|
||||
|
||||
for (let property of ["overscroll-behavior-x", "overscroll-behavior-y"]) {
|
||||
for (let property of ["overscroll-behavior-x", "overscroll-behavior-y", "overscroll-behavior-inline", "overscroll-behavior-block"]) {
|
||||
test_valid_value(property, "contain");
|
||||
test_valid_value(property, "none");
|
||||
test_valid_value(property, "auto");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue