replaced-elements-height-20.html (1000B)
1 <!DOCTYPE html> 2 <html lang="en-US"> 3 <head> 4 <title>CSS Test: CSS 2.1 replaced element sizing</title> 5 <link rel="match" href="replaced-elements-height-20-ref.html"> 6 <link rel="author" title="L. David Baron" href="https://dbaron.org/"> 7 <link rel="help" href="http://www.w3.org/TR/CSS21/visudet.html#inline-replaced-width"> 8 <link rel="help" href="http://www.w3.org/TR/CSS21/visudet.html#inline-replaced-height"> 9 <link rel="help" href="http://www.w3.org/TR/CSS21/visudet.html#min-max-widths"> 10 <meta name="flags" content="should"> <!-- undefinedness in 10.3.2 --> 11 <style type="text/css"> 12 13 div { width: 200px } 14 img { height: 20px } 15 16 </style> 17 </head> 18 <body> 19 20 <div> 21 <img src="support/height-25-width-50.svg">, 22 <img src="support/height-25-ratio-2.svg">, 23 <img src="support/width-50-ratio-2.svg">, 24 <img src="support/height-25-no-ratio.svg">, 25 <img src="support/width-50-no-ratio.svg">, 26 <img src="support/ratio-2.svg">, 27 <img src="support/no-ratio.svg">. 28 </div> 29 30 </body> 31 </html>