input-image-inline-alt.html (692B)
1 <!DOCTYPE html> 2 <title>Input image type fallback content should respect display property.</title> 3 <meta name="author" title="Yu Han" href="mailto:yuzhehan@chromium.org"> 4 <link rel="match" href="input-image-inline-alt-ref.html"> 5 <link ref="help" href="https://html.spec.whatwg.org/multipage/rendering.html#images-3:represents-5"> 6 <style> 7 div { 8 border:1px dashed blue; 9 font: 1em monospace; 10 line-height: 1em; 11 height: 100px; 12 width: 150px; 13 } 14 input { 15 display: inline; 16 font: 1em monospace; 17 line-height: 1em; 18 } 19 </style> 20 <div> 21 <input alt="This is a long ALT text which takes up few lines to display." type="image"> 22 And additional text to be inlined. 23 </div>