Update web-platform-tests to revision e257d80ac7151243d0fcf6f4d5397b0f3f3629cc

This commit is contained in:
WPT Sync Bot 2020-10-22 08:21:22 +00:00
parent 011458ba95
commit 09159edcc2
72 changed files with 613 additions and 276 deletions

View file

@ -0,0 +1,22 @@
<!DOCTYPE html>
<title>SVG root as flex item</title>
<link rel="author" title="David Grogan" href="mailto:dgrogan@chromium.org">
<link rel="help" href="https://drafts.csswg.org/css-flexbox/#algo-main-item" title="Part E">
<link rel="help" href="https://crbug.com/965672">
<meta name="assert" content="When SVG has aspect ratio and no intrinsic height its flex-basis is available width * ratio, not 150px, when in a column flexbox." />
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/resources/check-layout-th.js"></script>
The test passes if you see a 600x300 blue rectangle.
<div style="display: flex; flex-direction: column; width: 600px;">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 100" data-expected-width=600 data-expected-height=300>
<rect x="0" y="0" width="200" height="100" fill="blue" />
</svg>
</div>
<script>
checkLayout('svg');
</script>