Commit c1184792 authored by Gyuyoung Kim's avatar Gyuyoung Kim Committed by Commit Bot

[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/+/2131816Reviewed-by: default avatarRobert Ma <robertma@chromium.org>
Reviewed-by: default avatarDavid Grogan <dgrogan@chromium.org>
Commit-Queue: David Grogan <dgrogan@chromium.org>
Cr-Commit-Position: refs/heads/master@{#756138}
parent 36f27664
<!DOCTYPE html>
<html>
<link rel="stylesheet" href="resources/flexbox.css">
<link href="../support/flexbox.css" rel="stylesheet">
<style>
.flexbox {
background-color: grey;
......@@ -10,7 +10,7 @@
}
</style>
<body>
<p>Form controls that are stretched in a column flexbox should not overflow the flexbox.</p>
<p>This test passes if none of the form controls overflow.</p>
<div class="flexbox">
<input>
</div>
......
<!DOCTYPE html>
<html>
<link rel="stylesheet" href="resources/flexbox.css">
<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>Form controls that are stretched in a column flexbox should not overflow the flexbox.</p>
<p>This test passes if none of the form controls overflow.</p>
<div class="flexbox column">
<input>
</div>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment