mirror of
https://github.com/servo/servo.git
synced 2025-08-13 01:15:34 +01:00
Update web-platform-tests to revision 28ac8ff82f255bfb5c799b6d433d19d0a0eb0e34
This commit is contained in:
parent
b2465a1f22
commit
9115c87050
166 changed files with 2072 additions and 749 deletions
|
@ -0,0 +1,13 @@
|
|||
<!DOCTYPE html>
|
||||
<title>SVG 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://www.w3.org/TR/CSS22/visudet.html#min-max-widths">
|
||||
<link rel="match" href="../reference/ref-filled-green-100px-square-only.html">
|
||||
<meta name="assert" content="Flex base size of svg item with aspect ratio + no intrinsic width or height honors transferred max-width." />
|
||||
|
||||
<p>Test passes if there is a filled green square.</p>
|
||||
|
||||
<div style="display: flex; flex-direction: column; align-items: flex-start; width: 200px;">
|
||||
<svg viewBox="0 0 1 1" style="max-width: 100px; background: green;"></svg>
|
||||
</div>
|
|
@ -0,0 +1,13 @@
|
|||
<!DOCTYPE html>
|
||||
<title>SVG 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://www.w3.org/TR/CSS22/visudet.html#min-max-widths">
|
||||
<link rel="match" href="../reference/ref-filled-green-100px-square-only.html">
|
||||
<meta name="assert" content="Flex base size of svg item with aspect ratio + no intrinsic width or height honors transferred max-height." />
|
||||
|
||||
<p>Test passes if there is a filled green square.</p>
|
||||
|
||||
<div style="display: flex; align-items: flex-start; height: 200px;">
|
||||
<svg viewBox="0 0 1 1" style="max-height: 100px; background: green;"></svg>
|
||||
</div>
|
Loading…
Add table
Add a link
Reference in a new issue