Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /css/css-text/line-breaking/line-breaking-replaced-003.html - WPT Dashboard Interop Dashboard
<!doctype html>
<html>
<meta charset="utf-8">
<title>CSS Text — WORD JOINER and replaced element</title>
<meta name=assert content="There is no soft wrap opportunity between replaced elements and adjacent WORD JOINER">
<link rel=match href="reference/line-breaking-replaced-003-ref.html">
<style>
.test {
width: 50px;
}
.red {
position: absolute;
color: red;
z-index: -1;
padding-left: 60px;
padding-top: 40px;
}
</style>
<p>Test passes if there is no red.
<div class=red>XX</div>
<div class=test><img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mNkaGD4DwACiQGBU29HsgAAAABJRU5ErkJggg==" width=50 height=100>⁠<img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mNkaGD4DwACiQGBU29HsgAAAABJRU5ErkJggg==" width=50 height=100></div>