blob: 03cd0b06db1becfca2eebe7c46071d6306da79fc [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><span>abcdefghij<span class="colored-padding">test</span></span></div>
<div><span>abcdefghij<span class="colored-padding"><span>test</span>test</span></span></div>
<div><span>abcde fghij <span class="colored-padding">test</span></span></div>
<div><span>abcde fghij <span class="colored-padding"><span>test</span>test</span></span></div>
<div><span>abcde fghij<span class="colored-padding"><video></video></span></span></div>
<div><span>abcde fghij<span class="colored-padding"><span><video></video></span></span></span></div>
<div><span>abcde fghij<span class="colored-padding"><span class="inline-block"></span></span></span></div>
<div><span>abcde fghij<span class="colored-padding"><span><span class="inline-block"></span></span></span></span></div>
</div>
</body>
</html>