5 <title>CSS-contain test: layout containment and forced breaks
</title>
7 <link rel=
"author" title=
"GĂ©rard Talbot" href=
"http://www.gtalbot.org/BrowserBugsSection/css21testsuite/">
8 <meta content=
"forced breaks within layout containment do not propagate to the parent." name=
"assert">
10 <link href=
"reference/contain-layout-breaks-002-ref.html" rel=
"match">
12 <link href=
"https://drafts.csswg.org/css-contain-1/#containment-layout" rel=
"help">
13 <link href=
"https://drafts.csswg.org/css-break-3/#forced-break" rel=
"help">
18 column-fill: auto; /* columns are filled sequentially */
20 columns:
2 100px; /*
2 columns each
100px wide */
21 float: left; /* to make multi-column element shrink-wrap */
22 height:
400px; /* give more than enough to go wrong */
27 border-top: yellow solid
100px;
32 border-top: blue solid
100px;
38 border-top: orange solid
100px;
43 <p>Test passes if there is a) a blue square below a yellow square and b) an orange square on the righthand side of the yellow square.
47 <div id=
"yellow-normal"></div>
49 <div id=
"blue-parent">
50 <div id=
"orange-child"></div>