-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
WebKit export of https://bugs.webkit.org/show_bug.cgi?id=282634 (#49036)
- Loading branch information
Showing
2 changed files
with
26 additions
and
0 deletions.
There are no files selected for viewing
13 changes: 13 additions & 0 deletions
13
css/css-sizing/intrinsic-fixed-width-with-max-content-height.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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
13
css/css-sizing/intrinsic-fixed-width-with-min-content-height.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> |