Skip to content

Commit

Permalink
[css-flexbox] Move stretched-child-shrink-on-relayout.html test to WPT
Browse files Browse the repository at this point in the history
This CL moves stretched-child-shrink-on-relayout.html test from
css3/css-flexbox to external/wpt/css/css-flexbox with WPT
styles, adding links to the relevant specs, and test description.

Bug: 1063749
Change-Id: Icfbab7a577ea707f7acd34135911477bdc9a7a73
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2130948
Reviewed-by: David Grogan <dgrogan@chromium.org>
Reviewed-by: Robert Ma <robertma@chromium.org>
Commit-Queue: Gyuyoung Kim <gyuyoung@igalia.com>
Cr-Commit-Position: refs/heads/master@{#755650}
  • Loading branch information
Gyuyoung authored and Commit Bot committed Apr 2, 2020
1 parent 6894af5 commit 25908be
Showing 1 changed file with 7 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
<!DOCTYPE html>
<title>CSS Flexbox: Shrink stretched child on relayout</title>
<link rel="help" href="https://drafts.csswg.org/css-flexbox/#flex-property">
<link rel="help" href="https://drafts.csswg.org/css-flexbox/#flex-flow-property">
<meta name="assert" content="This ensures that flexbox shrinks stretched children after removing a sibling, in various writing-modes and flows.">
<style>
.flexbox {
display: flex;
Expand Down Expand Up @@ -33,9 +37,9 @@
}
</style>
</head>
<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>

Expand Down

0 comments on commit 25908be

Please sign in to comment.