fune/testing/web-platform/tests/css/css-flexbox/stretch-input-in-column.html
Gyuyoung Kim 67ecaaa283 Bug 1626819 [wpt PR 22630] - [css-flexbox] Move stretch-input-in-column.html test to WPT, a=testonly
Automatic update from web-platform-tests
[css-flexbox] Move stretch-input-in-column.html test to WPT

This CL moves stretch-input-in-column[-expected].html test from
css3/css-flexbox to external/wpt/css/css-flexbox with WPT
styles, adding links to the relevant specs, and test description.

Additionally, stretch-input-in-column-expected.html is renamed to
stretch-input-in-column-ref.html.

Bug: 1063749
Change-Id: If9fa79e6cd85d15b0c29daea6aecdaae1b27d580
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2131816
Reviewed-by: Robert Ma <robertma@chromium.org>
Reviewed-by: David Grogan <dgrogan@chromium.org>
Commit-Queue: David Grogan <dgrogan@chromium.org>
Cr-Commit-Position: refs/heads/master@{#756138}

--

wpt-commits: 0bf1054dcf1186ad87c3b1dd57ea802232284cac
wpt-pr: 22630
2020-04-09 10:35:24 +00:00

36 lines
1.1 KiB
HTML

<!DOCTYPE html>
<html>
<title>CSS Flexbox: Stretch input form controls in flexbox column</title>
<link rel="help" href="https://drafts.csswg.org/css-flexbox/#flex-property">
<link rel="help" href="https://drafts.csswg.org/css-flexbox/#align-items-property">
<link rel="match" href="reference/stretch-input-in-column-ref.html">
<link href="support/flexbox.css" rel="stylesheet">
<meta name="assert" content="This test ensures that input form controls that are stretched in
a column flexbox should not overflow the flexbox.">
<style>
.flexbox {
background-color: grey;
}
</style>
<body>
<p>This test passes if none of the form controls overflow.</p>
<div class="flexbox column">
<input>
</div>
<div class="flexbox column align-content-flex-start">
<textarea class="align-self-stretch"></textarea>
</div>
<div class="flexbox column wrap">
<input type="button">
</div>
<div class="flexbox column">
<select></select>
</div>
<div class="flexbox column">
<legend style="border: 2px solid black">legend</legend>
</div>
<div class="flexbox column wrap">
<div type="border: 4px solid black; padding: 10px;">
</div>
</body>
</html>