summaryrefslogtreecommitdiffstats
path: root/layout/reftests/w3c-css/submitted/css21/replaced-sizing/replaced-elements-max-height-20.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/w3c-css/submitted/css21/replaced-sizing/replaced-elements-max-height-20.html')
-rw-r--r--layout/reftests/w3c-css/submitted/css21/replaced-sizing/replaced-elements-max-height-20.html31
1 files changed, 31 insertions, 0 deletions
diff --git a/layout/reftests/w3c-css/submitted/css21/replaced-sizing/replaced-elements-max-height-20.html b/layout/reftests/w3c-css/submitted/css21/replaced-sizing/replaced-elements-max-height-20.html
new file mode 100644
index 000000000..eb2ee9844
--- /dev/null
+++ b/layout/reftests/w3c-css/submitted/css21/replaced-sizing/replaced-elements-max-height-20.html
@@ -0,0 +1,31 @@
+<!DOCTYPE html>
+<html lang="en-US">
+<head>
+ <title>CSS Test: CSS 2.1 replaced element sizing</title>
+ <link rel="match" href="replaced-elements-height-20-ref.html">
+ <link rel="author" title="L. David Baron" href="https://dbaron.org/">
+ <link rel="help" href="http://www.w3.org/TR/CSS21/visudet.html#inline-replaced-width">
+ <link rel="help" href="http://www.w3.org/TR/CSS21/visudet.html#inline-replaced-height">
+ <link rel="help" href="http://www.w3.org/TR/CSS21/visudet.html#min-max-widths">
+ <meta name="flags" content="should"> <!-- undefinedness in 10.3.2 -->
+ <style type="text/css">
+
+ div { width: 200px }
+ img { max-height: 20px }
+
+ </style>
+</head>
+<body>
+
+<div>
+ <img src="support/height-25-width-50.svg">,
+ <img src="support/height-25-ratio-2.svg">,
+ <img src="support/width-50-ratio-2.svg">,
+ <img src="support/height-25-no-ratio.svg">,
+ <img src="support/width-50-no-ratio.svg">,
+ <img src="support/ratio-2.svg">,
+ <img src="support/no-ratio.svg">.
+</div>
+
+</body>
+</html>