Commit 6a1114ce authored by Julie Jeongeun Kim's avatar Julie Jeongeun Kim Committed by Commit Bot

[css-flexbox] Move inline-flex.html from css3/flexbox to WPT

Migrate 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.

Bug: 1063749
Change-Id: I6bbe8dfdf8a20049114b498e2bc4c0695526cd51
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2120998
Commit-Queue: David Grogan <dgrogan@chromium.org>
Reviewed-by: default avatarRobert Ma <robertma@chromium.org>
Reviewed-by: default avatarDavid Grogan <dgrogan@chromium.org>
Cr-Commit-Position: refs/heads/master@{#753774}
parent c6bc0de0
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<title>CSS Flexbox: Ensure proper formatting with display: inline-flex</title>
<link rel="help" href="https://www.w3.org/TR/css-flexbox-1/#flex-containers">
<link rel="help" href="https://www.w3.org/TR/css-flexbox-1/#flex-property">
<meta name="assert" content="This test checks that inline-flex generates a flex container box that is inline-level when placed in flow layout.">
<style> <style>
#testcase > div { #testcase > div {
height: 50px; height: 50px;
...@@ -11,9 +15,9 @@ ...@@ -11,9 +15,9 @@
flex: 1; flex: 1;
} }
</style> </style>
<script src="../../resources/testharness.js"></script> <script src="/resources/testharness.js"></script>
<script src="../../resources/testharnessreport.js"></script> <script src="/resources/testharnessreport.js"></script>
<script src="../../resources/check-layout-th.js"></script> <script src="/resources/check-layout-th.js"></script>
<body onload="checkLayout('#testcase')"> <body onload="checkLayout('#testcase')">
<div id=log></div> <div id=log></div>
<p>This test passes if the three green boxes are on the same horizontal line.</p> <p>This test passes if the three green boxes are on the same horizontal line.</p>
......
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