line-breaking-replaced-004.html (629B)
1 <!doctype html> 2 <html> 3 <meta charset="utf-8"> 4 <title>CSS Text — replaced elements line break before and after</title> 5 <meta name=assert content="There's a soft wrap opportunity before and after a replaced element"> 6 <link rel=match href="reference/line-breaking-replaced-004-ref.html"> 7 <link rel=help href="https://www.w3.org/TR/css-text-3/#line-break-details"> 8 <link rel=author title="Florian Rivoal" href="https://florian.rivoal.net"> 9 <style> 10 div { 11 width: 0; 12 } 13 </style> 14 15 <p>Test passes if “B” is below “A”. 16 17 <div>A<img src="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==">B</div>