Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
sammygill authored Nov 7, 2024
1 parent 3063050 commit 1e4fb39
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
13 changes: 13 additions & 0 deletions css/css-sizing/intrinsic-fixed-width-with-max-content-height.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<!DOCTYPE html>
<html>
<head>
<link rel="author" title="Sammy Gill" href="[email protected]">
<link rel="help" href="https://drafts.csswg.org/css-sizing-3/#intrinsic-sizes">
<link rel="help" href="https://drafts.csswg.org/css2/#inline-replaced-height">
<meta name="assert" content="max-content height of an image with specified width is computed via aspect ratio">
</head>
<body>
<p>Test passes if there is a filled green square.</p>
<img style="width: 100px; height: max-content;" src="../support/60x60-green.png">
</body>
</html>
13 changes: 13 additions & 0 deletions css/css-sizing/intrinsic-fixed-width-with-min-content-height.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<!DOCTYPE html>
<html>
<head>
<link rel="author" title="Sammy Gill" href="[email protected]">
<link rel="help" href="https://drafts.csswg.org/css-sizing-3/#intrinsic-sizes">
<link rel="help" href="https://drafts.csswg.org/css2/#inline-replaced-height">
<meta name="assert" content="min-content height of an image with specified width is computed via aspect ratio">
</head>
<body>
<p>Test passes if there is a filled green square.</p>
<img style="width: 100px; height: min-content;" src="../support/60x60-green.png">
</body>
</html>

0 comments on commit 1e4fb39

Please sign in to comment.