Bug 1526767 [wpt PR 15287] - [css-overscroll-behavior] Computed values, a=testonly
authorEric Willigers <ewilligers@users.noreply.github.com>
Tue, 19 Feb 2019 11:46:26 +0000
changeset 519217 a5965112ab0f2f3fdd6dde49af8081ebb9a2edeb
parent 519216 b2d1b24dd99b273b6b1d0db52c1839d9e1ab8faf
child 519218 f750854e9708c7e13db89436f404aa3812df4324
push id10862
push userffxbld-merge
push dateMon, 11 Mar 2019 13:01:11 +0000
treeherdermozilla-beta@a2e7f5c935da [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerstestonly
bugs1526767, 15287
milestone67.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1526767 [wpt PR 15287] - [css-overscroll-behavior] Computed values, a=testonly Automatic update from web-platform-tests [css-overscroll-behavior] Computed values (#15287) The computed values of the overscroll-behavior-x and overscroll-behavior-y properties are the keywords as specified. https://drafts.csswg.org/css-overscroll-behavior/#property-index -- wpt-commits: 374bcf2e5aa678ce021ea8e8d0872114b9fd1acf wpt-pr: 15287
testing/web-platform/tests/css/css-overscroll-behavior/META.yml
testing/web-platform/tests/css/css-overscroll-behavior/parsing/overscroll-behavior-computed.html
--- a/testing/web-platform/tests/css/css-overscroll-behavior/META.yml
+++ b/testing/web-platform/tests/css/css-overscroll-behavior/META.yml
@@ -1,3 +1,4 @@
 spec: https://drafts.csswg.org/css-overscroll-behavior/
 suggested_reviewers:
   - majido
+  - theres-waldo
new file mode 100644
--- /dev/null
+++ b/testing/web-platform/tests/css/css-overscroll-behavior/parsing/overscroll-behavior-computed.html
@@ -0,0 +1,24 @@
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+<title>CSS Overscroll Behavior: getComputedValue().overscrollBehavior*</title>
+<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.">
+<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>
+'use strict';
+for (let property of ["overscroll-behavior-x", "overscroll-behavior-y"]) {
+  test_computed_value(property, "contain");
+  test_computed_value(property, "none");
+  test_computed_value(property, "auto");
+}
+</script>
+</body>
+</html>