mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-11-11 13:48:23 +02:00
After enabling column-span, ColumnSet becomes an anonymous child under ColumnSetWrapperFrame. It doesn't need to handle border and padding, containment, and non-auto block-size. ColumnSet's final block-size is simply the union of ::-moz-column-content frames' rects. However, we should extend ColumnSet's block-size to consume the available block-size if the ColumnSetWrapper's block-size is constrained so that the column rules are drawn to the block-end edge of the multicol container. Differential Revision: https://phabricator.services.mozilla.com/D39060 --HG-- rename : testing/web-platform/meta/css/css-multicol/multicol-breaking-000.html.ini => testing/web-platform/meta/css/css-multicol/multicol-rule-nested-balancing-001.html.ini rename : testing/web-platform/meta/css/css-multicol/multicol-breaking-000.html.ini => testing/web-platform/meta/css/css-multicol/multicol-rule-nested-balancing-002.html.ini rename : testing/web-platform/meta/css/css-multicol/multicol-breaking-000.html.ini => testing/web-platform/meta/css/css-multicol/multicol-span-all-rule-001.html.ini extra : moz-landing-system : lando
43 lines
992 B
HTML
43 lines
992 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<meta charset="utf-8">
|
|
<title>CSS Multi-column Layout Test Reference: Test the column rules' block-size with nested balancing multicol container</title>
|
|
<link rel="author" title="Ting-Yu Lin" href="tlin@mozilla.com">
|
|
<link rel="author" title="Mozilla" href="https://www.mozilla.org/">
|
|
|
|
<style>
|
|
.outer {
|
|
column-count: 2;
|
|
column-rule: 6px solid black;
|
|
column-fill: auto;
|
|
width: 400px;
|
|
height: 250px;
|
|
}
|
|
.inner {
|
|
column-count: 2;
|
|
column-rule: 3px solid gray;
|
|
column-fill: auto;
|
|
height: 200px;
|
|
}
|
|
.outer-block {
|
|
background-color: lightgreen;
|
|
height: 200px;
|
|
}
|
|
.inner-block {
|
|
background-color: lightblue;
|
|
height: 200px;
|
|
}
|
|
.space {
|
|
height: 50px;
|
|
}
|
|
</style>
|
|
|
|
<article class="outer">
|
|
<div class="outer-block"></div>
|
|
<div class="space"></div>
|
|
<article class="inner">
|
|
<div class="inner-block"></div>
|
|
<div class="inner-block"></div>
|
|
</article>
|
|
</article>
|
|
</html>
|