Commit 275a95a0 authored by Julie Jeongeun Kim's avatar Julie Jeongeun Kim Committed by Commit Bot

[css-flexbox] Move undefined-min-width.html from css3/flexbox to WPT

This CL migrates this test out of
third_party/blink/web_tests/css3/flexbox and into the WPT-specific
directory, adding links to the relevant specs and a test assertion
describing its purpose and renames it to flex-minimum-size-002.html.

Bug: 1063749
Change-Id: Ia9479664c16a2ff8bb2c9ac70df5a4c0a275982d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2133538
Commit-Queue: Julie Kim <jkim@igalia.com>
Reviewed-by: default avatarRobert Ma <robertma@chromium.org>
Reviewed-by: default avatarDavid Grogan <dgrogan@chromium.org>
Cr-Commit-Position: refs/heads/master@{#756168}
parent 7b5000e7
<!DOCTYPE html>
<html>
<link href="resources/flexbox.css" rel="stylesheet">
<script src="../../resources/testharness.js"></script>
<script src="../../resources/testharnessreport.js"></script>
<script src="../../resources/check-layout-th.js"></script>
<title>CSS Flexbox: min-size when the child has a percentage min-size</title>
<link rel="help" href="https://drafts.csswg.org/css-flexbox/#algo-main-item">
<meta name="assert" content="This test ensures that min-size can not be negative when the child has a percentage min-size.">
<link href="support/flexbox.css" rel="stylesheet">
<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>
Test to make sure that we do not assert on this code.
<div class="flexbox column" style="max-height: 0; overflow: hidden; line-height: 13px;" data-expected-height="0">
<div style="min-height: 100%;" data-expected-height="0">This is a flex item.</div>
<div style="flex: none;" data-expected-height="13">Inflexible</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