mirror of
https://github.com/servo/servo.git
synced 2025-08-12 17:05:33 +01:00
Update web-platform-tests to revision b'b964db08565d01d21c778783da8e9b5d403de3d4'
This commit is contained in:
parent
e13a04627c
commit
5cd4d0259a
116 changed files with 2135 additions and 337 deletions
|
@ -0,0 +1,18 @@
|
|||
<!doctype html>
|
||||
<meta charset="utf8">
|
||||
<title>CSS contain-intrinsic-size: aspect-ratio interaction</title>
|
||||
<link rel="author" title="David Grogan" href="mailto:dgrogan@chromium.org">
|
||||
<link rel="help" href="https://drafts.csswg.org/css-sizing-4/#intrinsic-size-override">
|
||||
<link rel="help" href="https://github.com/w3c/csswg-drafts/issues/5241">
|
||||
<link rel="match" href="../../reference/ref-filled-green-100px-square-only.html">
|
||||
<meta name="assert" content="contain-intrinsic-size doesn't establish an aspect-ratio">
|
||||
|
||||
<p>Test passes if there is a filled green square.</p>
|
||||
|
||||
<!-- Use flex because a bug in blink's layout_replaced size computation makes
|
||||
this test pass even when blink makes c-i-s establish an aspect ratio. Flex
|
||||
doesn't use layout_replaced sizing, so it bypasses the bug. -->
|
||||
<!-- min-width: 0 is just so we don't have to think about it. -->
|
||||
<div style="display: flex;">
|
||||
<img src="/css/support/60x60-green.png" style="min-width: 0px; contain: size; contain-intrinsic-size: 50px 100px; width: 100px;">
|
||||
</div>
|
Loading…
Add table
Add a link
Reference in a new issue