OLD | NEW |
(Empty) | |
| 1 <p>crbug.com/644802: Render alt text per html5 spec</p> |
| 2 <div style="columns:4; -moz-columns: 4; height: 800px;"> |
| 3 <div style="break-inside: avoid;"> |
| 4 <p>Different dimensions</p> |
| 5 1.<img src="test.jpg" alt="alt text" style="height:0px; width:0px; background-co
lor: green;"/> <br> |
| 6 2.<img src="test.jpg" alt="alt text" style="width:0px; background-color: green;"
/><br> |
| 7 3.<img src="test.jpg" alt="alt text" style="height:0px; background-color: green;
"/><br> |
| 8 4.<img src="test.jpg" alt="alt text" style="background-color: green;"/> |
| 9 </div> |
| 10 |
| 11 <div style="break-inside: avoid;"> |
| 12 <p>Different dimensions, no alt text</p> |
| 13 1.<img src="est.jpg" style="height:0px; width:0px; background-color: green;"/><b
r> |
| 14 2.<img src="est.jpg" style="width:0px; background-color: green;"/><br> |
| 15 3.<img src="est.jpg" style="height:0px; background-color: green;"/><br> |
| 16 4.<img src="est.jpg" /> |
| 17 </div> |
| 18 |
| 19 <div style="break-inside: avoid;"> |
| 20 <p>Different dimensions, no alt text, src = ""</p> |
| 21 1.<img src="" style="height:0px; width:0px; background-color: green;"/><br> |
| 22 2.<img src="" style="width:0px; background-color: green;"/><br> |
| 23 3.<img src="" style="height:0px; background-color: green;"/><br> |
| 24 4.<img src="" /><br> |
| 25 </div> |
| 26 |
| 27 <div style="break-inside: avoid;"> |
| 28 <p>Different dimensions, no alt text, no src</p> |
| 29 1.<img style="height:0px; width:0px; background-color: green;"/> <br> |
| 30 2.<img style="width:0px; background-color: green;"/> <br> |
| 31 3.<img style="height:0px; background-color: green;"/> <br> |
| 32 4.<img /> |
| 33 </div> |
| 34 |
| 35 <div style="break-inside: avoid;"> |
| 36 <p>Different dimensions, alt text, src = ""</p> |
| 37 1.<img src="" alt="alt text" style="height:0px; width:0px; background-color: gre
en;"/> <br> |
| 38 2.<img src="" alt="alt text" style="width:0px; background-color: green;"/> <br> |
| 39 3.<img src="" alt="alt text" style="height:0px; background-color: green;"/> <br> |
| 40 4.<img src="" /> <br> |
| 41 </div> |
| 42 |
| 43 <div style="break-inside: avoid;"> |
| 44 <p>Different dimensions, alt text, no src</p> |
| 45 1.<img alt="alt text" style="height:0px; width:0px; background-color: green;"/>
<br> |
| 46 2.<img alt="alt text" style="width:0px; background-color: green;"/> <br> |
| 47 3.<img alt="alt text" style="height:0px; background-color: green;"/> <br> |
| 48 4.<img alt="alt text"/> <br> |
| 49 </div> |
| 50 |
| 51 <div style="break-inside: avoid;"> |
| 52 <p>Different dimensions, alt text, src = </p> |
| 53 1.<img src alt="alt text" style="height:0px; width:0px; background-color: green;
"/> <br> |
| 54 2.<img src alt="alt text" style="width:0px; background-color: green;"/> <br> |
| 55 3.<img src alt="alt text" style="height:0px; background-color: green;"/> <br> |
| 56 4.<img src /> <br> |
| 57 </div> |
| 58 </div> |
| 59 |
OLD | NEW |