multicol-on-broken-image-alt-text.html (892B)
1 <!DOCTYPE html> 2 <link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org"> 3 <link rel="help" href="https://issues.chromium.org/issues/40747770"> 4 <link rel="match" href="/css/reference/ref-filled-green-100px-square.xht"> 5 <style> 6 img { 7 columns: 5; 8 line-height: 20px; 9 orphans: 1; 10 widows: 1; 11 color: red; 12 background: red; 13 } 14 </style> 15 <script> 16 // Wait for image loading to fail. 17 document.documentElement.className = "reftest-wait"; 18 onload = function() { 19 document.documentElement.classList.remove("reftest-wait"); 20 } 21 </script> 22 <p>Test passes if there is a filled green square and <strong>no red</strong>.</p> 23 <div style="position:absolute; z-index:1; width:100px; height:100px; background:green;"></div> 24 <div style="width:100px; height:100px;"> 25 <img alt="XXXXX XXXXX XXXXX XXXXX XXXXX" src="invalid.jpg" width="300" height="200"> 26 </div>