Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
            
- /css/css-break/inline-skipping-fragmentainer-002.html - WPT Dashboard Interop Dashboard
 
 
<!DOCTYPE html>
<title>SPAN in empty fragmentainer</title>
<link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org">
<meta name="assert" content="The SPAN starts in the first fragmentainer, and ends in the fourth. The second fragmentainer has no inline content, due to a tall float">
<link rel="match" href="../reference/ref-filled-green-100px-square.xht">
<style>
  .ib {
    display: inline-block;
    vertical-align: top;
    width: 100%;
    height: 50px;
    background: green;
  }
</style>
<p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
<div style="columns:4; column-fill:auto; gap:0; width:100px; height:100px; line-height:50px; orphans:1; widows:1; background:red;">
  <div style="height:50px; background:green;"></div>
  <div style="break-inside:avoid; float:left; width:100%; height:100px; background:green;"></div>
  <div>
    <span style="position:relative;">
      <div class="ib"></div>
      <div class="ib"></div>
      <div class="ib"></div>
      <div class="ib"></div>
      <div class="ib"></div>
    </span>
  </div>
</div>