blob: 5fe6304b31798df88f8fc58c94d03ee3edcbf05a [file] [log] [blame]
<!DOCTYPE html>
<!--
| Wrapping is only performed at an allowed break point, called a soft wrap
| opportunity. In most writing systems, in the absence of hyphenation a soft
| wrap opportunity occurs only at word boundaries.
| https://www.w3.org/TR/css3-text/#soft-wrap-opportunity
| https://www.w3.org/TR/css-text-3/#line-break-details
|
| When the leading edge margin, border or padding of a span overflows the line,
| the line should still evaluate wrapping before the span.
-->
<html>
<head>
<style>
body {
margin: 0px;
font-family: Roboto;
font-size: 20px;
}
.containing-block {
background-color: #03a9f4;
width: 106px;
}
.colored-padding {
background-color: #e1bee7;
padding: 0px 0px 0px 100px;
}
video {
background-color: #f50057;
width: 80px;
height: 20px;
}
.inline-block {
background-color: #aeea00;
display: inline-block;
width: 80px;
height: 20px;
}
</style>
</head>
<body>
<div class="containing-block">
<div>abcdefghij<span class="colored-padding">test</span></div>
<div>abcdefghij<span class="colored-padding"><span>test</span>test</span></div>
<div>abcde fghij <span class="colored-padding">test</span></div>
<div>abcde fghij <span class="colored-padding"><span>test</span>test</span></div>
<div>abcde fghij<span class="colored-padding"><video></video></span></div>
<div>abcde fghij<span class="colored-padding"><span><video></video></span></span></div>
<div>abcde fghij<span class="colored-padding"><span class="inline-block"></span></span></div>
<div>abcde fghij<span class="colored-padding"><span><span class="inline-block"></span></span></span></div>
</div>
</body>
</html>