Update web-platform-tests to revision 90aab682c731f768872ca2b37f047752d5da2d8a

This commit is contained in:
WPT Sync Bot 2020-10-01 08:19:23 +00:00
parent 701b698999
commit a71c7758db
139 changed files with 2383 additions and 998 deletions

View file

@ -0,0 +1,13 @@
<!DOCTYPE html>
<title>Aspect-ratio items with undefined specified size suggestion</title>
<link rel="author" title="Ting-Yu Lin" href="mailto:tlin@mozilla.com">
<link rel="author" title="Mozilla" href="https://www.mozilla.org/">
<link rel="help" href="https://drafts.csswg.org/css-flexbox-1/#min-size-auto">
<link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1667668">
<link rel="match" href="../reference/ref-filled-green-100px-square-only.html">
<meta name="assert" content="Flex item with auto height and fixed max-height (in a column-oriented flex container) should have an undefined specified size suggestion.">
<p>Test passes if there is a filled green square.</p>
<div style="display: flex; flex-direction: column; ">
<img src="support/200x200-green.png" style="max-height:150px; width:100px;">
</div>

View file

@ -0,0 +1,13 @@
<!DOCTYPE html>
<title>Aspect-ratio items with undefined specified size suggestion</title>
<link rel="author" title="Ting-Yu Lin" href="mailto:tlin@mozilla.com">
<link rel="author" title="Mozilla" href="https://www.mozilla.org/">
<link rel="help" href="https://drafts.csswg.org/css-flexbox-1/#min-size-auto">
<link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1667668">
<link rel="match" href="../reference/ref-filled-green-100px-square-only.html">
<meta name="assert" content="Flex item with auto width and fixed max-width (in a row-oriented flex container) should have an undefined specified size suggestion.">
<p>Test passes if there is a filled green square.</p>
<div style="display: flex;">
<img src="support/200x200-green.png" style="max-width:150px; height:100px;">
</div>

View file

@ -0,0 +1,19 @@
<!DOCTYPE html>
<link rel="help" href="https://bugs.chromium.org/p/chromium/issues/detail?id=1127415">
<meta name="assert" content="The presence of a scrollbar should not make a min-sized flexbox, and a single flex-item differ in size.">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<div style="display: flex; width: 100px;">
<div id="outer" style="display: flex; width: min-content; height: 100px;">
<div id="inner" style="flex: 0 0 auto; overflow-y: auto;">
<div style="width: 100px; height: 3000px;"></div>
</div>
</div>
</div>
<script>
test(() => {
const outer = document.getElementById('outer');
const inner = document.getElementById('inner');
assert_equals(outer.getBoundingClientRect().width, inner.getBoundingClientRect().width);
});
</script>