Commit 427961c5 authored by Gyuyoung Kim's avatar Gyuyoung Kim Committed by Commit Bot

[css-flexbox] Move flex-column-relayout-assert.html test from css3/flexbox to WPT

This CL moves flex-column-relayout-assert.html test
from css/css-flexbox to external/wpt/css/css-flexbox
with WPT styles, adding links to the relevant specs,
a description of this test, and a title.

Bug: 1063749
Change-Id: Ic68aa0b7f4b254ce10f178897a23f0b6171dd788
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2119460Reviewed-by: default avatarRobert Ma <robertma@chromium.org>
Reviewed-by: default avatarDavid Grogan <dgrogan@chromium.org>
Commit-Queue: Gyuyoung Kim <gyuyoung@igalia.com>
Cr-Commit-Position: refs/heads/master@{#753457}
parent 4b9d9276
<!DOCTYPE html>
<link href="resources/flexbox.css" rel="stylesheet">
<title>CSS Flexbox: Column height with padding</title>
<link href="support/flexbox.css" rel="stylesheet">
<link rel="help" href="https://www.w3.org/TR/css-flexbox-1/#valdef-flex-direction-column">
<link rel="help" href="https://www.w3.org/TR/css-flexbox-1/#item-margins">
<meta name="assert" content="This test checks that height of flex container works with padding">
<style>
.flexbox {
background-color: green;
}
</style>
<script src="../../resources/testharness.js"></script>
<script src="../../resources/testharnessreport.js"></script>
<script src="../../resources/check-layout-th.js"></script>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/resources/check-layout-th.js"></script>
<body onload="checkLayout('.flexbox')">
<div id=log></div>
<p>You should see a green rectangle, 20px high.</p>
<p>You should see a green rectangle, 40px high.</p>
<div class="flexbox column" data-expected-height="40">
<div id="child" data-expected-height="40"></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