aboutsummaryrefslogtreecommitdiffstats
path: root/tests/wpt/web-platform-tests/css/css-overflow
diff options
context:
space:
mode:
authorbors-servo <lbergstrom+bors@mozilla.com>2019-10-19 01:31:14 -0400
committerGitHub <noreply@github.com>2019-10-19 01:31:14 -0400
commit175c0d56ca48cea180500931f8a44acd1ac713be (patch)
tree61ff6e3a59ae24b33037a38f67e4330baa50ba8b /tests/wpt/web-platform-tests/css/css-overflow
parent605ddbecd4dfbbb67849cf63774b2d7635fc3601 (diff)
parentaff72973cf0b2d57dc83e479d1826f4112f5d380 (diff)
downloadservo-175c0d56ca48cea180500931f8a44acd1ac713be.tar.gz
servo-175c0d56ca48cea180500931f8a44acd1ac713be.zip
Auto merge of #24490 - servo-wpt-sync:wpt_update_18-10-2019, r=servo-wpt-sync
Sync WPT with upstream (18-10-2019) Automated downstream sync of changes from upstream as of 18-10-2019. [no-wpt-sync] r? @servo-wpt-sync
Diffstat (limited to 'tests/wpt/web-platform-tests/css/css-overflow')
-rw-r--r--tests/wpt/web-platform-tests/css/css-overflow/outline-with-opacity-crash.html11
-rw-r--r--tests/wpt/web-platform-tests/css/css-overflow/overflow-body-propagation-005.html17
-rw-r--r--tests/wpt/web-platform-tests/css/css-overflow/overflow-body-propagation-006.html17
3 files changed, 45 insertions, 0 deletions
diff --git a/tests/wpt/web-platform-tests/css/css-overflow/outline-with-opacity-crash.html b/tests/wpt/web-platform-tests/css/css-overflow/outline-with-opacity-crash.html
new file mode 100644
index 00000000000..556e3cfedcd
--- /dev/null
+++ b/tests/wpt/web-platform-tests/css/css-overflow/outline-with-opacity-crash.html
@@ -0,0 +1,11 @@
+<!DOCTYPE html>
+<link rel="author" title="Philip Rogers" href="mailto:pdr@chromium.org">
+<link rel="help" href="https://bugs.chromium.org/p/chromium/issues/detail?id=1011699">
+<span id="target" style="outline: 1px solid black; will-change: opacity; opacity: 0.7;">test</span>
+<script src="/resources/testharness.js"></script>
+<script src="/resources/testharnessreport.js"></script>
+<script>
+ test(()=> {
+ target.style.background = "lightblue";
+ }, "no crash");
+</script>
diff --git a/tests/wpt/web-platform-tests/css/css-overflow/overflow-body-propagation-005.html b/tests/wpt/web-platform-tests/css/css-overflow/overflow-body-propagation-005.html
new file mode 100644
index 00000000000..e4de5769584
--- /dev/null
+++ b/tests/wpt/web-platform-tests/css/css-overflow/overflow-body-propagation-005.html
@@ -0,0 +1,17 @@
+<!doctype html>
+<title>CSS Overflow Test: overscroll-behavior doesn't stop overflow from being propagated from the body</title>
+<link rel="author" title="Emilio Cobos Álvarez" href="mailto:emilio@crisal.io">
+<link rel="author" title="Mozilla" href="https://mozilla.org">
+<link rel="help" href="https://drafts.csswg.org/css-overflow/#overflow-propagation">
+<link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1586600">
+<link rel="match" href="reference/overflow-body-propagation-ref.html">
+<style>
+ :root {
+ overscroll-behavior-y: contain;
+ }
+ body {
+ overflow: scroll;
+ margin-top: 100px;
+ }
+</style>
+<body>The viewport should have scrollbars, not the body.</body>
diff --git a/tests/wpt/web-platform-tests/css/css-overflow/overflow-body-propagation-006.html b/tests/wpt/web-platform-tests/css/css-overflow/overflow-body-propagation-006.html
new file mode 100644
index 00000000000..47581506835
--- /dev/null
+++ b/tests/wpt/web-platform-tests/css/css-overflow/overflow-body-propagation-006.html
@@ -0,0 +1,17 @@
+<!doctype html>
+<title>CSS Overflow Test: scroll-snap-type doesn't stop overflow from being propagated from the body</title>
+<link rel="author" title="Emilio Cobos Álvarez" href="mailto:emilio@crisal.io">
+<link rel="author" title="Mozilla" href="https://mozilla.org">
+<link rel="help" href="https://drafts.csswg.org/css-overflow/#overflow-propagation">
+<link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1586600">
+<link rel="match" href="reference/overflow-body-propagation-ref.html">
+<style>
+ :root {
+ scroll-snap-type: both mandatory;
+ }
+ body {
+ overflow: scroll;
+ margin-top: 100px;
+ }
+</style>
+<body>The viewport should have scrollbars, not the body.</body>