Commit 1c578227 authored by Gyuyoung Kim's avatar Gyuyoung Kim Committed by Commit Bot

[css-flexbox] Move flex-flow-auto-margins-no-available-space-assert.html test to WPT

This CL moves flex-flow-auto-margins-no-available-space-assert.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: I6775022c3fc8572f78e7ec19ad88b91dfdcb7a23
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2120665
Commit-Queue: Gyuyoung Kim <gyuyoung@igalia.com>
Reviewed-by: default avatarRobert Ma <robertma@chromium.org>
Reviewed-by: default avatarDavid Grogan <dgrogan@chromium.org>
Cr-Commit-Position: refs/heads/master@{#753900}
parent e328c806
* { display: flex; padding-bottom: 20pt; min-height: 0.7%; margin-top: 6000%; flex-shrink: 0; flex-basis: 7000%; }
PASS
crbug.com/380201: Don't shrink below border/padding when stretching children within a flexbox with no available space.
window.checkLayout('abbr');
<!DOCTYPE html> <!DOCTYPE html>
<title>CSS Flexbox: flex-flow auto margin with no available space</title>
<link rel="help" href="https://www.w3.org/TR/css-flexbox-1/#flex-shrink-property">
<link rel="help" href="https://crbug.com/380201">
<meta name="assert" content="This test checks that a flexbox doesn't shrink below border/padding
when stretching children with no available space.">
<style> <style>
* { * {
display: flex; display: flex;
...@@ -9,11 +14,12 @@ ...@@ -9,11 +14,12 @@
flex-basis: 7000%; flex-basis: 7000%;
} }
</style> </style>
<script src="../../resources/check-layout.js"></script> <script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/resources/check-layout-th.js"></script>
<abbr data-expected-height=30210272> <abbr data-expected-height=30210272>
<input></input> <input></input>
</abbr> </abbr>
<p> crbug.com/380201: Don't shrink below border/padding when stretching children within a flexbox with no available space.</p>
<script> <script>
window.checkLayout('abbr'); window.checkLayout('abbr');
</script> </script>
\ No newline at end of file
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