Update web-platform-tests to revision cf8a15a334c6eb3b044b3db8a933436c2365819d

This commit is contained in:
WPT Sync Bot 2020-03-28 08:19:23 +00:00
parent 7d66871a9f
commit f4e67a0197
76 changed files with 1744 additions and 114 deletions

View file

@ -0,0 +1,101 @@
<!DOCTYPE html>
<html>
<title>CSS Flexbox: Height with overflow: auto.</title>
<link href="support/flexbox.css" rel="stylesheet">
<link rel="help" href="https://www.w3.org/TR/css-flexbox-1/#flex-direction-property">
<link rel="help" href="https://www.w3.org/TR/css-overflow-4/#classic-scrollbars">
<meta name="assert" content="This test ensures that flexbox with 'flex-direction: row|row-reverse' and a flex item child with 'overflow: auto' has the proper height."/>
<style>
.flexbox {
border: 5px solid green;
position: relative;
width: 50px;
}
.inline-flexbox {
border: 5px solid green;
position: relative;
height: 50px;
}
.overflow {
border: 1px solid red;
overflow: auto;
min-width: 0;
min-height: 0;
}
.vertical {
writing-mode: vertical-rl;
}
</style>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/resources/check-layout-th.js"></script>
<body onload="checkLayout('.flexbox, .inline-flexbox')">
<div id=log></div>
<div class="flexbox" data-expected-height="47">
<div class="overflow"><div style="width: 100px; height: 20px"></div></div>
</div>
<div class="flexbox row-reverse" data-expected-height="47">
<div class="overflow"><div style="width: 100px; height: 20px"></div></div>
</div>
<div class="flexbox vertical" data-expected-height="47">
<div class="overflow"><div style="width: 100px; height: 20px"></div></div>
</div>
<div class="flexbox row-reverse vertical" data-expected-height="47">
<div class="overflow"><div style="width: 100px; height: 20px"></div></div>
</div>
<div class="flexbox" data-expected-height="47">
<div class="overflow align-self-baseline"><div style="width: 100px; height: 20px"></div></div>
</div>
<div class="flexbox row-reverse" data-expected-height="47">
<div class="overflow align-self-baseline"><div style="width: 100px; height: 20px"></div></div>
</div>
<div class="flexbox vertical" data-expected-height="32">
<div class="overflow align-self-baseline"><div style="width: 100px; height: 20px"></div></div>
</div>
<div class="flexbox row-reverse vertical" data-expected-height="32">
<div class="overflow align-self-baseline"><div style="width: 100px; height: 20px"></div></div>
</div>
<div class="inline-flexbox column" data-expected-width="47">
<div class="overflow"><div style="width: 20px; height: 100px"></div></div>
</div>
<div class="inline-flexbox column-reverse" data-expected-width="47">
<div class="overflow"><div style="width: 20px; height: 100px"></div></div>
</div>
<div class="inline-flexbox column vertical" data-expected-width="47">
<div class="overflow"><div style="width: 20px; height: 100px"></div></div>
</div>
<div class="inline-flexbox column-reverse vertical" data-expected-width="47">
<div class="overflow"><div style="width: 20px; height: 100px"></div></div>
</div>
<div class="inline-flexbox column" data-expected-width="47">
<div class="overflow align-self-baseline"><div style="width: 20px; height: 100px"></div></div>
</div>
<div class="inline-flexbox column-reverse" data-expected-width="47">
<div class="overflow align-self-baseline"><div style="width: 20px; height: 100px"></div></div>
</div>
<div class="inline-flexbox column vertical" data-expected-width="32">
<div class="overflow align-self-baseline"><div style="width: 20px; height: 100px"></div></div>
</div>
<div class="inline-flexbox column-reverse vertical" data-expected-width="32">
<div class="overflow align-self-baseline"><div style="width: 20px; height: 100px"></div></div>
</div>
</body>
</html>