Update web-platform-tests to revision cd19ab5a91cc07cb42923c72cfad7c0af8ef8fbc

This commit is contained in:
WPT Sync Bot 2020-10-08 08:19:53 +00:00
parent 11d3f59edc
commit fef938d8cd
90 changed files with 1701 additions and 1510 deletions

View file

@ -0,0 +1,12 @@
<!DOCTYPE html>
<link rel="author" title="Scott Violet" href="mailto:sky@chromium.org">
<link rel="help" href="https://bugs.chromium.org/p/chromium/issues/detail?id=1134937">
<style>
.item {
background: cyan;
background-attachment: local;
overflow: clip;
border-style: solid
}
</style>
<div class="item">

View file

@ -0,0 +1,15 @@
<!doctype html>
<meta charset="utf-8">
<title>Overflow: clip can not be scrolled</title>
<link rel="help" href="https://www.w3.org/TR/css-overflow-3/#valdef-overflow-clip">
<link rel="author" title="Scott Violet" href="mailto:sky@chromium.org">
<style>
.child {
width: 100px;
height: 100px;
background-color: green;
}
</style>
<p>You should see two green squares (no red).
<div class="child"></div>
<div class="child"></div>

View file

@ -0,0 +1,46 @@
<!doctype html>
<html class="reftest-wait">
<meta charset="utf-8">
<title>Overflow: clip can not be scrolled</title>
<link rel="help" href="https://www.w3.org/TR/css-overflow-3/#valdef-overflow-clip">
<link rel="author" title="Scott Violet" href="mailto:sky@chromium.org">
<link rel="match" href="overflow-clip-cant-scroll-ref.html">
<style>
.parent {
width: 100px;
height: 100px;
overflow: clip;
}
.child1, .child2 {
width: 100px;
height: 100px;
flex: none;
}
.child1 {
background-color: green;
}
.child2 {
background-color: red;
}
</style>
<p>You should see two green squares (no red).
<div id="parent1" class="parent" style="display: flex">
<div class="child1"></div>
<div class="child2"></div>
</div>
<div id="parent2" class="parent">
<div class="child1"></div>
<div class="child2"></div>
</div>
<script>
onload = function() {
document.getElementById("parent1").scrollLeft = 100;
document.getElementById("parent2").scrollTop = 100;
document.documentElement.removeAttribute("class");
}
</script>