CINXE.COM

CSS Multi-column Layout Module Level 1

<!doctype html><html lang="en"> <head> <meta content="text/html; charset=utf-8" http-equiv="Content-Type"> <meta content="width=device-width, initial-scale=1, shrink-to-fit=no" name="viewport"> <title>CSS Multi-column Layout Module Level 1</title> <meta content="CR" name="w3c-status"> <meta content="Bikeshed version d5d58a306, updated Fri Jan 26 16:12:28 2024 -0800" name="generator"> <link href="https://www.w3.org/TR/css-multicol-1/" rel="canonical"> <meta content="fe1b672eac7355ab2b640e38e99f7c58edcab512" name="revision"> <style type="text/css"> .cols { width: 500px; height: 200px; background: #fff; position: relative; border: solid 5px blue; margin: 0.5em 2em 1em 0; font: bold 14px/19px Arial, sans-serif } .cols p { padding: 3px; margin: 0 } .col { position: absolute; left: 0px; top: 0; z-index: 6; width: 170px } .gap { position: absolute; background: green; width: 5px; bottom: 0px; top: 0px; border: 10px solid yellow; border-top-width: 0; border-bottom-width: 0; } .rep { position: absolute; top: 45px; background: black; height: 110px; width: 100px; color: white; z-index: 4 } table.breaks { border-collapse: collapse; margin: 1em 0 } table.breaks td, table.breaks th { border: thin solid black; padding: 0.1em 0.2em } div.example:before { width: 9em } </style> <style>/* Boilerplate: style-autolinks */ .css.css, .property.property, .descriptor.descriptor { color: var(--a-normal-text); font-size: inherit; font-family: inherit; } .css::before, .property::before, .descriptor::before { content: "‘"; } .css::after, .property::after, .descriptor::after { content: "’"; } .property, .descriptor { /* Don't wrap property and descriptor names */ white-space: nowrap; } .type { /* CSS value <type> */ font-style: italic; } pre .property::before, pre .property::after { content: ""; } [data-link-type="property"]::before, [data-link-type="propdesc"]::before, [data-link-type="descriptor"]::before, [data-link-type="value"]::before, [data-link-type="function"]::before, [data-link-type="at-rule"]::before, [data-link-type="selector"]::before, [data-link-type="maybe"]::before { content: "‘"; } [data-link-type="property"]::after, [data-link-type="propdesc"]::after, [data-link-type="descriptor"]::after, [data-link-type="value"]::after, [data-link-type="function"]::after, [data-link-type="at-rule"]::after, [data-link-type="selector"]::after, [data-link-type="maybe"]::after { content: "’"; } [data-link-type].production::before, [data-link-type].production::after, .prod [data-link-type]::before, .prod [data-link-type]::after { content: ""; } [data-link-type=element], [data-link-type=element-attr] { font-family: Menlo, Consolas, "DejaVu Sans Mono", monospace; font-size: .9em; } [data-link-type=element]::before { content: "<" } [data-link-type=element]::after { content: ">" } [data-link-type=biblio] { white-space: pre; } @media (prefers-color-scheme: dark) { :root { --selflink-text: black; --selflink-bg: silver; --selflink-hover-text: white; } } </style> <style>/* Boilerplate: style-colors */ /* Any --*-text not paired with a --*-bg is assumed to have a transparent bg */ :root { color-scheme: light dark; --text: black; --bg: white; --unofficial-watermark: url(https://www.w3.org/StyleSheets/TR/2016/logos/UD-watermark); --logo-bg: #1a5e9a; --logo-active-bg: #c00; --logo-text: white; --tocnav-normal-text: #707070; --tocnav-normal-bg: var(--bg); --tocnav-hover-text: var(--tocnav-normal-text); --tocnav-hover-bg: #f8f8f8; --tocnav-active-text: #c00; --tocnav-active-bg: var(--tocnav-normal-bg); --tocsidebar-text: var(--text); --tocsidebar-bg: #f7f8f9; --tocsidebar-shadow: rgba(0,0,0,.1); --tocsidebar-heading-text: hsla(203,20%,40%,.7); --toclink-text: var(--text); --toclink-underline: #3980b5; --toclink-visited-text: var(--toclink-text); --toclink-visited-underline: #054572; --heading-text: #005a9c; --hr-text: var(--text); --algo-border: #def; --del-text: red; --del-bg: transparent; --ins-text: #080; --ins-bg: transparent; --a-normal-text: #034575; --a-normal-underline: #bbb; --a-visited-text: var(--a-normal-text); --a-visited-underline: #707070; --a-hover-bg: rgba(75%, 75%, 75%, .25); --a-active-text: #c00; --a-active-underline: #c00; --blockquote-border: silver; --blockquote-bg: transparent; --blockquote-text: currentcolor; --issue-border: #e05252; --issue-bg: #fbe9e9; --issue-text: var(--text); --issueheading-text: #831616; --example-border: #e0cb52; --example-bg: #fcfaee; --example-text: var(--text); --exampleheading-text: #574b0f; --note-border: #52e052; --note-bg: #e9fbe9; --note-text: var(--text); --noteheading-text: hsl(120, 70%, 30%); --notesummary-underline: silver; --assertion-border: #aaa; --assertion-bg: #eee; --assertion-text: black; --advisement-border: orange; --advisement-bg: #fec; --advisement-text: var(--text); --advisementheading-text: #b35f00; --warning-border: red; --warning-bg: hsla(40,100%,50%,0.95); --warning-text: var(--text); --amendment-border: #330099; --amendment-bg: #F5F0FF; --amendment-text: var(--text); --amendmentheading-text: #220066; --def-border: #8ccbf2; --def-bg: #def; --def-text: var(--text); --defrow-border: #bbd7e9; --datacell-border: silver; --indexinfo-text: #707070; --indextable-hover-text: black; --indextable-hover-bg: #f7f8f9; --outdatedspec-bg: rgba(0, 0, 0, .5); --outdatedspec-text: black; --outdated-bg: maroon; --outdated-text: white; --outdated-shadow: red; --editedrec-bg: darkorange; } @media (prefers-color-scheme: dark) { :root { --text: #ddd; --bg: black; --unofficial-watermark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400'%3E%3Cg fill='%23100808' transform='translate(200 200) rotate(-45) translate(-200 -200)' stroke='%23100808' stroke-width='3'%3E%3Ctext x='50%25' y='220' style='font: bold 70px sans-serif; text-anchor: middle; letter-spacing: 6px;'%3EUNOFFICIAL%3C/text%3E%3Ctext x='50%25' y='305' style='font: bold 70px sans-serif; text-anchor: middle; letter-spacing: 6px;'%3EDRAFT%3C/text%3E%3C/g%3E%3C/svg%3E"); --logo-bg: #1a5e9a; --logo-active-bg: #c00; --logo-text: white; --tocnav-normal-text: #999; --tocnav-normal-bg: var(--bg); --tocnav-hover-text: var(--tocnav-normal-text); --tocnav-hover-bg: #080808; --tocnav-active-text: #f44; --tocnav-active-bg: var(--tocnav-normal-bg); --tocsidebar-text: var(--text); --tocsidebar-bg: #080808; --tocsidebar-shadow: rgba(255,255,255,.1); --tocsidebar-heading-text: hsla(203,20%,40%,.7); --toclink-text: var(--text); --toclink-underline: #6af; --toclink-visited-text: var(--toclink-text); --toclink-visited-underline: #054572; --heading-text: #8af; --hr-text: var(--text); --algo-border: #456; --del-text: #f44; --del-bg: transparent; --ins-text: #4a4; --ins-bg: transparent; --a-normal-text: #6af; --a-normal-underline: #555; --a-visited-text: var(--a-normal-text); --a-visited-underline: var(--a-normal-underline); --a-hover-bg: rgba(25%, 25%, 25%, .2); --a-active-text: #f44; --a-active-underline: var(--a-active-text); --borderedblock-bg: rgba(255, 255, 255, .05); --blockquote-border: silver; --blockquote-bg: var(--borderedblock-bg); --blockquote-text: currentcolor; --issue-border: #e05252; --issue-bg: var(--borderedblock-bg); --issue-text: var(--text); --issueheading-text: hsl(0deg, 70%, 70%); --example-border: hsl(50deg, 90%, 60%); --example-bg: var(--borderedblock-bg); --example-text: var(--text); --exampleheading-text: hsl(50deg, 70%, 70%); --note-border: hsl(120deg, 100%, 35%); --note-bg: var(--borderedblock-bg); --note-text: var(--text); --noteheading-text: hsl(120, 70%, 70%); --notesummary-underline: silver; --assertion-border: #444; --assertion-bg: var(--borderedblock-bg); --assertion-text: var(--text); --advisement-border: orange; --advisement-bg: #222218; --advisement-text: var(--text); --advisementheading-text: #f84; --warning-border: red; --warning-bg: hsla(40,100%,20%,0.95); --warning-text: var(--text); --amendment-border: #330099; --amendment-bg: #080010; --amendment-text: var(--text); --amendmentheading-text: #cc00ff; --def-border: #8ccbf2; --def-bg: #080818; --def-text: var(--text); --defrow-border: #136; --datacell-border: silver; --indexinfo-text: #aaa; --indextable-hover-text: var(--text); --indextable-hover-bg: #181818; --outdatedspec-bg: rgba(255, 255, 255, .5); --outdatedspec-text: black; --outdated-bg: maroon; --outdated-text: white; --outdated-shadow: red; --editedrec-bg: darkorange; } /* In case a transparent-bg image doesn't expect to be on a dark bg, which is quite common in practice... */ img { background: white; } } </style> <style>/* Boilerplate: style-counters */ body { counter-reset: example figure issue; } .issue { counter-increment: issue; } .issue:not(.no-marker)::before { content: "Issue " counter(issue); } .example { counter-increment: example; } .example:not(.no-marker)::before { content: "Example " counter(example); } .invalid.example:not(.no-marker)::before, .illegal.example:not(.no-marker)::before { content: "Invalid Example" counter(example); } figcaption { counter-increment: figure; } figcaption:not(.no-marker)::before { content: "Figure " counter(figure) " "; } </style> <style>/* Boilerplate: style-dfn-panel */ :root { --dfnpanel-bg: #ddd; --dfnpanel-text: var(--text); --dfnpanel-target-bg: #ffc; --dfnpanel-target-outline: orange; } @media (prefers-color-scheme: dark) { :root { --dfnpanel-bg: #222; --dfnpanel-text: var(--text); --dfnpanel-target-bg: #333; --dfnpanel-target-outline: silver; } } .dfn-panel { position: absolute; z-index: 35; width: 20em; width: 300px; height: auto; max-height: 500px; overflow: auto; padding: 0.5em 0.75em; font: small Helvetica Neue, sans-serif, Droid Sans Fallback; background: var(--dfnpanel-bg); color: var(--dfnpanel-text); border: outset 0.2em; white-space: normal; /* in case it's moved into a pre */ } .dfn-panel:not(.on) { display: none; } .dfn-panel * { margin: 0; padding: 0; text-indent: 0; } .dfn-panel > b { display: block; } .dfn-panel a { color: var(--dfnpanel-text); } .dfn-panel a:not(:hover) { text-decoration: none !important; border-bottom: none !important; } .dfn-panel a:focus { outline: 5px auto Highlight; outline: 5px auto -webkit-focus-ring-color; } .dfn-panel > b + b { margin-top: 0.25em; } .dfn-panel ul { padding: 0 0 0 1em; list-style: none; } .dfn-panel li a { max-width: calc(300px - 1.5em - 1em); overflow: hidden; text-overflow: ellipsis; } .dfn-panel.activated { display: inline-block; position: fixed; left: 8px; bottom: 2em; margin: 0 auto; max-width: calc(100vw - 1.5em - .4em - .5em); max-height: 30vh; transition: left 1s ease-out, bottom 1s ease-out; } .dfn-panel .link-item:hover { text-decoration: underline; } .dfn-panel .link-item .copy-icon { opacity: 0; } .dfn-panel .link-item:hover .copy-icon, .dfn-panel .link-item .copy-icon:focus { opacity: 1; } .dfn-panel .copy-icon { display: inline-block; margin-right: 0.5em; width: 0.85em; height: 1em; border-radius: 3px; background-color: #ccc; cursor: pointer; } .dfn-panel .copy-icon .icon { width: 100%; height: 100%; background-color: #fff; display: flex; justify-content: center; align-items: center; position: relative; } .dfn-panel .copy-icon .icon::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 1px solid black; background-color: #ccc; opacity: 0.25; transform: translate(3px, -3px); } .dfn-panel .copy-icon:active .icon::before { opacity: 1; } .dfn-paneled[role="button"] { cursor: help; } .highlighted { animation: target-fade 3s; } @keyframes target-fade { from { background-color: var(--dfnpanel-target-bg); outline: 5px solid var(--dfnpanel-target-outline); } to { color: var(--a-normal-text); background-color: transparent; outline: transparent; } } </style> <style>/* Boilerplate: style-issues */ a[href].issue-return { float: right; float: inline-end; color: var(--issueheading-text); font-weight: bold; text-decoration: none; } </style> <style>/* Boilerplate: style-md-lists */ /* This is a weird hack for me not yet following the commonmark spec regarding paragraph and lists. */ [data-md] > :first-child { margin-top: 0; } [data-md] > :last-child { margin-bottom: 0; } </style> <style>/* Boilerplate: style-ref-hints */ :root { --ref-hint-bg: #ddd; --ref-hint-text: var(--text); } @media (prefers-color-scheme: dark) { :root { --ref-hint-bg: #222; --ref-hint-text: var(--text); } } .ref-hint { display: inline-block; position: absolute; z-index: 35; width: 20em; width: 300px; height: auto; max-height: 500px; overflow: auto; padding: 0.5em 0.5em; font: small Helvetica Neue, sans-serif, Droid Sans Fallback; background: var(--ref-hint-bg); color: var(--ref-hint-text); border: outset 0.2em; white-space: normal; /* in case it's moved into a pre */ } .ref-hint * { margin: 0; padding: 0; text-indent: 0; } .ref-hint ul { padding: 0 0 0 1em; list-style: none; } </style> <style>/* Boilerplate: style-selflinks */ :root { --selflink-text: white; --selflink-bg: gray; --selflink-hover-text: black; } .heading, .issue, .note, .example, li, dt { position: relative; } a.self-link { position: absolute; top: 0; left: calc(-1 * (3.5rem - 26px)); width: calc(3.5rem - 26px); height: 2em; text-align: center; border: none; transition: opacity .2s; opacity: .5; } a.self-link:hover { opacity: 1; } .heading > a.self-link { font-size: 83%; } .example > a.self-link, .note > a.self-link, .issue > a.self-link { /* These blocks are overflow:auto, so positioning outside doesn't work. */ left: auto; right: 0; } li > a.self-link { left: calc(-1 * (3.5rem - 26px) - 2em); } dfn > a.self-link { top: auto; left: auto; opacity: 0; width: 1.5em; height: 1.5em; background: var(--selflink-bg); color: var(--selflink-text); font-style: normal; transition: opacity .2s, background-color .2s, color .2s; } dfn:hover > a.self-link { opacity: 1; } dfn > a.self-link:hover { color: var(--selflink-hover-text); } a.self-link::before { content: "¶"; } .heading > a.self-link::before { content: "§"; } dfn > a.self-link::before { content: "#"; } </style> <style>/* Boilerplate: style-syntax-highlighting */ code.highlight { padding: .1em; border-radius: .3em; } pre.highlight, pre > code.highlight { display: block; padding: 1em; margin: .5em 0; overflow: auto; border-radius: 0; } .highlight:not(.idl) { background: rgba(0, 0, 0, .03); } c-[a] { color: #990055 } /* Keyword.Declaration */ c-[b] { color: #990055 } /* Keyword.Type */ c-[c] { color: #708090 } /* Comment */ c-[d] { color: #708090 } /* Comment.Multiline */ c-[e] { color: #0077aa } /* Name.Attribute */ c-[f] { color: #669900 } /* Name.Tag */ c-[g] { color: #222222 } /* Name.Variable */ c-[k] { color: #990055 } /* Keyword */ c-[l] { color: #000000 } /* Literal */ c-[m] { color: #000000 } /* Literal.Number */ c-[n] { color: #0077aa } /* Name */ c-[o] { color: #999999 } /* Operator */ c-[p] { color: #999999 } /* Punctuation */ c-[s] { color: #a67f59 } /* Literal.String */ c-[t] { color: #a67f59 } /* Literal.String.Single */ c-[u] { color: #a67f59 } /* Literal.String.Double */ c-[cp] { color: #708090 } /* Comment.Preproc */ c-[c1] { color: #708090 } /* Comment.Single */ c-[cs] { color: #708090 } /* Comment.Special */ c-[kc] { color: #990055 } /* Keyword.Constant */ c-[kn] { color: #990055 } /* Keyword.Namespace */ c-[kp] { color: #990055 } /* Keyword.Pseudo */ c-[kr] { color: #990055 } /* Keyword.Reserved */ c-[ld] { color: #000000 } /* Literal.Date */ c-[nc] { color: #0077aa } /* Name.Class */ c-[no] { color: #0077aa } /* Name.Constant */ c-[nd] { color: #0077aa } /* Name.Decorator */ c-[ni] { color: #0077aa } /* Name.Entity */ c-[ne] { color: #0077aa } /* Name.Exception */ c-[nf] { color: #0077aa } /* Name.Function */ c-[nl] { color: #0077aa } /* Name.Label */ c-[nn] { color: #0077aa } /* Name.Namespace */ c-[py] { color: #0077aa } /* Name.Property */ c-[ow] { color: #999999 } /* Operator.Word */ c-[mb] { color: #000000 } /* Literal.Number.Bin */ c-[mf] { color: #000000 } /* Literal.Number.Float */ c-[mh] { color: #000000 } /* Literal.Number.Hex */ c-[mi] { color: #000000 } /* Literal.Number.Integer */ c-[mo] { color: #000000 } /* Literal.Number.Oct */ c-[sb] { color: #a67f59 } /* Literal.String.Backtick */ c-[sc] { color: #a67f59 } /* Literal.String.Char */ c-[sd] { color: #a67f59 } /* Literal.String.Doc */ c-[se] { color: #a67f59 } /* Literal.String.Escape */ c-[sh] { color: #a67f59 } /* Literal.String.Heredoc */ c-[si] { color: #a67f59 } /* Literal.String.Interpol */ c-[sx] { color: #a67f59 } /* Literal.String.Other */ c-[sr] { color: #a67f59 } /* Literal.String.Regex */ c-[ss] { color: #a67f59 } /* Literal.String.Symbol */ c-[vc] { color: #0077aa } /* Name.Variable.Class */ c-[vg] { color: #0077aa } /* Name.Variable.Global */ c-[vi] { color: #0077aa } /* Name.Variable.Instance */ c-[il] { color: #000000 } /* Literal.Number.Integer.Long */ @media (prefers-color-scheme: dark) { .highlight:not(.idl) { background: rgba(255, 255, 255, .05); } c-[a] { color: #d33682 } /* Keyword.Declaration */ c-[b] { color: #d33682 } /* Keyword.Type */ c-[c] { color: #2aa198 } /* Comment */ c-[d] { color: #2aa198 } /* Comment.Multiline */ c-[e] { color: #268bd2 } /* Name.Attribute */ c-[f] { color: #b58900 } /* Name.Tag */ c-[g] { color: #cb4b16 } /* Name.Variable */ c-[k] { color: #d33682 } /* Keyword */ c-[l] { color: #657b83 } /* Literal */ c-[m] { color: #657b83 } /* Literal.Number */ c-[n] { color: #268bd2 } /* Name */ c-[o] { color: #657b83 } /* Operator */ c-[p] { color: #657b83 } /* Punctuation */ c-[s] { color: #6c71c4 } /* Literal.String */ c-[t] { color: #6c71c4 } /* Literal.String.Single */ c-[u] { color: #6c71c4 } /* Literal.String.Double */ c-[ch] { color: #2aa198 } /* Comment.Hashbang */ c-[cp] { color: #2aa198 } /* Comment.Preproc */ c-[cpf] { color: #2aa198 } /* Comment.PreprocFile */ c-[c1] { color: #2aa198 } /* Comment.Single */ c-[cs] { color: #2aa198 } /* Comment.Special */ c-[kc] { color: #d33682 } /* Keyword.Constant */ c-[kn] { color: #d33682 } /* Keyword.Namespace */ c-[kp] { color: #d33682 } /* Keyword.Pseudo */ c-[kr] { color: #d33682 } /* Keyword.Reserved */ c-[ld] { color: #657b83 } /* Literal.Date */ c-[nc] { color: #268bd2 } /* Name.Class */ c-[no] { color: #268bd2 } /* Name.Constant */ c-[nd] { color: #268bd2 } /* Name.Decorator */ c-[ni] { color: #268bd2 } /* Name.Entity */ c-[ne] { color: #268bd2 } /* Name.Exception */ c-[nf] { color: #268bd2 } /* Name.Function */ c-[nl] { color: #268bd2 } /* Name.Label */ c-[nn] { color: #268bd2 } /* Name.Namespace */ c-[py] { color: #268bd2 } /* Name.Property */ c-[ow] { color: #657b83 } /* Operator.Word */ c-[mb] { color: #657b83 } /* Literal.Number.Bin */ c-[mf] { color: #657b83 } /* Literal.Number.Float */ c-[mh] { color: #657b83 } /* Literal.Number.Hex */ c-[mi] { color: #657b83 } /* Literal.Number.Integer */ c-[mo] { color: #657b83 } /* Literal.Number.Oct */ c-[sa] { color: #6c71c4 } /* Literal.String.Affix */ c-[sb] { color: #6c71c4 } /* Literal.String.Backtick */ c-[sc] { color: #6c71c4 } /* Literal.String.Char */ c-[dl] { color: #6c71c4 } /* Literal.String.Delimiter */ c-[sd] { color: #6c71c4 } /* Literal.String.Doc */ c-[se] { color: #6c71c4 } /* Literal.String.Escape */ c-[sh] { color: #6c71c4 } /* Literal.String.Heredoc */ c-[si] { color: #6c71c4 } /* Literal.String.Interpol */ c-[sx] { color: #6c71c4 } /* Literal.String.Other */ c-[sr] { color: #6c71c4 } /* Literal.String.Regex */ c-[ss] { color: #6c71c4 } /* Literal.String.Symbol */ c-[fm] { color: #268bd2 } /* Name.Function.Magic */ c-[vc] { color: #cb4b16 } /* Name.Variable.Class */ c-[vg] { color: #cb4b16 } /* Name.Variable.Global */ c-[vi] { color: #cb4b16 } /* Name.Variable.Instance */ c-[vm] { color: #cb4b16 } /* Name.Variable.Magic */ c-[il] { color: #657b83 } /* Literal.Number.Integer.Long */ } </style> <style>/* Boilerplate: style-wpt */ :root { --wpt-border: hsl(0, 0%, 60%); --wpt-bg: hsl(0, 0%, 95%); --wpt-text: var(--text); --wptheading-text: hsl(0, 0%, 30%); } @media (prefers-color-scheme: dark) { :root { --wpt-border: hsl(0, 0%, 30%); --wpt-bg: var(--borderedblock-bg); --wpt-text: var(--text); --wptheading-text: hsl(0, 0%, 60%); } } .wpt-tests-block { list-style: none; border-left: .5em solid var(--wpt-border); background: var(--wpt-bg); color: var(--wpt-text); margin: 1em auto; padding: .5em; } .wpt-tests-block summary { color: var(--wptheading-text); font-weight: normal; text-transform: uppercase; } .wpt-tests-block summary::marker{ color: var(--wpt-border); } .wpt-tests-block summary:hover::marker{ color: var(--wpt-text); } /* The only content of a wpt test block in its closed state is the <summary>, which contains the word TESTS, and that is absolutely positioned. In that closed state, wpt test blocks are styled to have a top margin whose height is exactly equal to the height of the absolutely positioned <summary>, and no other background/padding/margin/border. The wpt test block elements will therefore allow the maring of the previous/next block elements to collapse through them; if this combined margin would be larger than its own top margin, it stays as is, and therefore the pre-existing vertical rhythm of the document is undisturbed. If that combined margin would be smaller, it is grown to that size. This means that the wpt test block ensures that there's always enough vertical space to insert the summary, without adding more than is needed. */ .wpt-tests-block:not([open]){ padding: 0; border: none; background: none; font-size: 0.75em; line-height: 1; position: relative; margin: 1em 0 0; } .wpt-tests-block:not([open]) summary { position: absolute; right: 0; bottom: 0; } /* It is possible that both the last child of a block element and the block element itself would be annotated with a <wpt> block each. If the block element has a padding or a border, that's fine, but otherwise the bottom margin of the block and of its last child would collapse and both <wpt> elements would overlap, being both placed there. To avoid that, add 1px of padding to the <wpt> element annotating the last child to prevent the bottom margin of the block and of its last child from collapsing (and as much negative margin, as wel only want to prevent margin collapsing, but are not trying to actually take more space). */ .wpt-tests-block:not([open]):last-child { padding-bottom: 1px; margin-bottom: -1px; } /* Exception to the previous rule: don't do that in non-last list items, because it's not necessary, and would therefore consume more space than strictly needed. Lists must have list items as children, not <wpt> elements, so a <wpt> element cannot be a sibling of a list item, and the collision that the previous rule avoids cannot happen. */ li:not(:last-child) > .wpt-tests-block:not([open]):last-child, dd:not(:last-child) > .wpt-tests-block:not([open]):last-child { padding-bottom: 0; margin-bottom: 0; } .wpt-tests-block:not([open]):not(:hover){ opacity: 0.5; } .wpt-tests-list { list-style: none; display: grid; margin: 0; padding: 0; grid-template-columns: 1fr max-content auto auto; grid-column-gap: .5em; } .wpt-tests-block hr:last-child { display: none; } .wpt-test { display: contents; } .wpt-test > a { text-decoration: underline; border: none; } .wpt-test > .wpt-name { grid-column: 1; } .wpt-test > .wpt-results { grid-column: 2; } .wpt-test > .wpt-live { grid-column: 3; } .wpt-test > .wpt-source { grid-column: 4; } .wpt-test > .wpt-results { display: flex; gap: .1em; } .wpt-test .wpt-result { display: inline-block; height: 1em; width: 1em; border-radius: 50%; position: relative; } </style> <link href="https://www.w3.org/StyleSheets/TR/2021/W3C-CR" rel="stylesheet"> <body class="h-entry"> <div class="head"> <p data-fill-with="logo"><a class="logo" href="https://www.w3.org/"> <img alt="W3C" height="48" src="https://www.w3.org/StyleSheets/TR/2021/logos/W3C" width="72"> </a> </p> <h1 class="p-name no-ref" id="title">CSS Multi-column Layout Module Level 1</h1> <p id="w3c-state"><a href="https://www.w3.org/standards/types#CR">W3C Candidate Recommendation Snapshot</a>, <time class="dt-updated" datetime="2024-05-16">16 May 2024</time></p> <details open> <summary>More details about this document</summary> <div data-fill-with="spec-metadata"> <dl> <dt>This version: <dd><a class="u-url" href="https://www.w3.org/TR/2024/CR-css-multicol-1-20240516/">https://www.w3.org/TR/2024/CR-css-multicol-1-20240516/</a> <dt>Latest published version: <dd><a href="https://www.w3.org/TR/css-multicol-1/">https://www.w3.org/TR/css-multicol-1/</a> <dt>Editor's Draft: <dd><a href="https://drafts.csswg.org/css-multicol/">https://drafts.csswg.org/css-multicol/</a> <dt>History: <dd><a class="u-url" href="https://www.w3.org/standards/history/css-multicol-1/">https://www.w3.org/standards/history/css-multicol-1/</a> <dt>Implementation Report: <dd><a href="https://test.csswg.org/harness/results/css-multicol-1_dev/grouped/">https://test.csswg.org/harness/results/css-multicol-1_dev/grouped/</a> <dt>Feedback: <dd><a href="https://github.com/w3c/csswg-drafts/labels/css-multicol-1">CSSWG Issues Repository</a> <dd><a href="https://drafts.csswg.org/css-multicol-1/issues">Disposition of Comments</a> <dt class="editor">Editors: <dd class="editor p-author h-card vcard" data-editor-id="43241"><a class="p-name fn u-url url" href="https://florian.rivoal.net">Florian Rivoal</a> (<span class="p-org org">On behalf of Bloomberg</span>) <dd class="editor p-author h-card vcard" data-editor-id="81117"><a class="p-name fn u-email email" href="mailto:rachelandrew@google.com">Rachel Andrew</a> (<span class="p-org org">Google</span>) <dt class="editor">Former Editor: <dd class="editor p-author h-card vcard" data-editor-id="9796"><a class="p-name fn u-email email" href="mailto:howcome@opera.com">Håkon Wium Lie</a> (<span class="p-org org">Opera Software</span>) <dt>Suggest an Edit for this Spec: <dd><a href="https://github.com/w3c/csswg-drafts/blob/main/css-multicol-1/Overview.bs">GitHub Editor</a> <dt>Test Suite: <dd class="wpt-overview"><a href="https://wpt.fyi/results/css/css-multicol/">https://wpt.fyi/results/css/css-multicol/</a> </dl> </div> </details> <div data-fill-with="warning"></div> <p class="copyright" data-fill-with="copyright"><a href="https://www.w3.org/policies/#copyright">Copyright</a> © 2024 <a href="https://www.w3.org/">World Wide Web Consortium</a>. <abbr title="World Wide Web Consortium">W3C</abbr><sup>®</sup> <a href="https://www.w3.org/policies/#Legal_Disclaimer">liability</a>, <a href="https://www.w3.org/policies/#W3C_Trademarks">trademark</a> and <a href="https://www.w3.org/copyright/software-license/" rel="license" title="W3C Software and Document License">permissive document license</a> rules apply. </p> <hr title="Separator for header"> </div> <div class="p-summary" data-fill-with="abstract"> <h2 class="no-num no-toc no-ref heading settled" id="abstract"><span class="content">Abstract</span></h2> <p>This specification describes multi-column layouts in CSS, a style sheet language for the web. Using functionality described in the specification, content can be flowed into multiple columns with a gap and a rule between them.</p> <a href="https://www.w3.org/TR/CSS/">CSS</a> is a language for describing the rendering of structured documents (such as HTML and XML) on screen, on paper, etc. </div> <h2 class="no-num no-toc no-ref heading settled" id="sotd"><span class="content">Status of this document</span></h2> <div data-fill-with="status"> <p><em>This section describes the status of this document at the time of its publication. A list of current W3C publications and the latest revision of this technical report can be found in the <a href="https://www.w3.org/TR/">W3C technical reports index at https://www.w3.org/TR/.</a></em> </p> <p> This document was published by the <a href="https://www.w3.org/groups/wg/css">CSS Working Group</a> as a <strong>Candidate Recommendation Snapshot</strong> using the <a href="https://www.w3.org/2023/Process-20231103/#recs-and-notes">Recommendation track</a>. Publication as a Candidate Recommendation does not imply endorsement by <abbr title="World Wide Web Consortium">W3C</abbr> and its Members. A Candidate Recommendation Snapshot has received <a href="https://www.w3.org/2023/Process-20231103/#dfn-wide-review">wide review</a>, is intended to gather implementation experience, and has commitments from Working Group members to <a href="https://www.w3.org/Consortium/Patent-Policy/#sec-Requirements">royalty-free licensing</a> for implementations. This document is intended to become a W3C Recommendation; it will remain a Candidate Recommendation at least until <time class="status-deadline" datetime="2024-07-09">9 July 2024</time> to gather additional feedback. </p> <p>Please send feedback by <a href="https://github.com/w3c/csswg-drafts/issues">filing issues in GitHub</a> (preferred), including the spec code “css-multicol” in the title, like this: “[css-multicol] <i>…summary of comment…</i>”. All issues and comments are <a href="https://lists.w3.org/Archives/Public/public-css-archive/">archived</a>. Alternately, feedback can be sent to the (<a href="https://lists.w3.org/Archives/Public/www-style/">archived</a>) public mailing list <a href="mailto:www-style@w3.org?Subject=%5Bcss-multicol%5D%20PUT%20SUBJECT%20HERE">www-style@w3.org</a>. </p> <p>This document is governed by the <a href="https://www.w3.org/2023/Process-20231103/" id="w3c_process_revision">03 November 2023 W3C Process Document</a>. </p> <p>This document was produced by a group operating under the <a href="https://www.w3.org/Consortium/Patent-Policy-20200915/">W3C Patent Policy</a>. W3C maintains a <a href="https://www.w3.org/groups/wg/css/ipr" rel="disclosure">public list of any patent disclosures</a> made in connection with the deliverables of the group; that page also includes instructions for disclosing a patent. An individual who has actual knowledge of a patent which the individual believes contains <a href="https://www.w3.org/Consortium/Patent-Policy-20200915/#def-essential">Essential Claim(s)</a> must disclose the information in accordance with <a href="https://www.w3.org/Consortium/Patent-Policy-20200915/#sec-Disclosure">section 6 of the W3C Patent Policy</a>. </p> <p></p> </div> <div data-fill-with="at-risk"></div> <nav data-fill-with="table-of-contents" id="toc"> <h2 class="no-num no-toc no-ref" id="contents">Table of Contents</h2> <ol class="toc" role="directory"> <li> <a href="#introduction"><span class="secno">1</span> <span class="content"> Introduction</span></a> <ol class="toc"> <li><a href="#values"><span class="secno">1.1</span> <span class="content"> Value Definitions</span></a> </ol> <li><a href="#the-multi-column-model"><span class="secno">2</span> <span class="content"> The Multi-Column Model</span></a> <li> <a href="#the-number-and-width-of-columns"><span class="secno">3</span> <span class="content"> The Number and Width of Columns</span></a> <ol class="toc"> <li><a href="#cw"><span class="secno">3.1</span> <span class="content">The Inline Size of Columns: the <span class="property">column-width</span> property</span></a> <li><a href="#cc"><span class="secno">3.2</span> <span class="content">The Number of Columns: the <span class="property">column-count</span> property</span></a> <li><a href="#columns"><span class="secno">3.3</span> <span class="content">The <span class="property">column-width</span> and <span class="property">column-count</span> Shorthand: The <span class="property">columns</span> Property</span></a> <li><a href="#pseudo-algorithm"><span class="secno">3.4</span> <span class="content">The Pseudo-algorithm</span></a> <li><a href="#stacking-context"><span class="secno">3.5</span> <span class="content"> Stacking Context</span></a> </ol> <li> <a href="#column-gaps-and-rules"><span class="secno">4</span> <span class="content">Column Gaps and Rules</span></a> <ol class="toc"> <li><a href="#cg"><span class="secno">4.1</span> <span class="content">Gutters Between Columns: the <span class="property">column-gap</span> property</span></a> <li><a href="#crc"><span class="secno">4.2</span> <span class="content">The Color of Column Rules: the <span class="property">column-rule-color</span> property</span></a> <li><a href="#crs"><span class="secno">4.3</span> <span class="content">The Style Of Column Rules: the <span class="property">column-rule-style</span> property</span></a> <li><a href="#crw"><span class="secno">4.4</span> <span class="content">The Width Of Column Rules: the <span class="property">column-rule-width</span> property</span></a> <li><a href="#cr"><span class="secno">4.5</span> <span class="content">Column Rule Shorthand: the <span class="property">column-rule</span> property</span></a> </ol> <li> <a href="#column-breaks"><span class="secno">5</span> <span class="content"> Column Breaks</span></a> <ol class="toc"> <li><a href="#break-before-break-after-break-inside"><span class="secno">5.1</span> <span class="content">Controlling Fragmentation: the <span class="property">break-before</span>, <span class="property">break-after</span>, <span class="property">break-inside</span> properties</span></a> </ol> <li> <a href="#spanning-columns"><span class="secno">6</span> <span class="content"> Spanning Columns</span></a> <ol class="toc"> <li><a href="#column-span"><span class="secno">6.1</span> <span class="content">Spanning An Element Across Columns: the <span class="property">column-span</span> property</span></a> </ol> <li> <a href="#filling-columns"><span class="secno">7</span> <span class="content"> Filling Columns</span></a> <ol class="toc"> <li><a href="#cf"><span class="secno">7.1</span> <span class="content">Column Balancing: the <span class="property">column-fill</span> property</span></a> </ol> <li> <a href="#overflow"><span class="secno">8</span> <span class="content"> Overflow</span></a> <ol class="toc"> <li><a href="#overflow-inside-multicol-elements"><span class="secno">8.1</span> <span class="content"> Overflow Inside Multicol Containers</span></a> <li><a href="#pagination-and-overflow-outside-multicol"><span class="secno">8.2</span> <span class="content"> Pagination and Overflow Outside Multicol Containers</span></a> </ol> <li> <a href="#changes"><span class="secno"></span> <span class="content">Appendix B. Changes</span></a> <ol class="toc"> <li><a href="#changes-from-20211012"><span class="secno"></span> <span class="content">Changes from the <span>Candidate Recommendation (CR) of 12 October 2021</span></span></a> <li><a href="#changes-from-20210212"><span class="secno"></span> <span class="content">Changes from the <span>Working Draft (WD) of 12 February 2021</span></span></a> <li><a href="#changes-from-20191015"><span class="secno"></span> <span class="content">Changes from the <span>Working Draft (WD) of 15 October 2019</span></span></a> <li><a href="#changes-from-20180528"><span class="secno"></span> <span class="content">Changes from the <span>Working Draft (WD) of 28 May 2018</span></span></a> <li><a href="#changes-from-20171005"><span class="secno"></span> <span class="content">Changes from the <span>Working Draft (WD) of 5 October 2017</span></span></a> <li><a href="#changes-from-20110412"><span class="secno"></span> <span class="content">Changes from the <span>Candidate Recommendation (CR) of 12 April 2011</span>.</span></a> </ol> <li><a href="#privacy"><span class="secno"></span> <span class="content">Privacy Considerations</span></a> <li><a href="#security"><span class="secno"></span> <span class="content">Security Considerations</span></a> <li><a href="#a11y"><span class="secno"></span> <span class="content">Accessibility Considerations</span></a> <li><a href="#acknowledgments"><span class="secno"></span> <span class="content"> Acknowledgments</span></a> <li> <a href="#w3c-conformance"><span class="secno"></span> <span class="content"> Conformance</span></a> <ol class="toc"> <li><a href="#w3c-conventions"><span class="secno"></span> <span class="content"> Document conventions</span></a> <li><a href="#w3c-conformance-classes"><span class="secno"></span> <span class="content"> Conformance classes</span></a> <li> <a href="#w3c-partial"><span class="secno"></span> <span class="content"> Partial implementations</span></a> <ol class="toc"> <li><a href="#w3c-conform-future-proofing"><span class="secno"></span> <span class="content"> Implementations of Unstable and Proprietary Features</span></a> </ol> <li><a href="#w3c-testing"><span class="secno"></span> <span class="content"> Non-experimental implementations</span></a> <li><a href="#w3c-cr-exit-criteria"><span class="secno"></span> <span class="content"> CR exit criteria</span></a> </ol> <li> <a href="#index"><span class="secno"></span> <span class="content">Index</span></a> <ol class="toc"> <li><a href="#index-defined-here"><span class="secno"></span> <span class="content">Terms defined by this specification</span></a> <li><a href="#index-defined-elsewhere"><span class="secno"></span> <span class="content">Terms defined by reference</span></a> </ol> <li> <a href="#references"><span class="secno"></span> <span class="content">References</span></a> <ol class="toc"> <li><a href="#normative"><span class="secno"></span> <span class="content">Normative References</span></a> <li><a href="#informative"><span class="secno"></span> <span class="content">Informative References</span></a> </ol> <li><a href="#property-index"><span class="secno"></span> <span class="content">Property Index</span></a> </ol> </nav> <main> <h2 class="heading settled" data-level="1" id="introduction"><span class="secno">1. </span><span class="content"> Introduction</span><a class="self-link" href="#introduction"></a></h2> <p>(This section is not normative.)</p> <p>This module describes <dfn class="dfn-paneled" data-dfn-type="dfn" data-export id="multi-column-layout">multi-column layout</dfn> in CSS. By using functionality described in this document, style sheets can declare that the content of an element is to be laid out in multiple columns.</p> <p>Other layout methods in CSS, when applied to a parent element, change the display properties of the direct children. For example if a three column grid layout is created, the direct children of the <a data-link-type="dfn" href="https://www.w3.org/TR/css-grid-2/#grid-container" id="ref-for-grid-container">grid container</a> become <a data-link-type="dfn" href="https://www.w3.org/TR/css-grid-2/#grid-item" id="ref-for-grid-item">grid items</a> and are placed into the column tracks, one element per cell with additional rows created as needed.</p> <p>The child elements of a <a data-link-type="dfn" href="#multi-column-container" id="ref-for-multi-column-container">multi-column container</a> however continue in normal flow, that flow is arranged into a number of columns. These columns have a flexible inline size, and therefore respond to available space by changing the size or number of columns displayed.</p> <p>Multi-column layouts are easy to describe in CSS. Here is a simple example:</p> <div class="example" id="example-90f03bde"> <a class="self-link" href="#example-90f03bde"></a> <pre class="highlight">body <c- p>{</c-> <c- k>column-width</c-><c- p>:</c-> <c- m>12</c-><c- k>em</c-> <c- p>}</c-></pre> <p>In this example, the <code class="html">body</code> element is set to have columns at least <span class="css">12em</span> wide. The exact number of columns will depend on the available space.</p> </div> <p>The number of columns can also be set explicitly in the style sheet:</p> <div class="example" id="example-7e147b89"> <a class="self-link" href="#example-7e147b89"></a> <pre class="highlight">body <c- p>{</c-> <c- k>column-count</c-><c- p>:</c-> <c- m>2</c-> <c- p>}</c-></pre> <p>In this case, the number of columns is fixed and the column widths will vary depending on the available width.</p> </div> <p>The shorthand <a class="property css" data-link-type="property" href="#propdef-columns" id="ref-for-propdef-columns">columns</a> property can be used to set either, or both, properties in one declaration.</p> <div class="example" id="example-6c6d6717"> <a class="self-link" href="#example-6c6d6717"></a> In these examples, the number of columns, the width of columns, and both the number and width are set, respectively: <pre class="highlight">body <c- p>{</c-> <c- k>columns</c-><c- p>:</c-> <c- m>2</c-> <c- p>}</c-> body <c- p>{</c-> <c- k>columns</c-><c- p>:</c-> <c- m>12</c-><c- k>em</c-> <c- p>}</c-> body <c- p>{</c-> <c- k>columns</c-><c- p>:</c-> <c- m>2</c-> <c- m>12</c-><c- k>em</c-> <c- p>}</c-> </pre> </div> <p>Another group of properties introduced in this module describe gaps and rules between columns.</p> <div class="example" id="example-21b75f3b"> <a class="self-link" href="#example-21b75f3b"></a> <pre class="highlight">body <c- p>{</c-> <c- k>column-gap</c-><c- p>:</c-> <c- m>1</c-><c- k>em</c-><c- p>;</c-> <c- k>column-rule</c-><c- p>:</c-> thin solid black<c- p>;</c-> <c- p>}</c-> </pre> <p>The first declaration in the example above sets the gap between two adjacent columns to be 1em. Column gaps are similar to padding areas. In the middle of the gap there will be a rule which is described by the <a class="property css" data-link-type="property" href="#propdef-column-rule" id="ref-for-propdef-column-rule">column-rule</a> property.</p> </div> <p>The values of the <a class="property css" data-link-type="property" href="#propdef-column-rule" id="ref-for-propdef-column-rule①">column-rule</a> property are similar to those of the CSS <a class="property css" data-link-type="property" href="https://www.w3.org/TR/css-backgrounds-3/#propdef-border" id="ref-for-propdef-border">border</a> properties. Like <span class="property" id="ref-for-propdef-border①">border</span>, <span class="property" id="ref-for-propdef-column-rule②">column-rule</span> is a shorthand property.</p> <div class="example" id="example-968144c8"> <a class="self-link" href="#example-968144c8"></a> In this example, the shorthand <a class="property css" data-link-type="property" href="#propdef-column-rule" id="ref-for-propdef-column-rule③">column-rule</a> declaration from the above example has been expanded: <pre class="highlight">body <c- p>{</c-> <c- k>column-gap</c-><c- p>:</c-> <c- m>1</c-><c- k>em</c-><c- p>;</c-> <c- k>column-rule-width</c-><c- p>:</c-> thin<c- p>;</c-> <c- k>column-rule-style</c-><c- p>:</c-> solid<c- p>;</c-> <c- k>column-rule-color</c-><c- p>:</c-> black<c- p>;</c-> <c- p>}</c-> </pre> </div> <p>The <a class="property css" data-link-type="property" href="#propdef-column-fill" id="ref-for-propdef-column-fill">column-fill</a> and <a class="property css" data-link-type="property" href="#propdef-column-span" id="ref-for-propdef-column-span">column-span</a> properties give style sheets a wider range of visual expressions in multi-column layouts.</p> <div class="example" id="example-8550a53a"> <a class="self-link" href="#example-8550a53a"></a> In this example, columns are set to be balanced, i.e., to have approximately the same length. Also, <code>h2</code> elements are set to span across all columns. <pre class="highlight">div <c- p>{</c-> <c- k>column-fill</c-><c- p>:</c-> balance <c- p>}</c-> h2 <c- p>{</c-> <c- k>column-span</c-><c- p>:</c-> all <c- p>}</c-> </pre> </div> <details class="wpt-tests-block" dir="ltr" lang="en"> <summary>Tests</summary> <ul class="wpt-tests-list"> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-fill-balance-029.html" title="css/css-multicol/multicol-fill-balance-029.html">multicol-fill-balance-029.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-fill-balance-029.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-fill-balance-029.html"><small>(source)</small></a> </ul> </details> <p>This specification introduces ten new properties, all of which are used in the examples above.</p> <p>If all column properties have their initial value, the layout of an element will be identical to a multi-column layout with only one column.</p> <div class="example" id="example-47371199"> <a class="self-link" href="#example-47371199"></a> <a data-link-type="dfn" href="#column-gap" id="ref-for-column-gap">Column gaps</a> (diagonal hatching) and <a data-link-type="dfn" href="#column-rule" id="ref-for-column-rule">column rules</a> are shown in this sample rendition of a multi-column container with padding (cross hatching). The hatched areas are present for illustrational purposes only. In actual implementations these areas will be determined by the background, the second image shows a rendering of a <a data-link-type="dfn" href="#multi-column-container" id="ref-for-multi-column-container①">multi-column container</a> with column-rules. <figure> <img alt="a diagram showing the various parts of multi-column layout" src="images/initial-example.svg"> <img alt="key to the conventions used to display invisible parts of diagram" src="images/invisible-elements.svg"> <figcaption>A multi-column layout with the non-visible column-span and padding inside the multicol container highlighted.</figcaption> </figure> <figure> <img alt="a diagram showing the various parts of multi-column layout" src="images/initial-example-b.svg"> <figcaption>The same layout as in the first image, as it would be displayed by an implementation.</figcaption> </figure> </div> <h3 class="heading settled" data-level="1.1" id="values"><span class="secno">1.1. </span><span class="content"> Value Definitions</span><a class="self-link" href="#values"></a></h3> <p>This specification follows the <a href="https://www.w3.org/TR/CSS2/about.html#property-defs">CSS property definition conventions</a> from <a data-link-type="biblio" href="#biblio-css21" title="Cascading Style Sheets Level 2 Revision 1 (CSS 2.1) Specification">[CSS21]</a> using the <a href="https://www.w3.org/TR/css-values-3/#value-defs">value definition syntax</a> from <a data-link-type="biblio" href="#biblio-css-values-3" title="CSS Values and Units Module Level 3">[CSS-VALUES-3]</a>. Value types not defined in this specification are defined in CSS Values &amp; Units <span title="CSS Values and Units Module Level 3">[CSS-VALUES-3]</span>. Combination with other CSS modules may expand the definitions of these value types.</p> <p>In addition to the property-specific values listed in their definitions, all properties defined in this specification also accept the <a data-link-type="dfn" href="https://www.w3.org/TR/css-values-4/#css-wide-keywords" id="ref-for-css-wide-keywords">CSS-wide keywords</a> as their property value. For readability they have not been repeated explicitly.</p> <h2 class="heading settled" data-level="2" id="the-multi-column-model"><span class="secno">2. </span><span class="content"> The Multi-Column Model</span><a class="self-link" href="#the-multi-column-model"></a></h2> <p>An element whose <a class="property css" data-link-type="property" href="#propdef-column-width" id="ref-for-propdef-column-width">column-width</a> or <a class="property css" data-link-type="property" href="#propdef-column-count" id="ref-for-propdef-column-count">column-count</a> property is not <a class="css" data-link-type="maybe" href="#valdef-column-width-auto" id="ref-for-valdef-column-width-auto">auto</a> establishes a <dfn class="dfn-paneled" data-dfn-type="dfn" data-export data-lt="multi-column container|multicol container" id="multi-column-container">multi-column container<span id="multi-column-element"></span></dfn> (or <i>multicol container</i> for short), and therefore acts as a container for <a data-link-type="dfn" href="#multi-column-layout" id="ref-for-multi-column-layout">multi-column layout</a>.</p> <details class="wpt-tests-block" dir="ltr" lang="en"> <summary>Tests</summary> <p>Basic multicol tests.</p> <ul class="wpt-tests-list"> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-basic-002.html" title="css/css-multicol/multicol-basic-002.html">multicol-basic-002.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-basic-002.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-basic-002.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-basic-004.html" title="css/css-multicol/multicol-basic-004.html">multicol-basic-004.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-basic-004.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-basic-004.html"><small>(source)</small></a> </ul> <hr> <p>Tests demonstrating that auto values do not create a multicol container.</p> <ul class="wpt-tests-list"> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-count-computed-004.xht" title="css/css-multicol/multicol-count-computed-004.xht">multicol-count-computed-004.xht</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-count-computed-004.xht"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-count-computed-004.xht"><small>(source)</small></a> </ul> <hr> <p>Multicol properties do not inherit.</p> <ul class="wpt-tests-list"> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/inheritance.html" title="css/css-multicol/inheritance.html">inheritance.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/inheritance.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/inheritance.html"><small>(source)</small></a> </ul> <hr> <p>Multicol with scrolled columns.</p> <ul class="wpt-tests-list"> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-scroll-content.html" title="css/css-multicol/multicol-scroll-content.html">multicol-scroll-content.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-scroll-content.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-scroll-content.html"><small>(source)</small></a> </ul> <hr> <p>Multicol with zero height.</p> <ul class="wpt-tests-list"> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-zero-height-001.xht" title="css/css-multicol/multicol-zero-height-001.xht">multicol-zero-height-001.xht</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-zero-height-001.xht"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-zero-height-001.xht"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-zero-height-002.html" title="css/css-multicol/multicol-zero-height-002.html">multicol-zero-height-002.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-zero-height-002.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-zero-height-002.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-zero-height-003.html" title="css/css-multicol/multicol-zero-height-003.html">multicol-zero-height-003.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-zero-height-003.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-zero-height-003.html"><small>(source)</small></a> </ul> <hr> </details> <p>In the traditional CSS box model, the content of an element is flowed into the content box of the corresponding element. Multi-column layout introduces a <a data-link-type="dfn" href="https://www.w3.org/TR/css-break-4/#fragmentation-context" id="ref-for-fragmentation-context">fragmentation context</a> formed of <a data-link-type="dfn" href="https://www.w3.org/TR/css-display-3/#anonymous" id="ref-for-anonymous">anonymous</a> <a data-link-type="dfn" href="https://www.w3.org/TR/css-break-4/#fragmentation-container" id="ref-for-fragmentation-container">fragmentation containers</a> called <dfn class="dfn-paneled" data-dfn-type="dfn" data-export data-local-lt="column" data-lt="column box" id="column-box">column boxes</dfn> (or <i>columns</i> for short). These <a data-link-type="dfn" href="#column-box" id="ref-for-column-box">column boxes</a> establish an independent <a data-link-type="dfn" href="https://www.w3.org/TR/css-display-3/#block-formatting-context" id="ref-for-block-formatting-context">block formatting context</a> into which the multi-column container’s content flows, and form the <a data-link-type="dfn" href="https://www.w3.org/TR/css-display-3/#containing-block" id="ref-for-containing-block">containing block</a> for its non-positioned children.</p> <div class="example" id="example-5cbb5b6f"> <a class="self-link" href="#example-5cbb5b6f"></a> In this example, the width of the image is set with these rules: <pre class="highlight">img <c- p>{</c-> <c- k>display</c-><c- p>:</c-> block<c- p>;</c-> <c- k>width</c-><c- p>:</c-> <c- m>100</c-><c- k>%</c-><c- p>;</c-> <c- p>}</c-> </pre> <p>Given that the column box creates a new <a data-link-type="dfn" href="https://www.w3.org/TR/css-display-3/#block-formatting-context" id="ref-for-block-formatting-context①">block formatting context</a>, the <a class="property css" data-link-type="property" href="https://www.w3.org/TR/css-sizing-3/#propdef-width" id="ref-for-propdef-width">width</a> is calculated relative to the column box. Therefore the image will not overflow the column box:</p> <figure> <img alt="an image contained inside a column box" src="images/image-inside-column.svg"> <figcaption>The image is constrained by the column box that it is displayed in.</figcaption> </figure> </div> <div class="example" id="example-88e557c8"> <a class="self-link" href="#example-88e557c8"></a> Given that the column box creates a new <a data-link-type="dfn" href="https://www.w3.org/TR/css-display-3/#block-formatting-context" id="ref-for-block-formatting-context②">block formatting context</a>, a top margin set on the first child element of a multicol container will not collapse with the margins of the multicol container. <figure> <img alt="The first paragraph has a &apos;margin-top&apos; of &apos;&apos;1em&apos;&apos;, which appears before the text." src="images/margins-do-not-collapse.svg"> <figcaption>The margin above the first paragraph has not collapsed, leaving a <span class="css">1em</span> margin above the first line in the multicol container.</figcaption> </figure> </div> <details class="wpt-tests-block" dir="ltr" lang="en"> <summary>Tests</summary> <ul class="wpt-tests-list"> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-margin-001.xht" title="css/css-multicol/multicol-margin-001.xht">multicol-margin-001.xht</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-margin-001.xht"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-margin-001.xht"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-margin-002.xht" title="css/css-multicol/multicol-margin-002.xht">multicol-margin-002.xht</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-margin-002.xht"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-margin-002.xht"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-margin-003.html" title="css/css-multicol/multicol-margin-003.html">multicol-margin-003.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-margin-003.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-margin-003.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-margin-child-001.xht" title="css/css-multicol/multicol-margin-child-001.xht">multicol-margin-child-001.xht</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-margin-child-001.xht"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-margin-child-001.xht"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-nested-margin-001.xht" title="css/css-multicol/multicol-nested-margin-001.xht">multicol-nested-margin-001.xht</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-nested-margin-001.xht"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-nested-margin-001.xht"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-nested-margin-002.xht" title="css/css-multicol/multicol-nested-margin-002.xht">multicol-nested-margin-002.xht</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-nested-margin-002.xht"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-nested-margin-002.xht"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-nested-margin-003.xht" title="css/css-multicol/multicol-nested-margin-003.xht">multicol-nested-margin-003.xht</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-nested-margin-003.xht"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-nested-margin-003.xht"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-nested-margin-004.xht" title="css/css-multicol/multicol-nested-margin-004.xht">multicol-nested-margin-004.xht</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-nested-margin-004.xht"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-nested-margin-004.xht"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-nested-margin-005.xht" title="css/css-multicol/multicol-nested-margin-005.xht">multicol-nested-margin-005.xht</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-nested-margin-005.xht"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-nested-margin-005.xht"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-collapsing-001.xht" title="css/css-multicol/multicol-collapsing-001.xht">multicol-collapsing-001.xht</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-collapsing-001.xht"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-collapsing-001.xht"><small>(source)</small></a> </ul> </details> <p>Floats that appear inside multi-column layouts are positioned with regard to the <a data-link-type="dfn" href="#column-box" id="ref-for-column-box①">column box</a> where the float appears.</p> <div class="example" id="example-3dc32251"> <a class="self-link" href="#example-3dc32251"></a> In this example, this CSS fragment describes the presentation of the image: <pre class="highlight">img <c- p>{</c-> <c- k>display</c-><c- p>:</c-> block<c- p>;</c-> <c- k>float</c-><c- p>:</c-> right<c- p>;</c-> <c- p>}</c-> </pre> <p>In the HTML, the image appears after the sentence ending, "the leg of a chicken".</p> <figure> <img alt="an image floated and contained inside a column box" src="images/image-floated-in-column.svg"> <figcaption>The image is floated inside the column box it appears in.</figcaption> </figure> </div> <p>Content overflowing a <a data-link-type="dfn" href="#column-box" id="ref-for-column-box②">column box</a> in the <a data-link-type="dfn" href="https://www.w3.org/TR/css-writing-modes-4/#block-axis" id="ref-for-block-axis">block axis</a> <a data-link-type="dfn" href="https://www.w3.org/TR/css-break-4/#fragment" id="ref-for-fragment">fragments</a> and continues in the next <span id="ref-for-column-box③">column box</span>.</p> <p class="note" role="note"><span class="marker">Note:</span> Column boxes, which are <a data-link-type="dfn" href="https://www.w3.org/TR/css-display-3/#anonymous" id="ref-for-anonymous①">anonymous boxes</a>, do not become the <a data-link-type="dfn" href="https://www.w3.org/TR/css-display-3/#containing-block" id="ref-for-containing-block①">containing block</a> for <a data-link-type="dfn" href="https://www.w3.org/TR/css-position-3/#absolute-position" id="ref-for-absolute-position">absolutely positioned boxes</a>. The <a class="property css" data-link-type="property" href="https://www.w3.org/TR/css-position-3/#propdef-position" id="ref-for-propdef-position">position</a> property, which establishes a containing block for such boxes, applies to the <a data-link-type="dfn" href="#multi-column-container" id="ref-for-multi-column-container②">multicol container</a>, it being the <a data-link-type="dfn" href="https://www.w3.org/TR/css-display-3/#principal-box" id="ref-for-principal-box">principal box</a>.</p> <details class="wpt-tests-block" dir="ltr" lang="en"> <summary>Tests</summary> <ul class="wpt-tests-list"> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-containing-001.xht" title="css/css-multicol/multicol-containing-001.xht">multicol-containing-001.xht</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-containing-001.xht"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-containing-001.xht"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-containing-002.xht" title="css/css-multicol/multicol-containing-002.xht">multicol-containing-002.xht</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-containing-002.xht"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-containing-002.xht"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-containing-003.html" title="css/css-multicol/multicol-containing-003.html">multicol-containing-003.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-containing-003.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-containing-003.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-contained-absolute.html" title="css/css-multicol/multicol-contained-absolute.html">multicol-contained-absolute.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-contained-absolute.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-contained-absolute.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/abspos-autopos-contained-by-viewport-000.html" title="css/css-multicol/abspos-autopos-contained-by-viewport-000.html">abspos-autopos-contained-by-viewport-000.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/abspos-autopos-contained-by-viewport-000.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/abspos-autopos-contained-by-viewport-000.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/abspos-autopos-contained-by-viewport-001.html" title="css/css-multicol/abspos-autopos-contained-by-viewport-001.html">abspos-autopos-contained-by-viewport-001.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/abspos-autopos-contained-by-viewport-001.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/abspos-autopos-contained-by-viewport-001.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/abspos-multicol-in-second-outer-clipped.html" title="css/css-multicol/abspos-multicol-in-second-outer-clipped.html">abspos-multicol-in-second-outer-clipped.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/abspos-multicol-in-second-outer-clipped.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/abspos-multicol-in-second-outer-clipped.html"><small>(source)</small></a> </ul> </details> <div class="example" id="example-aaa86638"> <a class="self-link" href="#example-aaa86638"></a> In this example, the <a data-link-type="dfn" href="#multi-column-container" id="ref-for-multi-column-container③">multi-column container</a> has <a class="css" data-link-type="propdesc" href="https://www.w3.org/TR/css-position-3/#propdef-position" id="ref-for-propdef-position①">position: relative</a> thus becoming the containing block. The image is a direct child of the <span id="ref-for-multi-column-container④">multi-column container</span> and has <span class="css" id="ref-for-propdef-position②">position: absolute</span>. It takes positioning from the <span id="ref-for-multi-column-container⑤">multi-column container</span> and not from the <a data-link-type="dfn" href="#column-box" id="ref-for-column-box④">column box</a>. <pre class="highlight">.container <c- p>{</c-> <c- k>position</c-><c- p>:</c-> relative<c- p>;</c-> <c- k>column-count</c-><c- p>:</c-> <c- m>3</c-><c- p>;</c-> <c- p>}</c-> img <c- p>{</c-> <c- k>position</c-><c- p>:</c-> absolute<c- p>;</c-> <c- k>top</c-><c- p>:</c-> <c- m>20</c-><c- k>px</c-><c- p>;</c-> <c- k>left</c-><c- p>:</c-> <c- m>40</c-><c- k>px</c-><c- p>;</c-> <c- p>}</c-> </pre> <figure> <img alt="The absolutely positioned image is positioned by reference to the [=multi-column container=] not the [=column box=]." src="images/column-not-containing-block.svg"> <figcaption>The figure demonstrates that the absolutely positioned image is positioned by reference to the multicol container and not the column box.</figcaption> </figure> </div> <p>Out-of-flow descendants of a <a data-link-type="dfn" href="#multi-column-container" id="ref-for-multi-column-container⑥">multi-column container</a> do affect column balancing, and the block-size of the <span id="ref-for-multi-column-container⑦">multi-column container</span>.</p> <details class="wpt-tests-block" dir="ltr" lang="en"> <summary>Tests</summary> <ul class="wpt-tests-list"> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-oof-inline-cb-001.html" title="css/css-multicol/multicol-oof-inline-cb-001.html">multicol-oof-inline-cb-001.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-oof-inline-cb-001.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-oof-inline-cb-001.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-oof-inline-cb-002.html" title="css/css-multicol/multicol-oof-inline-cb-002.html">multicol-oof-inline-cb-002.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-oof-inline-cb-002.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-oof-inline-cb-002.html"><small>(source)</small></a> </ul> </details> <p>The column boxes are ordered in the <a data-link-type="dfn" href="https://www.w3.org/TR/css-writing-modes-4/#inline-base-direction" id="ref-for-inline-base-direction">inline base direction</a> of the multicol container and arranged into <dfn class="dfn-paneled" data-dfn-type="dfn" data-lt="multi-column line | multi-col line | multicol line" data-noexport id="multi-column-line">multicol lines</dfn>. The <dfn class="dfn-paneled" data-dfn-type="dfn" data-export id="column-width">column width</dfn> is the length of the column box in the inline direction. The <dfn class="dfn-paneled" data-dfn-type="dfn" data-export id="column-height">column height</dfn> is the length of the column box in the block direction. All column boxes in a line have the same column width, and all column boxes in a line have the same column height.</p> <details class="wpt-tests-block" dir="ltr" lang="en"> <summary>Tests</summary> <p>The following tests relate to baseline alignment of the content of columns, though this is not defined in this specification.</p> <ul class="wpt-tests-list"> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/baseline-000.html" title="css/css-multicol/baseline-000.html">baseline-000.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/baseline-000.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/baseline-000.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/baseline-001.html" title="css/css-multicol/baseline-001.html">baseline-001.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/baseline-001.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/baseline-001.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/baseline-002.html" title="css/css-multicol/baseline-002.html">baseline-002.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/baseline-002.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/baseline-002.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/baseline-003.html" title="css/css-multicol/baseline-003.html">baseline-003.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/baseline-003.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/baseline-003.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/baseline-004.html" title="css/css-multicol/baseline-004.html">baseline-004.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/baseline-004.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/baseline-004.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/baseline-005.html" title="css/css-multicol/baseline-005.html">baseline-005.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/baseline-005.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/baseline-005.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/baseline-006.html" title="css/css-multicol/baseline-006.html">baseline-006.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/baseline-006.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/baseline-006.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/baseline-007.html" title="css/css-multicol/baseline-007.html">baseline-007.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/baseline-007.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/baseline-007.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/baseline-008.html" title="css/css-multicol/baseline-008.html">baseline-008.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/baseline-008.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/baseline-008.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/crashtests/as-baseline-aligned-grid-item.html" title="css/css-multicol/crashtests/as-baseline-aligned-grid-item.html">as-baseline-aligned-grid-item.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/crashtests/as-baseline-aligned-grid-item.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/crashtests/as-baseline-aligned-grid-item.html"><small>(source)</small></a> </ul> <hr> <p>The following tests check the behavior of list items that are also muticol containers.</p> <ul class="wpt-tests-list"> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-list-item-001.xht" title="css/css-multicol/multicol-list-item-001.xht">multicol-list-item-001.xht</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-list-item-001.xht"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-list-item-001.xht"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-list-item-002.html" title="css/css-multicol/multicol-list-item-002.html">multicol-list-item-002.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-list-item-002.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-list-item-002.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-list-item-003.html" title="css/css-multicol/multicol-list-item-003.html">multicol-list-item-003.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-list-item-003.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-list-item-003.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-list-item-004.html" title="css/css-multicol/multicol-list-item-004.html">multicol-list-item-004.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-list-item-004.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-list-item-004.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-list-item-005.html" title="css/css-multicol/multicol-list-item-005.html">multicol-list-item-005.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-list-item-005.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-list-item-005.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-list-item-006.html" title="css/css-multicol/multicol-list-item-006.html">multicol-list-item-006.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-list-item-006.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-list-item-006.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-list-item-007.html" title="css/css-multicol/multicol-list-item-007.html">multicol-list-item-007.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-list-item-007.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-list-item-007.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-list-item-008.html" title="css/css-multicol/multicol-list-item-008.html">multicol-list-item-008.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-list-item-008.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-list-item-008.html"><small>(source)</small></a> </ul> <hr> <p>Testing grid items inside multicol</p> <ul class="wpt-tests-list"> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/balance-grid-001.html" title="css/css-multicol/balance-grid-001.html">balance-grid-001.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/balance-grid-001.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/balance-grid-001.html"><small>(source)</small></a> </ul> <hr> <p>The following tests check the behavior of table elements.</p> <ul class="wpt-tests-list"> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/table/multicol-table-cell-001.xht" title="css/css-multicol/table/multicol-table-cell-001.xht">multicol-table-cell-001.xht</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/table/multicol-table-cell-001.xht"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/table/multicol-table-cell-001.xht"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/table/multicol-table-cell-height-001.xht" title="css/css-multicol/table/multicol-table-cell-height-001.xht">multicol-table-cell-height-001.xht</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/table/multicol-table-cell-height-001.xht"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/table/multicol-table-cell-height-001.xht"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/table/multicol-table-cell-height-002.xht" title="css/css-multicol/table/multicol-table-cell-height-002.xht">multicol-table-cell-height-002.xht</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/table/multicol-table-cell-height-002.xht"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/table/multicol-table-cell-height-002.xht"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/table/multicol-table-cell-vertical-align-001.xht" title="css/css-multicol/table/multicol-table-cell-vertical-align-001.xht">multicol-table-cell-vertical-align-001.xht</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/table/multicol-table-cell-vertical-align-001.xht"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/table/multicol-table-cell-vertical-align-001.xht"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/table/table-cell-as-multicol.html" title="css/css-multicol/table/table-cell-as-multicol.html">table-cell-as-multicol.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/table/table-cell-as-multicol.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/table/table-cell-as-multicol.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/table/table-cell-content-change-000.html" title="css/css-multicol/table/table-cell-content-change-000.html">table-cell-content-change-000.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/table/table-cell-content-change-000.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/table/table-cell-content-change-000.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/table/table-cell-content-change-001.html" title="css/css-multicol/table/table-cell-content-change-001.html">table-cell-content-change-001.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/table/table-cell-content-change-001.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/table/table-cell-content-change-001.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/table/table-cell-multicol-nested-001.html" title="css/css-multicol/table/table-cell-multicol-nested-001.html">table-cell-multicol-nested-001.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/table/table-cell-multicol-nested-001.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/table/table-cell-multicol-nested-001.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/table/table-cell-multicol-nested-002.html" title="css/css-multicol/table/table-cell-multicol-nested-002.html">table-cell-multicol-nested-002.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/table/table-cell-multicol-nested-002.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/table/table-cell-multicol-nested-002.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/table/table-cell-multicol-nested-003.html" title="css/css-multicol/table/table-cell-multicol-nested-003.html">table-cell-multicol-nested-003.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/table/table-cell-multicol-nested-003.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/table/table-cell-multicol-nested-003.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/crashtests/break-before-multicol-caption.html" title="css/css-multicol/crashtests/break-before-multicol-caption.html">break-before-multicol-caption.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/crashtests/break-before-multicol-caption.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/crashtests/break-before-multicol-caption.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/crashtests/table-cell-writing-mode-root.html" title="css/css-multicol/crashtests/table-cell-writing-mode-root.html">table-cell-writing-mode-root.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/crashtests/table-cell-writing-mode-root.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/crashtests/table-cell-writing-mode-root.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/table/balance-breakafter-before-table-section-crash.html" title="css/css-multicol/table/balance-breakafter-before-table-section-crash.html">balance-breakafter-before-table-section-crash.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/table/balance-breakafter-before-table-section-crash.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/table/balance-breakafter-before-table-section-crash.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/table/balance-table-with-border-spacing.html" title="css/css-multicol/table/balance-table-with-border-spacing.html">balance-table-with-border-spacing.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/table/balance-table-with-border-spacing.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/table/balance-table-with-border-spacing.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/table/balance-table-with-fractional-height-row.html" title="css/css-multicol/table/balance-table-with-fractional-height-row.html">balance-table-with-fractional-height-row.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/table/balance-table-with-fractional-height-row.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/table/balance-table-with-fractional-height-row.html"><small>(source)</small></a> </ul> <hr> <p>The following tests check that paint order is correct.</p> <ul class="wpt-tests-list"> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/float-and-block.html" title="css/css-multicol/float-and-block.html">float-and-block.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/float-and-block.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/float-and-block.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/move-with-text-after-paint.html" title="css/css-multicol/move-with-text-after-paint.html">move-with-text-after-paint.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/move-with-text-after-paint.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/move-with-text-after-paint.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/resize-with-text-after-paint.html" title="css/css-multicol/resize-with-text-after-paint.html">resize-with-text-after-paint.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/resize-with-text-after-paint.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/resize-with-text-after-paint.html"><small>(source)</small></a> </ul> <hr> <p>The following tests relate to animation or transformation of multicol properties.</p> <ul class="wpt-tests-list"> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/animation/column-width-interpolation.html" title="css/css-multicol/animation/column-width-interpolation.html">column-width-interpolation.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/animation/column-width-interpolation.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/animation/column-width-interpolation.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/animation/discrete-no-interpolation.html" title="css/css-multicol/animation/discrete-no-interpolation.html">discrete-no-interpolation.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/animation/discrete-no-interpolation.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/animation/discrete-no-interpolation.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-overflow-positioned-transform-001.html" title="css/css-multicol/multicol-overflow-positioned-transform-001.html">multicol-overflow-positioned-transform-001.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-overflow-positioned-transform-001.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-overflow-positioned-transform-001.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-overflow-transform-001.html" title="css/css-multicol/multicol-overflow-transform-001.html">multicol-overflow-transform-001.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-overflow-transform-001.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-overflow-transform-001.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/resize-multicol-with-fixed-size-children.html" title="css/css-multicol/resize-multicol-with-fixed-size-children.html">resize-multicol-with-fixed-size-children.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/resize-multicol-with-fixed-size-children.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/resize-multicol-with-fixed-size-children.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/resize-in-strict-containment-nested.html" title="css/css-multicol/resize-in-strict-containment-nested.html">resize-in-strict-containment-nested.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/resize-in-strict-containment-nested.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/resize-in-strict-containment-nested.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/remove-child-in-strict-containment-also-spanner.html" title="css/css-multicol/remove-child-in-strict-containment-also-spanner.html">remove-child-in-strict-containment-also-spanner.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/remove-child-in-strict-containment-also-spanner.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/remove-child-in-strict-containment-also-spanner.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/composited-under-clip-under-multicol.html" title="css/css-multicol/composited-under-clip-under-multicol.html">composited-under-clip-under-multicol.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/composited-under-clip-under-multicol.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/composited-under-clip-under-multicol.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/change-intrinsic-width.html" title="css/css-multicol/change-intrinsic-width.html">change-intrinsic-width.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/change-intrinsic-width.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/change-intrinsic-width.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/change-fragmentainer-size-000.html" title="css/css-multicol/change-fragmentainer-size-000.html">change-fragmentainer-size-000.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/change-fragmentainer-size-000.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/change-fragmentainer-size-000.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/change-fragmentainer-size-001.html" title="css/css-multicol/change-fragmentainer-size-001.html">change-fragmentainer-size-001.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/change-fragmentainer-size-001.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/change-fragmentainer-size-001.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/change-fragmentainer-size-002.html" title="css/css-multicol/change-fragmentainer-size-002.html">change-fragmentainer-size-002.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/change-fragmentainer-size-002.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/change-fragmentainer-size-002.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/change-fragmentainer-size-003.html" title="css/css-multicol/change-fragmentainer-size-003.html">change-fragmentainer-size-003.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/change-fragmentainer-size-003.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/change-fragmentainer-size-003.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/hit-test-child-under-perspective.html" title="css/css-multicol/hit-test-child-under-perspective.html">hit-test-child-under-perspective.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/hit-test-child-under-perspective.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/hit-test-child-under-perspective.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/hit-test-transformed-child.html" title="css/css-multicol/hit-test-transformed-child.html">hit-test-transformed-child.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/hit-test-transformed-child.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/hit-test-transformed-child.html"><small>(source)</small></a> </ul> <hr> <p>Tests related to implementation bugs, not linked to specific normative text.</p> <ul class="wpt-tests-list"> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/crashtests/multicol-with-monolithic-oof-with-multicol-with-oof.html" title="css/css-multicol/crashtests/multicol-with-monolithic-oof-with-multicol-with-oof.html">multicol-with-monolithic-oof-with-multicol-with-oof.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/crashtests/multicol-with-monolithic-oof-with-multicol-with-oof.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/crashtests/multicol-with-monolithic-oof-with-multicol-with-oof.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/crashtests/chrome-bug-1293905.html" title="css/css-multicol/crashtests/chrome-bug-1293905.html">chrome-bug-1293905.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/crashtests/chrome-bug-1293905.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/crashtests/chrome-bug-1293905.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/crashtests/chrome-bug-1297118.html" title="css/css-multicol/crashtests/chrome-bug-1297118.html">chrome-bug-1297118.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/crashtests/chrome-bug-1297118.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/crashtests/chrome-bug-1297118.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/crashtests/chrome-bug-1301281.html" title="css/css-multicol/crashtests/chrome-bug-1301281.html">chrome-bug-1301281.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/crashtests/chrome-bug-1301281.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/crashtests/chrome-bug-1301281.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/crashtests/chrome-bug-1303256.html" title="css/css-multicol/crashtests/chrome-bug-1303256.html">chrome-bug-1303256.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/crashtests/chrome-bug-1303256.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/crashtests/chrome-bug-1303256.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/crashtests/chrome-bug-1314866.html" title="css/css-multicol/crashtests/chrome-bug-1314866.html">chrome-bug-1314866.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/crashtests/chrome-bug-1314866.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/crashtests/chrome-bug-1314866.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/crashtests/dynamic-simplified-layout-break-propagation.html" title="css/css-multicol/crashtests/dynamic-simplified-layout-break-propagation.html">dynamic-simplified-layout-break-propagation.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/crashtests/dynamic-simplified-layout-break-propagation.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/crashtests/dynamic-simplified-layout-break-propagation.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/crashtests/float-multicol-crash.html" title="css/css-multicol/crashtests/float-multicol-crash.html">float-multicol-crash.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/crashtests/float-multicol-crash.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/crashtests/float-multicol-crash.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/change-abspos-width-in-second-column-crash.html" title="css/css-multicol/change-abspos-width-in-second-column-crash.html">change-abspos-width-in-second-column-crash.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/change-abspos-width-in-second-column-crash.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/change-abspos-width-in-second-column-crash.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/change-out-of-flow-type-and-remove-inner-multicol-crash.html" title="css/css-multicol/change-out-of-flow-type-and-remove-inner-multicol-crash.html">change-out-of-flow-type-and-remove-inner-multicol-crash.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/change-out-of-flow-type-and-remove-inner-multicol-crash.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/change-out-of-flow-type-and-remove-inner-multicol-crash.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/crashtests/monolithic-oof-in-clipped-container.html" title="css/css-multicol/crashtests/monolithic-oof-in-clipped-container.html">monolithic-oof-in-clipped-container.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/crashtests/monolithic-oof-in-clipped-container.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/crashtests/monolithic-oof-in-clipped-container.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/crashtests/move-linebreak-to-different-column.html" title="css/css-multicol/crashtests/move-linebreak-to-different-column.html">move-linebreak-to-different-column.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/crashtests/move-linebreak-to-different-column.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/crashtests/move-linebreak-to-different-column.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/crashtests/move-newline-pre-text.html" title="css/css-multicol/crashtests/move-newline-pre-text.html">move-newline-pre-text.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/crashtests/move-newline-pre-text.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/crashtests/move-newline-pre-text.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/crashtests/multicol-at-page-boundary-print.html" title="css/css-multicol/crashtests/multicol-at-page-boundary-print.html">multicol-at-page-boundary-print.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/crashtests/multicol-at-page-boundary-print.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/crashtests/multicol-at-page-boundary-print.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/crashtests/multicol-block-in-inline-crash.html" title="css/css-multicol/crashtests/multicol-block-in-inline-crash.html">multicol-block-in-inline-crash.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/crashtests/multicol-block-in-inline-crash.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/crashtests/multicol-block-in-inline-crash.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/crashtests/multicol-cached-consumed-bsize-crash.html" title="css/css-multicol/crashtests/multicol-cached-consumed-bsize-crash.html">multicol-cached-consumed-bsize-crash.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/crashtests/multicol-cached-consumed-bsize-crash.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/crashtests/multicol-cached-consumed-bsize-crash.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/crashtests/multicol-column-change-crash.html" title="css/css-multicol/crashtests/multicol-column-change-crash.html">multicol-column-change-crash.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/crashtests/multicol-column-change-crash.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/crashtests/multicol-column-change-crash.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/crashtests/multicol-dynamic-contain-crash.html" title="css/css-multicol/crashtests/multicol-dynamic-contain-crash.html">multicol-dynamic-contain-crash.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/crashtests/multicol-dynamic-contain-crash.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/crashtests/multicol-dynamic-contain-crash.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/crashtests/multicol-dynamic-transform-crash.html" title="css/css-multicol/crashtests/multicol-dynamic-transform-crash.html">multicol-dynamic-transform-crash.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/crashtests/multicol-dynamic-transform-crash.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/crashtests/multicol-dynamic-transform-crash.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/crashtests/multicol-floats-in-ifc.html" title="css/css-multicol/crashtests/multicol-floats-in-ifc.html">multicol-floats-in-ifc.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/crashtests/multicol-floats-in-ifc.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/crashtests/multicol-floats-in-ifc.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/crashtests/multicol-parallel-flow-after-spanner-in-inline.html" title="css/css-multicol/crashtests/multicol-parallel-flow-after-spanner-in-inline.html">multicol-parallel-flow-after-spanner-in-inline.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/crashtests/multicol-parallel-flow-after-spanner-in-inline.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/crashtests/multicol-parallel-flow-after-spanner-in-inline.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/crashtests/outline-move-oof-with-inline.html" title="css/css-multicol/crashtests/outline-move-oof-with-inline.html">outline-move-oof-with-inline.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/crashtests/outline-move-oof-with-inline.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/crashtests/outline-move-oof-with-inline.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/crashtests/relpos-inline-with-abspos-multicol-gets-block-child.html" title="css/css-multicol/crashtests/relpos-inline-with-abspos-multicol-gets-block-child.html">relpos-inline-with-abspos-multicol-gets-block-child.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/crashtests/relpos-inline-with-abspos-multicol-gets-block-child.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/crashtests/relpos-inline-with-abspos-multicol-gets-block-child.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/crashtests/size-containment-become-multicol-add-inline-child.html" title="css/css-multicol/crashtests/size-containment-become-multicol-add-inline-child.html">size-containment-become-multicol-add-inline-child.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/crashtests/size-containment-become-multicol-add-inline-child.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/crashtests/size-containment-become-multicol-add-inline-child.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/crashtests/sticky-in-abs-in-sticky.html" title="css/css-multicol/crashtests/sticky-in-abs-in-sticky.html">sticky-in-abs-in-sticky.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/crashtests/sticky-in-abs-in-sticky.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/crashtests/sticky-in-abs-in-sticky.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/crashtests/vertical-rl-column-rules-wide-columns.html" title="css/css-multicol/crashtests/vertical-rl-column-rules-wide-columns.html">vertical-rl-column-rules-wide-columns.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/crashtests/vertical-rl-column-rules-wide-columns.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/crashtests/vertical-rl-column-rules-wide-columns.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/dynamic-become-multicol-add-oof-inside-inline-crash.html" title="css/css-multicol/dynamic-become-multicol-add-oof-inside-inline-crash.html">dynamic-become-multicol-add-oof-inside-inline-crash.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/dynamic-become-multicol-add-oof-inside-inline-crash.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/dynamic-become-multicol-add-oof-inside-inline-crash.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/extremely-tall-multicol-with-extremely-tall-child-crash.html" title="css/css-multicol/extremely-tall-multicol-with-extremely-tall-child-crash.html">extremely-tall-multicol-with-extremely-tall-child-crash.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/extremely-tall-multicol-with-extremely-tall-child-crash.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/extremely-tall-multicol-with-extremely-tall-child-crash.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/file-control-crash.html" title="css/css-multicol/file-control-crash.html">file-control-crash.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/file-control-crash.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/file-control-crash.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/img-alt-as-multicol-crash.html" title="css/css-multicol/img-alt-as-multicol-crash.html">img-alt-as-multicol-crash.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/img-alt-as-multicol-crash.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/img-alt-as-multicol-crash.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/overflow-scroll-in-multicol-crash.html" title="css/css-multicol/overflow-scroll-in-multicol-crash.html">overflow-scroll-in-multicol-crash.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/overflow-scroll-in-multicol-crash.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/overflow-scroll-in-multicol-crash.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/remove-block-sibling-of-inline-with-block-crash.html" title="css/css-multicol/remove-block-sibling-of-inline-with-block-crash.html">remove-block-sibling-of-inline-with-block-crash.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/remove-block-sibling-of-inline-with-block-crash.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/remove-block-sibling-of-inline-with-block-crash.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/subpixel-scroll-crash.html" title="css/css-multicol/subpixel-scroll-crash.html">subpixel-scroll-crash.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/subpixel-scroll-crash.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/subpixel-scroll-crash.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/text-child-crash.html" title="css/css-multicol/text-child-crash.html">text-child-crash.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/text-child-crash.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/text-child-crash.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/with-custom-layout-on-same-element-crash.https.html" title="css/css-multicol/with-custom-layout-on-same-element-crash.https.html">with-custom-layout-on-same-element-crash.https.html</a> <a class="wpt-live" href="https://wpt.live/css/css-multicol/with-custom-layout-on-same-element-crash.https.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/with-custom-layout-on-same-element-crash.https.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/crashtests/oof-in-area-001.html" title="css/css-multicol/crashtests/oof-in-area-001.html">oof-in-area-001.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/crashtests/oof-in-area-001.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/crashtests/oof-in-area-001.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/crashtests/oof-in-area-002.html" title="css/css-multicol/crashtests/oof-in-area-002.html">oof-in-area-002.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/crashtests/oof-in-area-002.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/crashtests/oof-in-area-002.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/crashtests/oof-in-area-003.html" title="css/css-multicol/crashtests/oof-in-area-003.html">oof-in-area-003.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/crashtests/oof-in-area-003.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/crashtests/oof-in-area-003.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/crashtests/oof-in-oof-multicol-in-multicol-spanner-in-multicol.html" title="css/css-multicol/crashtests/oof-in-oof-multicol-in-multicol-spanner-in-multicol.html">oof-in-oof-multicol-in-multicol-spanner-in-multicol.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/crashtests/oof-in-oof-multicol-in-multicol-spanner-in-multicol.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/crashtests/oof-in-oof-multicol-in-multicol-spanner-in-multicol.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/crashtests/oof-in-oof-multicol-in-relpos-in-oof-in-multicol-in-multicol.html" title="css/css-multicol/crashtests/oof-in-oof-multicol-in-relpos-in-oof-in-multicol-in-multicol.html">oof-in-oof-multicol-in-relpos-in-oof-in-multicol-in-multicol.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/crashtests/oof-in-oof-multicol-in-relpos-in-oof-in-multicol-in-multicol.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/crashtests/oof-in-oof-multicol-in-relpos-in-oof-in-multicol-in-multicol.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/crashtests/oof-in-oof-multicol-in-relpos-spanner-in-multicol-in-relpos-multicol-in-multicol.html" title="css/css-multicol/crashtests/oof-in-oof-multicol-in-relpos-spanner-in-multicol-in-relpos-multicol-in-multicol.html">oof-in-oof-multicol-in-relpos-spanner-in-multicol-in-relpos-multicol-in-multicol.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/crashtests/oof-in-oof-multicol-in-relpos-spanner-in-multicol-in-relpos-multicol-in-multicol.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/crashtests/oof-in-oof-multicol-in-relpos-spanner-in-multicol-in-relpos-multicol-in-multicol.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/crashtests/oof-in-oof-multicol-in-relpos-spanner-in-spanner-multicol-in-multicol-in-multicol.html" title="css/css-multicol/crashtests/oof-in-oof-multicol-in-relpos-spanner-in-spanner-multicol-in-multicol-in-multicol.html">oof-in-oof-multicol-in-relpos-spanner-in-spanner-multicol-in-multicol-in-multicol.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/crashtests/oof-in-oof-multicol-in-relpos-spanner-in-spanner-multicol-in-multicol-in-multicol.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/crashtests/oof-in-oof-multicol-in-relpos-spanner-in-spanner-multicol-in-multicol-in-multicol.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/crashtests/oof-in-oof-multicol-in-spanner-in-multicol-in-spanner-in-nested-multicol.html" title="css/css-multicol/crashtests/oof-in-oof-multicol-in-spanner-in-multicol-in-spanner-in-nested-multicol.html">oof-in-oof-multicol-in-spanner-in-multicol-in-spanner-in-nested-multicol.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/crashtests/oof-in-oof-multicol-in-spanner-in-multicol-in-spanner-in-nested-multicol.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/crashtests/oof-in-oof-multicol-in-spanner-in-multicol-in-spanner-in-nested-multicol.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/crashtests/oof-in-oof-multicol-in-spanner-in-nested-multicol.html" title="css/css-multicol/crashtests/oof-in-oof-multicol-in-spanner-in-nested-multicol.html">oof-in-oof-multicol-in-spanner-in-nested-multicol.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/crashtests/oof-in-oof-multicol-in-spanner-in-nested-multicol.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/crashtests/oof-in-oof-multicol-in-spanner-in-nested-multicol.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/crashtests/oof-in-relpos-in-oof-multicol-in-oof-in-relpos-in-oof-multicol-in-multicol.html" title="css/css-multicol/crashtests/oof-in-relpos-in-oof-multicol-in-oof-in-relpos-in-oof-multicol-in-multicol.html">oof-in-relpos-in-oof-multicol-in-oof-in-relpos-in-oof-multicol-in-multicol.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/crashtests/oof-in-relpos-in-oof-multicol-in-oof-in-relpos-in-oof-multicol-in-multicol.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/crashtests/oof-in-relpos-in-oof-multicol-in-oof-in-relpos-in-oof-multicol-in-multicol.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/crashtests/oof-in-relpos-in-oof-multicol-in-relpos-in-oof-multicol-in-relpos-multicol.html" title="css/css-multicol/crashtests/oof-in-relpos-in-oof-multicol-in-relpos-in-oof-multicol-in-relpos-multicol.html">oof-in-relpos-in-oof-multicol-in-relpos-in-oof-multicol-in-relpos-multicol.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/crashtests/oof-in-relpos-in-oof-multicol-in-relpos-in-oof-multicol-in-relpos-multicol.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/crashtests/oof-in-relpos-in-oof-multicol-in-relpos-in-oof-multicol-in-relpos-multicol.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/crashtests/floated-input-in-inline-next-column.html" title="css/css-multicol/crashtests/floated-input-in-inline-next-column.html">floated-input-in-inline-next-column.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/crashtests/floated-input-in-inline-next-column.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/crashtests/floated-input-in-inline-next-column.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/crashtests/inline-float-parallel-flow.html" title="css/css-multicol/crashtests/inline-float-parallel-flow.html">inline-float-parallel-flow.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/crashtests/inline-float-parallel-flow.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/crashtests/inline-float-parallel-flow.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/crashtests/table-caption-in-clipped-overflow.html" title="css/css-multicol/crashtests/table-caption-in-clipped-overflow.html">table-caption-in-clipped-overflow.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/crashtests/table-caption-in-clipped-overflow.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/crashtests/table-caption-in-clipped-overflow.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/crashtests/text-in-inline-interrupted-by-float.html" title="css/css-multicol/crashtests/text-in-inline-interrupted-by-float.html">text-in-inline-interrupted-by-float.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/crashtests/text-in-inline-interrupted-by-float.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/crashtests/text-in-inline-interrupted-by-float.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/increase-prev-sibling-height.html" title="css/css-multicol/increase-prev-sibling-height.html">increase-prev-sibling-height.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/increase-prev-sibling-height.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/increase-prev-sibling-height.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/crashtests/interleaved-bfc-crash.html" title="css/css-multicol/crashtests/interleaved-bfc-crash.html">interleaved-bfc-crash.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/crashtests/interleaved-bfc-crash.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/crashtests/interleaved-bfc-crash.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/crashtests/relayout-fixedpos-in-abspos-in-relpos-in-nested-multicol.html" title="css/css-multicol/crashtests/relayout-fixedpos-in-abspos-in-relpos-in-nested-multicol.html">relayout-fixedpos-in-abspos-in-relpos-in-nested-multicol.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/crashtests/relayout-fixedpos-in-abspos-in-relpos-in-nested-multicol.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/crashtests/relayout-fixedpos-in-abspos-in-relpos-in-nested-multicol.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/crashtests/inline-become-oof-container-make-oof-inflow.html" title="css/css-multicol/crashtests/inline-become-oof-container-make-oof-inflow.html">inline-become-oof-container-make-oof-inflow.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/crashtests/inline-become-oof-container-make-oof-inflow.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/crashtests/inline-become-oof-container-make-oof-inflow.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-dynamic-change-inside-break-inside-avoid-001.html" title="css/css-multicol/multicol-dynamic-change-inside-break-inside-avoid-001.html">multicol-dynamic-change-inside-break-inside-avoid-001.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-dynamic-change-inside-break-inside-avoid-001.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-dynamic-change-inside-break-inside-avoid-001.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-dynamic-add-001.html" title="css/css-multicol/multicol-dynamic-add-001.html">multicol-dynamic-add-001.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-dynamic-add-001.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-dynamic-add-001.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/scroll-width-height.tentative.html" title="css/css-multicol/scroll-width-height.tentative.html">scroll-width-height.tentative.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/scroll-width-height.tentative.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/scroll-width-height.tentative.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/filter-with-abspos.html" title="css/css-multicol/filter-with-abspos.html">filter-with-abspos.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/filter-with-abspos.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/filter-with-abspos.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/crashtests/add-list-item-marker.html" title="css/css-multicol/crashtests/add-list-item-marker.html">add-list-item-marker.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/crashtests/add-list-item-marker.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/crashtests/add-list-item-marker.html"><small>(source)</small></a> </ul> <hr> <p>Tests related to printing and paged media as related to multicol.</p> <ul class="wpt-tests-list"> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/auto-fill-auto-size-001-print.html" title="css/css-multicol/auto-fill-auto-size-001-print.html">auto-fill-auto-size-001-print.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/auto-fill-auto-size-001-print.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/auto-fill-auto-size-001-print.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/auto-fill-auto-size-002-print.html" title="css/css-multicol/auto-fill-auto-size-002-print.html">auto-fill-auto-size-002-print.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/auto-fill-auto-size-002-print.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/auto-fill-auto-size-002-print.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-height-002-print.xht" title="css/css-multicol/multicol-height-002-print.xht">multicol-height-002-print.xht</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-height-002-print.xht"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-height-002-print.xht"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/named-page.html" title="css/css-multicol/named-page.html">named-page.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/named-page.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/named-page.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/page-property-ignored.html" title="css/css-multicol/page-property-ignored.html">page-property-ignored.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/page-property-ignored.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/page-property-ignored.html"><small>(source)</small></a> </ul> <hr> </details> <p class="note" role="note"><span class="marker">Note:</span> In text set using a vertical writing mode, the block direction runs horizontally. In a vertical writing mode columns are laid out horizontally, and the direction of the flow of blocks may be right to left, or left to right. The <a class="property css" data-link-type="property" href="#propdef-column-width" id="ref-for-propdef-column-width①">column-width</a> property therefore refers to the inline size of the column, and not the physical horizontal width.</p> <div class="example" id="example-1ed00d6a"> <a class="self-link" href="#example-1ed00d6a"></a> <figure> <img alt="The first image shows horizontal text with a LTR inline direction. The second shows vertical text with blocks flowing right to left. The third shows vertical text with blocks flowing left to right." src="images/writing-modes.svg"> <figcaption>A diagram showing the different ways columns may be arranged due to writing mode. <br>From left to right: horizontal-tb, vertical-rl, vertical-lr.</figcaption> </figure> </div> <details class="wpt-tests-block" dir="ltr" lang="en"> <summary>Tests</summary> <p>Tests regarding vertical writing modes.</p> <ul class="wpt-tests-list"> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/orthogonal-writing-mode-shrink-to-fit.html" title="css/css-multicol/orthogonal-writing-mode-shrink-to-fit.html">orthogonal-writing-mode-shrink-to-fit.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/orthogonal-writing-mode-shrink-to-fit.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/orthogonal-writing-mode-shrink-to-fit.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-under-vertical-rl-scroll.html" title="css/css-multicol/multicol-under-vertical-rl-scroll.html">multicol-under-vertical-rl-scroll.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-under-vertical-rl-scroll.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-under-vertical-rl-scroll.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/hit-test-in-vertical-rl.html" title="css/css-multicol/hit-test-in-vertical-rl.html">hit-test-in-vertical-rl.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/hit-test-in-vertical-rl.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/hit-test-in-vertical-rl.html"><small>(source)</small></a> </ul> <hr> </details> <p>Within each <a data-link-type="dfn" href="#multi-column-line" id="ref-for-multi-column-line">multicol line</a> in the multi-column container, adjacent column boxes are separated by a <dfn class="dfn-paneled" data-dfn-type="dfn" data-noexport id="column-gap">column gap</dfn>, which may contain a <dfn class="dfn-paneled" data-dfn-type="dfn" data-noexport id="column-rule">column rule</dfn>. All column gaps in the same multi-column container are equal. All column rules in the same multi-column container are also equal, if they appear; column rules only appear between columns that both have content.</p> <p>In the simplest case a multicol container will contain only one line of columns, and the height of each column will be equivalent to the used height of the multi-column container’s content box. However, <a data-link-type="dfn" href="https://www.w3.org/TR/css-break-4/#fragmentation" id="ref-for-fragmentation">fragmentation</a> or <a data-link-type="dfn" href="#multi-column-spanner" id="ref-for-multi-column-spanner">spanners</a> can split the content of the <a data-link-type="dfn" href="#multi-column-container" id="ref-for-multi-column-container⑧">multi-column container</a> into multiple <a data-link-type="dfn" href="#multi-column-line" id="ref-for-multi-column-line①">multicol lines</a>.</p> <p>If the multi-column container is paginated, the height of each column is constrained by the page and the content continues in a new line of column boxes on the next page; a column box never splits across pages.</p> <p>The same effect occurs when a <i>spanning element</i> divides the multi-column container: the columns before the spanning element are balanced and shortened to fit their content. Content after the spanning element then flows into a new, subsequent line of column boxes.</p> <div class="example" id="example-c2c3431f"> <a class="self-link" href="#example-c2c3431f"></a> <figure> <img alt="a diagram showing a spanning element causing the shortened columns above the element with text continuing in new columns below" src="images/simple-span-example.svg"> <figcaption>A demonstration of how the spanning element divides the multicol container.</figcaption> </figure> </div> <p>A <a data-link-type="dfn" href="#multi-column-container" id="ref-for-multi-column-container⑨">multi-column container</a> therefore is a regular <a data-link-type="dfn" href="https://www.w3.org/TR/css-display-3/#block-container" id="ref-for-block-container">block container</a> that establishes a new <a data-link-type="dfn" href="https://www.w3.org/TR/css-display-3/#independent-formatting-context" id="ref-for-independent-formatting-context">independent formatting context</a> whose contents consist of a series of <a data-link-type="dfn" href="#multi-column-line" id="ref-for-multi-column-line②">multicol lines</a> and multicol spanners. Each <span id="ref-for-multi-column-line③">multi-column line</span> acts as a <a data-link-type="dfn" href="https://www.w3.org/TR/css-display-3/#block-level-box" id="ref-for-block-level-box">block-level box</a> that establishes a <dfn class="dfn-paneled" data-dfn-type="dfn" data-noexport id="multi-column-formatting-context">multi-column formatting context</dfn> for its <a data-link-type="dfn" href="#column-box" id="ref-for-column-box⑤">column boxes</a>; and each <a data-link-type="dfn" href="#multi-column-spanner" id="ref-for-multi-column-spanner①">spanner</a> acts as a <span id="ref-for-block-level-box①">block-level box</span> that establishes an <span id="ref-for-independent-formatting-context①">independent formatting context</span> with its type depending on its <a class="property css" data-link-type="property" href="https://www.w3.org/TR/css-display-3/#propdef-display" id="ref-for-propdef-display">display</a> value as usual.</p> <p>Nested multi-column containers are allowed, but there may be implementation-specific limits.</p> <details class="wpt-tests-block" dir="ltr" lang="en"> <summary>Tests</summary> <ul class="wpt-tests-list"> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-nested-002.xht" title="css/css-multicol/multicol-nested-002.xht">multicol-nested-002.xht</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-nested-002.xht"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-nested-002.xht"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-nested-005.xht" title="css/css-multicol/multicol-nested-005.xht">multicol-nested-005.xht</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-nested-005.xht"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-nested-005.xht"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-nested-006.html" title="css/css-multicol/multicol-nested-006.html">multicol-nested-006.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-nested-006.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-nested-006.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-nested-007.html" title="css/css-multicol/multicol-nested-007.html">multicol-nested-007.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-nested-007.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-nested-007.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-nested-008.html" title="css/css-multicol/multicol-nested-008.html">multicol-nested-008.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-nested-008.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-nested-008.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-nested-009.html" title="css/css-multicol/multicol-nested-009.html">multicol-nested-009.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-nested-009.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-nested-009.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-nested-010.html" title="css/css-multicol/multicol-nested-010.html">multicol-nested-010.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-nested-010.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-nested-010.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-nested-011.html" title="css/css-multicol/multicol-nested-011.html">multicol-nested-011.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-nested-011.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-nested-011.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-nested-012.html" title="css/css-multicol/multicol-nested-012.html">multicol-nested-012.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-nested-012.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-nested-012.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-nested-013.html" title="css/css-multicol/multicol-nested-013.html">multicol-nested-013.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-nested-013.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-nested-013.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-nested-014.html" title="css/css-multicol/multicol-nested-014.html">multicol-nested-014.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-nested-014.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-nested-014.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-nested-015.html" title="css/css-multicol/multicol-nested-015.html">multicol-nested-015.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-nested-015.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-nested-015.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-nested-016.html" title="css/css-multicol/multicol-nested-016.html">multicol-nested-016.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-nested-016.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-nested-016.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-nested-017.html" title="css/css-multicol/multicol-nested-017.html">multicol-nested-017.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-nested-017.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-nested-017.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-nested-018.html" title="css/css-multicol/multicol-nested-018.html">multicol-nested-018.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-nested-018.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-nested-018.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-nested-019.html" title="css/css-multicol/multicol-nested-019.html">multicol-nested-019.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-nested-019.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-nested-019.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-nested-020.html" title="css/css-multicol/multicol-nested-020.html">multicol-nested-020.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-nested-020.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-nested-020.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-nested-021.html" title="css/css-multicol/multicol-nested-021.html">multicol-nested-021.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-nested-021.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-nested-021.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-nested-022.html" title="css/css-multicol/multicol-nested-022.html">multicol-nested-022.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-nested-022.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-nested-022.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-nested-023.html" title="css/css-multicol/multicol-nested-023.html">multicol-nested-023.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-nested-023.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-nested-023.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-nested-024.html" title="css/css-multicol/multicol-nested-024.html">multicol-nested-024.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-nested-024.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-nested-024.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-nested-025.html" title="css/css-multicol/multicol-nested-025.html">multicol-nested-025.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-nested-025.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-nested-025.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-nested-026.html" title="css/css-multicol/multicol-nested-026.html">multicol-nested-026.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-nested-026.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-nested-026.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-nested-027.html" title="css/css-multicol/multicol-nested-027.html">multicol-nested-027.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-nested-027.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-nested-027.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-nested-028.html" title="css/css-multicol/multicol-nested-028.html">multicol-nested-028.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-nested-028.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-nested-028.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-nested-029.html" title="css/css-multicol/multicol-nested-029.html">multicol-nested-029.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-nested-029.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-nested-029.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-nested-030.html" title="css/css-multicol/multicol-nested-030.html">multicol-nested-030.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-nested-030.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-nested-030.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-nested-031.html" title="css/css-multicol/multicol-nested-031.html">multicol-nested-031.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-nested-031.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-nested-031.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/crashtests/nested-as-balanced-legend.html" title="css/css-multicol/crashtests/nested-as-balanced-legend.html">nested-as-balanced-legend.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/crashtests/nested-as-balanced-legend.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/crashtests/nested-as-balanced-legend.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/crashtests/nested-as-nested-balanced-legend.html" title="css/css-multicol/crashtests/nested-as-nested-balanced-legend.html">nested-as-nested-balanced-legend.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/crashtests/nested-as-nested-balanced-legend.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/crashtests/nested-as-nested-balanced-legend.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/crashtests/nested-floated-multicol-with-tall-margin.html" title="css/css-multicol/crashtests/nested-floated-multicol-with-tall-margin.html">nested-floated-multicol-with-tall-margin.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/crashtests/nested-floated-multicol-with-tall-margin.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/crashtests/nested-floated-multicol-with-tall-margin.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/crashtests/nested-multicol-and-float-with-tall-padding-before-float.html" title="css/css-multicol/crashtests/nested-multicol-and-float-with-tall-padding-before-float.html">nested-multicol-and-float-with-tall-padding-before-float.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/crashtests/nested-multicol-and-float-with-tall-padding-before-float.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/crashtests/nested-multicol-and-float-with-tall-padding-before-float.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/crashtests/nested-multicol-and-float-with-tall-padding.html" title="css/css-multicol/crashtests/nested-multicol-and-float-with-tall-padding.html">nested-multicol-and-float-with-tall-padding.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/crashtests/nested-multicol-and-float-with-tall-padding.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/crashtests/nested-multicol-and-float-with-tall-padding.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/crashtests/nested-multicol-fieldset-tall-trailing-border-freeze.html" title="css/css-multicol/crashtests/nested-multicol-fieldset-tall-trailing-border-freeze.html">nested-multicol-fieldset-tall-trailing-border-freeze.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/crashtests/nested-multicol-fieldset-tall-trailing-border-freeze.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/crashtests/nested-multicol-fieldset-tall-trailing-border-freeze.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/crashtests/nested-multicol-fieldset-tall-trailing-padding.html" title="css/css-multicol/crashtests/nested-multicol-fieldset-tall-trailing-padding.html">nested-multicol-fieldset-tall-trailing-padding.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/crashtests/nested-multicol-fieldset-tall-trailing-padding.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/crashtests/nested-multicol-fieldset-tall-trailing-padding.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/crashtests/nested-multicol-in-svg-foreignobject.html" title="css/css-multicol/crashtests/nested-multicol-in-svg-foreignobject.html">nested-multicol-in-svg-foreignobject.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/crashtests/nested-multicol-in-svg-foreignobject.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/crashtests/nested-multicol-in-svg-foreignobject.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/crashtests/nested-multicol-nested-flex.html" title="css/css-multicol/crashtests/nested-multicol-nested-flex.html">nested-multicol-nested-flex.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/crashtests/nested-multicol-nested-flex.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/crashtests/nested-multicol-nested-flex.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/crashtests/nested-multicol-with-float-between.html" title="css/css-multicol/crashtests/nested-multicol-with-float-between.html">nested-multicol-with-float-between.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/crashtests/nested-multicol-with-float-between.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/crashtests/nested-multicol-with-float-between.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/crashtests/nested-oof-multicol-with-monolithic-child.html" title="css/css-multicol/crashtests/nested-oof-multicol-with-monolithic-child.html">nested-oof-multicol-with-monolithic-child.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/crashtests/nested-oof-multicol-with-monolithic-child.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/crashtests/nested-oof-multicol-with-monolithic-child.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/crashtests/nested-oof-multicol-with-oof-needing-additional-columns.html" title="css/css-multicol/crashtests/nested-oof-multicol-with-oof-needing-additional-columns.html">nested-oof-multicol-with-oof-needing-additional-columns.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/crashtests/nested-oof-multicol-with-oof-needing-additional-columns.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/crashtests/nested-oof-multicol-with-oof-needing-additional-columns.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/crashtests/nested-oof-multicol-with-padding.html" title="css/css-multicol/crashtests/nested-oof-multicol-with-padding.html">nested-oof-multicol-with-padding.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/crashtests/nested-oof-multicol-with-padding.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/crashtests/nested-oof-multicol-with-padding.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/crashtests/nested-with-fragmented-oof-negative-top-offset.html" title="css/css-multicol/crashtests/nested-with-fragmented-oof-negative-top-offset.html">nested-with-fragmented-oof-negative-top-offset.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/crashtests/nested-with-fragmented-oof-negative-top-offset.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/crashtests/nested-with-fragmented-oof-negative-top-offset.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/crashtests/nested-with-multicol-table-caption.html" title="css/css-multicol/crashtests/nested-with-multicol-table-caption.html">nested-with-multicol-table-caption.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/crashtests/nested-with-multicol-table-caption.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/crashtests/nested-with-multicol-table-caption.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/crashtests/multicol-table-caption-parallel-flow-after-spanner-in-inline.html" title="css/css-multicol/crashtests/multicol-table-caption-parallel-flow-after-spanner-in-inline.html">multicol-table-caption-parallel-flow-after-spanner-in-inline.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/crashtests/multicol-table-caption-parallel-flow-after-spanner-in-inline.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/crashtests/multicol-table-caption-parallel-flow-after-spanner-in-inline.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/crashtests/nested-with-multicol-table-cell.html" title="css/css-multicol/crashtests/nested-with-multicol-table-cell.html">nested-with-multicol-table-cell.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/crashtests/nested-with-multicol-table-cell.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/crashtests/nested-with-multicol-table-cell.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/crashtests/nested-with-oof-inside-fixed-width.html" title="css/css-multicol/crashtests/nested-with-oof-inside-fixed-width.html">nested-with-oof-inside-fixed-width.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/crashtests/nested-with-oof-inside-fixed-width.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/crashtests/nested-with-oof-inside-fixed-width.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/crashtests/nested-with-percentage-size-and-oof.html" title="css/css-multicol/crashtests/nested-with-percentage-size-and-oof.html">nested-with-percentage-size-and-oof.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/crashtests/nested-with-percentage-size-and-oof.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/crashtests/nested-with-percentage-size-and-oof.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/crashtests/nested-with-tall-padding-and-oof.html" title="css/css-multicol/crashtests/nested-with-tall-padding-and-oof.html">nested-with-tall-padding-and-oof.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/crashtests/nested-with-tall-padding-and-oof.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/crashtests/nested-with-tall-padding-and-oof.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/crashtests/nested-with-tall-padding.html" title="css/css-multicol/crashtests/nested-with-tall-padding.html">nested-with-tall-padding.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/crashtests/nested-with-tall-padding.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/crashtests/nested-with-tall-padding.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/crashtests/oof-in-nested-line-float.html" title="css/css-multicol/crashtests/oof-in-nested-line-float.html">oof-in-nested-line-float.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/crashtests/oof-in-nested-line-float.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/crashtests/oof-in-nested-line-float.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/crashtests/oof-nested-multicol-inside-oof.html" title="css/css-multicol/crashtests/oof-nested-multicol-inside-oof.html">oof-nested-multicol-inside-oof.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/crashtests/oof-nested-multicol-inside-oof.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/crashtests/oof-nested-multicol-inside-oof.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/crashtests/relayout-nested-with-oof.html" title="css/css-multicol/crashtests/relayout-nested-with-oof.html">relayout-nested-with-oof.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/crashtests/relayout-nested-with-oof.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/crashtests/relayout-nested-with-oof.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/crashtests/repeated-section-in-nested-table-nested-multicol.html" title="css/css-multicol/crashtests/repeated-section-in-nested-table-nested-multicol.html">repeated-section-in-nested-table-nested-multicol.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/crashtests/repeated-section-in-nested-table-nested-multicol.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/crashtests/repeated-section-in-nested-table-nested-multicol.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/crashtests/repeated-table-footer-in-caption-nested-multicol.html" title="css/css-multicol/crashtests/repeated-table-footer-in-caption-nested-multicol.html">repeated-table-footer-in-caption-nested-multicol.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/crashtests/repeated-table-footer-in-caption-nested-multicol.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/crashtests/repeated-table-footer-in-caption-nested-multicol.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/nested-balanced-monolithic-multicol-crash.html" title="css/css-multicol/nested-balanced-monolithic-multicol-crash.html">nested-balanced-monolithic-multicol-crash.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/nested-balanced-monolithic-multicol-crash.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/nested-balanced-monolithic-multicol-crash.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/nested-balanced-very-tall-content-crash.html" title="css/css-multicol/nested-balanced-very-tall-content-crash.html">nested-balanced-very-tall-content-crash.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/nested-balanced-very-tall-content-crash.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/nested-balanced-very-tall-content-crash.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/nested-floated-shape-outside-multicol-with-monolithic-child-crash.html" title="css/css-multicol/nested-floated-shape-outside-multicol-with-monolithic-child-crash.html">nested-floated-shape-outside-multicol-with-monolithic-child-crash.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/nested-floated-shape-outside-multicol-with-monolithic-child-crash.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/nested-floated-shape-outside-multicol-with-monolithic-child-crash.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/nested-with-overflowing-padding-crash.html" title="css/css-multicol/nested-with-overflowing-padding-crash.html">nested-with-overflowing-padding-crash.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/nested-with-overflowing-padding-crash.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/nested-with-overflowing-padding-crash.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/triply-nested-with-fixedpos-in-abspos-crash.html" title="css/css-multicol/triply-nested-with-fixedpos-in-abspos-crash.html">triply-nested-with-fixedpos-in-abspos-crash.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/triply-nested-with-fixedpos-in-abspos-crash.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/triply-nested-with-fixedpos-in-abspos-crash.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/fixed-in-nested-multicol-with-transform-container.html" title="css/css-multicol/fixed-in-nested-multicol-with-transform-container.html">fixed-in-nested-multicol-with-transform-container.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/fixed-in-nested-multicol-with-transform-container.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/fixed-in-nested-multicol-with-transform-container.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/fixed-in-nested-multicol-with-viewport-container.html" title="css/css-multicol/fixed-in-nested-multicol-with-viewport-container.html">fixed-in-nested-multicol-with-viewport-container.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/fixed-in-nested-multicol-with-viewport-container.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/fixed-in-nested-multicol-with-viewport-container.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/fixed-in-nested-multicol.html" title="css/css-multicol/fixed-in-nested-multicol.html">fixed-in-nested-multicol.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/fixed-in-nested-multicol.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/fixed-in-nested-multicol.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/nested-after-float-clearance.html" title="css/css-multicol/nested-after-float-clearance.html">nested-after-float-clearance.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/nested-after-float-clearance.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/nested-after-float-clearance.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/nested-at-outer-boundary-as-fieldset.html" title="css/css-multicol/nested-at-outer-boundary-as-fieldset.html">nested-at-outer-boundary-as-fieldset.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/nested-at-outer-boundary-as-fieldset.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/nested-at-outer-boundary-as-fieldset.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/nested-at-outer-boundary-as-float.html" title="css/css-multicol/nested-at-outer-boundary-as-float.html">nested-at-outer-boundary-as-float.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/nested-at-outer-boundary-as-float.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/nested-at-outer-boundary-as-float.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/nested-at-outer-boundary-as-legend.html" title="css/css-multicol/nested-at-outer-boundary-as-legend.html">nested-at-outer-boundary-as-legend.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/nested-at-outer-boundary-as-legend.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/nested-at-outer-boundary-as-legend.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/nested-floated-multicol-with-monolithic-child.html" title="css/css-multicol/nested-floated-multicol-with-monolithic-child.html">nested-floated-multicol-with-monolithic-child.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/nested-floated-multicol-with-monolithic-child.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/nested-floated-multicol-with-monolithic-child.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/nested-oofs-in-relative-multicol.html" title="css/css-multicol/nested-oofs-in-relative-multicol.html">nested-oofs-in-relative-multicol.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/nested-oofs-in-relative-multicol.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/nested-oofs-in-relative-multicol.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/nested-past-fragmentation-line.html" title="css/css-multicol/nested-past-fragmentation-line.html">nested-past-fragmentation-line.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/nested-past-fragmentation-line.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/nested-past-fragmentation-line.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/nested-with-too-tall-line.html" title="css/css-multicol/nested-with-too-tall-line.html">nested-with-too-tall-line.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/nested-with-too-tall-line.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/nested-with-too-tall-line.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/oof-nested-in-single-column.html" title="css/css-multicol/oof-nested-in-single-column.html">oof-nested-in-single-column.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/oof-nested-in-single-column.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/oof-nested-in-single-column.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/nested-non-auto-inline-size-offset-top.html" title="css/css-multicol/nested-non-auto-inline-size-offset-top.html">nested-non-auto-inline-size-offset-top.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/nested-non-auto-inline-size-offset-top.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/nested-non-auto-inline-size-offset-top.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/fixedpos-static-pos-with-viewport-cb-001.html" title="css/css-multicol/fixedpos-static-pos-with-viewport-cb-001.html">fixedpos-static-pos-with-viewport-cb-001.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/fixedpos-static-pos-with-viewport-cb-001.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/fixedpos-static-pos-with-viewport-cb-001.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/fixedpos-static-pos-with-viewport-cb-002.html" title="css/css-multicol/fixedpos-static-pos-with-viewport-cb-002.html">fixedpos-static-pos-with-viewport-cb-002.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/fixedpos-static-pos-with-viewport-cb-002.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/fixedpos-static-pos-with-viewport-cb-002.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/fixedpos-static-pos-with-viewport-cb-003.html" title="css/css-multicol/fixedpos-static-pos-with-viewport-cb-003.html">fixedpos-static-pos-with-viewport-cb-003.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/fixedpos-static-pos-with-viewport-cb-003.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/fixedpos-static-pos-with-viewport-cb-003.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-height-block-child-001.xht" title="css/css-multicol/multicol-height-block-child-001.xht">multicol-height-block-child-001.xht</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-height-block-child-001.xht"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-height-block-child-001.xht"><small>(source)</small></a> </ul> </details> <p class="note" role="note"><span class="marker">Note:</span> It is not possible to set properties/values on column boxes. For example, the background of a certain column box cannot be set and a column box has no concept of padding, margin or borders. Future specifications may add additional functionality. For example, columns of different widths and different backgrounds may be supported.</p> <p class="note" role="note"><span class="marker">Note:</span> Multicol containers with column heights larger than the viewport may pose accessibility issues. See <a href="#a11y">Accessibility Considerations</a> for more details.</p> <h2 class="heading settled" data-level="3" id="the-number-and-width-of-columns"><span class="secno">3. </span><span class="content"> The Number and Width of Columns</span><a class="self-link" href="#the-number-and-width-of-columns"></a></h2> <p>Finding the number and width of columns is fundamental when laying out multi-column content. These properties are used to set the number and width of columns:</p> <ul> <li><a class="property css" data-link-type="property" href="#propdef-column-count" id="ref-for-propdef-column-count①">column-count</a> <li><a class="property css" data-link-type="property" href="#propdef-column-width" id="ref-for-propdef-column-width②">column-width</a> </ul> <p>A third property, <a class="property css" data-link-type="property" href="#propdef-columns" id="ref-for-propdef-columns①">columns</a>, is a shorthand property which sets both <a class="property css" data-link-type="property" href="#propdef-column-width" id="ref-for-propdef-column-width③">column-width</a> and <a class="property css" data-link-type="property" href="#propdef-column-count" id="ref-for-propdef-column-count②">column-count</a>.</p> <p>Other factors, such as explicit column breaks, content, and height constraints, may influence the actual number and width of columns.</p> <h3 class="heading settled" data-level="3.1" id="cw"><span class="secno">3.1. </span><span class="content">The Inline Size of Columns: the <a class="property css" data-link-type="property" href="#propdef-column-width" id="ref-for-propdef-column-width④">column-width</a> property</span><a class="self-link" href="#cw"></a></h3> <table class="def propdef" data-link-for-hint="column-width"> <tbody> <tr> <th>Name: <td><dfn class="dfn-paneled css" data-dfn-type="property" data-export id="propdef-column-width">column-width</dfn> <tr class="value"> <th><a href="https://www.w3.org/TR/css-values/#value-defs">Value:</a> <td class="prod">auto <a data-link-type="grammar" href="https://www.w3.org/TR/css-values-4/#comb-one" id="ref-for-comb-one">|</a> <a class="production css" data-link-type="type" href="https://www.w3.org/TR/css-values-4/#length-value" id="ref-for-length-value">&lt;length [0,∞]></a> <tr> <th><a href="https://www.w3.org/TR/css-cascade/#initial-values">Initial:</a> <td>auto <tr> <th><a href="https://www.w3.org/TR/css-cascade/#applies-to">Applies to:</a> <td><a data-link-type="dfn" href="https://www.w3.org/TR/css-display-3/#block-container" id="ref-for-block-container①">block containers</a> except <a data-link-type="dfn" href="https://www.w3.org/TR/css-tables-3/#table-wrapper-box" id="ref-for-table-wrapper-box">table wrapper boxes</a> <tr> <th><a href="https://www.w3.org/TR/css-cascade/#inherited-property">Inherited:</a> <td>no <tr> <th><a href="https://www.w3.org/TR/css-values/#percentages">Percentages:</a> <td>N/A <tr> <th><a href="https://www.w3.org/TR/css-cascade/#computed">Computed value:</a> <td>the keyword <a class="css" data-link-type="maybe" href="#valdef-column-width-auto" id="ref-for-valdef-column-width-auto①">auto</a> or an absolute length <tr> <th><a href="https://www.w3.org/TR/cssom/#serializing-css-values">Canonical order:</a> <td>per grammar <tr> <th><a href="https://www.w3.org/TR/web-animations/#animation-type">Animation type:</a> <td>by computed value type </table> <p>This property describes the width of columns in multicol containers.</p> <dl> <dt><dfn class="dfn-paneled css" data-dfn-for="column-width" data-dfn-type="value" data-export id="valdef-column-width-auto">auto</dfn> <dd> means that the column width will be determined by other properties (e.g., <a class="property css" data-link-type="property" href="#propdef-column-count" id="ref-for-propdef-column-count③">column-count</a>, if it has a non-auto value). <dt><dfn class="dfn-paneled css" data-dfn-for="column-width" data-dfn-type="value" data-export id="valdef-column-width-length-0"><a class="production css" data-link-type="type" href="https://www.w3.org/TR/css-values-4/#length-value" id="ref-for-length-value①">&lt;length [0,∞]></a></dfn> <dd> describes the optimal column width. The actual column width may be wider (to fill the available space), or narrower (only if the available space is smaller than the specified column width). Negative values are not allowed. Used values will be clamped to a minimum of <span class="css">1px</span>. <details class="wpt-tests-block" dir="ltr" lang="en"> <summary>Tests</summary> <ul class="wpt-tests-list"> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/zero-column-width-computed-style.html" title="css/css-multicol/zero-column-width-computed-style.html">zero-column-width-computed-style.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/zero-column-width-computed-style.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/zero-column-width-computed-style.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/zero-column-width-layout.html" title="css/css-multicol/zero-column-width-layout.html">zero-column-width-layout.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/zero-column-width-layout.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/zero-column-width-layout.html"><small>(source)</small></a> </ul> </details> </dl> <details class="wpt-tests-block" dir="ltr" lang="en"> <summary>Tests</summary> <ul class="wpt-tests-list"> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-basic-003.html" title="css/css-multicol/multicol-basic-003.html">multicol-basic-003.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-basic-003.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-basic-003.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-basic-008.xht" title="css/css-multicol/multicol-basic-008.xht">multicol-basic-008.xht</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-basic-008.xht"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-basic-008.xht"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-reduce-000.xht" title="css/css-multicol/multicol-reduce-000.xht">multicol-reduce-000.xht</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-reduce-000.xht"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-reduce-000.xht"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-width-001.xht" title="css/css-multicol/multicol-width-001.xht">multicol-width-001.xht</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-width-001.xht"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-width-001.xht"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-width-002.xht" title="css/css-multicol/multicol-width-002.xht">multicol-width-002.xht</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-width-002.xht"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-width-002.xht"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-width-003.xht" title="css/css-multicol/multicol-width-003.xht">multicol-width-003.xht</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-width-003.xht"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-width-003.xht"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-width-005.html" title="css/css-multicol/multicol-width-005.html">multicol-width-005.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-width-005.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-width-005.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-width-ch-001.xht" title="css/css-multicol/multicol-width-ch-001.xht">multicol-width-ch-001.xht</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-width-ch-001.xht"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-width-ch-001.xht"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-width-negative-001.xht" title="css/css-multicol/multicol-width-negative-001.xht">multicol-width-negative-001.xht</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-width-negative-001.xht"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-width-negative-001.xht"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-width-invalid-001.xht" title="css/css-multicol/multicol-width-invalid-001.xht">multicol-width-invalid-001.xht</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-width-invalid-001.xht"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-width-invalid-001.xht"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-width-large-001.xht" title="css/css-multicol/multicol-width-large-001.xht">multicol-width-large-001.xht</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-width-large-001.xht"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-width-large-001.xht"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-width-large-002.xht" title="css/css-multicol/multicol-width-large-002.xht">multicol-width-large-002.xht</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-width-large-002.xht"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-width-large-002.xht"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-inherit-003.xht" title="css/css-multicol/multicol-inherit-003.xht">multicol-inherit-003.xht</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-inherit-003.xht"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-inherit-003.xht"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/parsing/column-width-computed.html" title="css/css-multicol/parsing/column-width-computed.html">column-width-computed.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/parsing/column-width-computed.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/parsing/column-width-computed.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/parsing/column-width-invalid.html" title="css/css-multicol/parsing/column-width-invalid.html">column-width-invalid.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/parsing/column-width-invalid.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/parsing/column-width-invalid.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/parsing/column-width-valid.html" title="css/css-multicol/parsing/column-width-valid.html">column-width-valid.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/parsing/column-width-valid.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/parsing/column-width-valid.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-width-small-001.xht" title="css/css-multicol/multicol-width-small-001.xht">multicol-width-small-001.xht</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-width-small-001.xht"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-width-small-001.xht"><small>(source)</small></a> </ul> </details> <div class="example" id="example-f5259b18"> <a class="self-link" href="#example-f5259b18"></a> For example, consider this style sheet: <pre class="highlight">div <c- p>{</c-> <c- k>width</c-><c- p>:</c-> <c- m>100</c-><c- k>px</c-><c- p>;</c-> <c- k>column-width</c-><c- p>:</c-> <c- m>45</c-><c- k>px</c-><c- p>;</c-> <c- k>column-gap</c-><c- p>:</c-> <c- m>0</c-><c- p>;</c-> <c- k>column-rule</c-><c- p>:</c-> none<c- p>;</c-> <c- p>}</c-> </pre> <p>There is room for two <span class="css">45px</span> wide columns inside the <span class="css">100px</span> wide element. In order to fill the available space the actual column width will be increased to <span class="css">50px</span>.</p> </div> <div class="example" id="example-ea5c2499"> <a class="self-link" href="#example-ea5c2499"></a> Also, consider this style sheet: <pre class="highlight">div <c- p>{</c-> <c- k>width</c-><c- p>:</c-> <c- m>40</c-><c- k>px</c-><c- p>;</c-> <c- k>column-width</c-><c- p>:</c-> <c- m>45</c-><c- k>px</c-><c- p>;</c-> <c- k>column-gap</c-><c- p>:</c-> <c- m>0</c-><c- p>;</c-> <c- k>column-rule</c-><c- p>:</c-> none<c- p>;</c-> <c- p>}</c-> </pre> <p>The available space is smaller than the specified column width and the actual column width will therefore be decreased.</p> </div> <p>To ensure that <a class="property css" data-link-type="property" href="#propdef-column-width" id="ref-for-propdef-column-width⑤">column-width</a> can be used with vertical text, column width means the length of the line boxes inside the columns.</p> <p class="note" role="note"><span class="marker">Note:</span> The reason for making <a class="property css" data-link-type="property" href="#propdef-column-width" id="ref-for-propdef-column-width⑥">column-width</a> somewhat flexible is to achieve scalable designs that can fit many screen sizes. To set an exact column width, the column gap and the width of the multicol container (assuming horizontal text) must also be specified.</p> <h3 class="heading settled" data-level="3.2" id="cc"><span class="secno">3.2. </span><span class="content">The Number of Columns: the <a class="property css" data-link-type="property" href="#propdef-column-count" id="ref-for-propdef-column-count④">column-count</a> property</span><a class="self-link" href="#cc"></a></h3> <table class="def propdef" data-link-for-hint="column-count"> <tbody> <tr> <th>Name: <td><dfn class="dfn-paneled css" data-dfn-type="property" data-export id="propdef-column-count">column-count</dfn> <tr class="value"> <th><a href="https://www.w3.org/TR/css-values/#value-defs">Value:</a> <td class="prod">auto <a data-link-type="grammar" href="https://www.w3.org/TR/css-values-4/#comb-one" id="ref-for-comb-one①">|</a> <a class="production css" data-link-type="type" href="https://www.w3.org/TR/css-values-4/#integer-value" id="ref-for-integer-value">&lt;integer [1,∞]></a> <tr> <th><a href="https://www.w3.org/TR/css-cascade/#initial-values">Initial:</a> <td>auto <tr> <th><a href="https://www.w3.org/TR/css-cascade/#applies-to">Applies to:</a> <td><a data-link-type="dfn" href="https://www.w3.org/TR/css-display-3/#block-container" id="ref-for-block-container②">block containers</a> except <a data-link-type="dfn" href="https://www.w3.org/TR/css-tables-3/#table-wrapper-box" id="ref-for-table-wrapper-box①">table wrapper boxes</a> <tr> <th><a href="https://www.w3.org/TR/css-cascade/#inherited-property">Inherited:</a> <td>no <tr> <th><a href="https://www.w3.org/TR/css-values/#percentages">Percentages:</a> <td>N/A <tr> <th><a href="https://www.w3.org/TR/css-cascade/#computed">Computed value:</a> <td>specified value <tr> <th><a href="https://www.w3.org/TR/cssom/#serializing-css-values">Canonical order:</a> <td>per grammar <tr> <th><a href="https://www.w3.org/TR/web-animations/#animation-type">Animation type:</a> <td>by computed value </table> <p>This property describes the number of columns of a <a data-link-type="dfn" href="#multi-column-container" id="ref-for-multi-column-container①⓪">multicol container</a>.</p> <dl> <dt><dfn class="dfn-paneled css" data-dfn-for="column-count" data-dfn-type="value" data-export id="valdef-column-count-auto">auto</dfn> <dd> means that the number of columns will be determined by other properties (e.g., <a class="property css" data-link-type="property" href="#propdef-column-width" id="ref-for-propdef-column-width⑦">column-width</a>, if it has a non-auto value). <dt><dfn class="dfn-paneled css" data-dfn-for="column-count" data-dfn-type="value" data-export id="valdef-column-count-integer-1"><a class="production css" data-link-type="type" href="https://www.w3.org/TR/css-values-4/#integer-value" id="ref-for-integer-value①">&lt;integer [1,∞]></a></dfn> <dd> describes the optimal number of columns into which the content of the element will be flowed. Values must be greater than 0. If both <a class="property css" data-link-type="property" href="#propdef-column-width" id="ref-for-propdef-column-width⑧">column-width</a> and <a class="property css" data-link-type="property" href="#propdef-column-count" id="ref-for-propdef-column-count⑤">column-count</a> have non-auto values, the integer value describes the maximum number of columns. </dl> <details class="wpt-tests-block" dir="ltr" lang="en"> <summary>Tests</summary> <ul class="wpt-tests-list"> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-count-001.xht" title="css/css-multicol/multicol-count-001.xht">multicol-count-001.xht</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-count-001.xht"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-count-001.xht"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-count-002.xht" title="css/css-multicol/multicol-count-002.xht">multicol-count-002.xht</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-count-002.xht"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-count-002.xht"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-basic-006.xht" title="css/css-multicol/multicol-basic-006.xht">multicol-basic-006.xht</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-basic-006.xht"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-basic-006.xht"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-width-count-001.xht" title="css/css-multicol/multicol-width-count-001.xht">multicol-width-count-001.xht</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-width-count-001.xht"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-width-count-001.xht"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-width-count-002.xht" title="css/css-multicol/multicol-width-count-002.xht">multicol-width-count-002.xht</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-width-count-002.xht"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-width-count-002.xht"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-columns-toolong-001.xht" title="css/css-multicol/multicol-columns-toolong-001.xht">multicol-columns-toolong-001.xht</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-columns-toolong-001.xht"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-columns-toolong-001.xht"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-count-negative-001.xht" title="css/css-multicol/multicol-count-negative-001.xht">multicol-count-negative-001.xht</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-count-negative-001.xht"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-count-negative-001.xht"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-count-negative-002.xht" title="css/css-multicol/multicol-count-negative-002.xht">multicol-count-negative-002.xht</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-count-negative-002.xht"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-count-negative-002.xht"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-count-non-integer-001.xht" title="css/css-multicol/multicol-count-non-integer-001.xht">multicol-count-non-integer-001.xht</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-count-non-integer-001.xht"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-count-non-integer-001.xht"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-count-non-integer-002.xht" title="css/css-multicol/multicol-count-non-integer-002.xht">multicol-count-non-integer-002.xht</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-count-non-integer-002.xht"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-count-non-integer-002.xht"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-count-non-integer-003.xht" title="css/css-multicol/multicol-count-non-integer-003.xht">multicol-count-non-integer-003.xht</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-count-non-integer-003.xht"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-count-non-integer-003.xht"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-inherit-001.xht" title="css/css-multicol/multicol-inherit-001.xht">multicol-inherit-001.xht</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-inherit-001.xht"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-inherit-001.xht"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-inherit-002.xht" title="css/css-multicol/multicol-inherit-002.xht">multicol-inherit-002.xht</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-inherit-002.xht"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-inherit-002.xht"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/parsing/column-count-invalid.html" title="css/css-multicol/parsing/column-count-invalid.html">column-count-invalid.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/parsing/column-count-invalid.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/parsing/column-count-invalid.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/parsing/column-count-valid.html" title="css/css-multicol/parsing/column-count-valid.html">column-count-valid.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/parsing/column-count-valid.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/parsing/column-count-valid.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/parsing/column-count-computed.html" title="css/css-multicol/parsing/column-count-computed.html">column-count-computed.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/parsing/column-count-computed.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/parsing/column-count-computed.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/animation/column-count-interpolation.html" title="css/css-multicol/animation/column-count-interpolation.html">column-count-interpolation.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/animation/column-count-interpolation.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/animation/column-count-interpolation.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/large-actual-column-count.html" title="css/css-multicol/large-actual-column-count.html">large-actual-column-count.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/large-actual-column-count.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/large-actual-column-count.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/with-custom-layout-on-same-element.https.html" title="css/css-multicol/with-custom-layout-on-same-element.https.html">with-custom-layout-on-same-element.https.html</a> <a class="wpt-live" href="https://wpt.live/css/css-multicol/with-custom-layout-on-same-element.https.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/with-custom-layout-on-same-element.https.html"><small>(source)</small></a> </ul> </details> <div class="example" id="example-6acd2708"> <a class="self-link" href="#example-6acd2708"></a> Example: <pre class="highlight">body <c- p>{</c-> <c- k>column-count</c-><c- p>:</c-> <c- m>3</c-> <c- p>}</c-></pre> </div> <h3 class="heading settled" data-level="3.3" id="columns"><span class="secno">3.3. </span><span class="content">The <a class="property css" data-link-type="property" href="#propdef-column-width" id="ref-for-propdef-column-width⑨">column-width</a> and <a class="property css" data-link-type="property" href="#propdef-column-count" id="ref-for-propdef-column-count⑥">column-count</a> Shorthand: The <a class="property css" data-link-type="property" href="#propdef-columns" id="ref-for-propdef-columns②">columns</a> Property</span><a class="self-link" href="#columns"></a></h3> <table class="def propdef" data-link-for-hint="columns"> <tbody> <tr> <th>Name: <td><dfn class="dfn-paneled css" data-dfn-type="property" data-export id="propdef-columns">columns</dfn> <tr class="value"> <th><a href="https://www.w3.org/TR/css-values/#value-defs">Value:</a> <td class="prod"><a class="production css" data-link-type="property" href="#propdef-column-width" id="ref-for-propdef-column-width①⓪">&lt;'column-width'></a> <a data-link-type="grammar" href="https://www.w3.org/TR/css-values-4/#comb-any" id="ref-for-comb-any">||</a> <a class="production css" data-link-type="property" href="#propdef-column-count" id="ref-for-propdef-column-count⑦">&lt;'column-count'></a> <tr> <th><a href="https://www.w3.org/TR/css-cascade/#initial-values">Initial:</a> <td>see individual properties <tr> <th><a href="https://www.w3.org/TR/css-cascade/#applies-to">Applies to:</a> <td>see individual properties <tr> <th><a href="https://www.w3.org/TR/css-cascade/#inherited-property">Inherited:</a> <td>see individual properties <tr> <th><a href="https://www.w3.org/TR/css-values/#percentages">Percentages:</a> <td>see individual properties <tr> <th><a href="https://www.w3.org/TR/css-cascade/#computed">Computed value:</a> <td>see individual properties <tr> <th><a href="https://www.w3.org/TR/web-animations/#animation-type">Animation type:</a> <td>see individual properties <tr> <th><a href="https://www.w3.org/TR/cssom/#serializing-css-values">Canonical order:</a> <td>per grammar </table> <p>This is a shorthand property for setting <a class="property css" data-link-type="property" href="#propdef-column-width" id="ref-for-propdef-column-width①①">column-width</a> and <a class="property css" data-link-type="property" href="#propdef-column-count" id="ref-for-propdef-column-count⑧">column-count</a>. Omitted values are set to their initial values.</p> <div class="example" id="example-628937c1"> <a class="self-link" href="#example-628937c1"></a> Here are some valid declarations using the <a class="property css" data-link-type="property" href="#propdef-columns" id="ref-for-propdef-columns③">columns</a> property: <pre class="highlight"><c- k>columns</c-><c- p>:</c-> <c- m>12</c-><c- k>em</c-><c- p>;</c-> <c- c>/* column-width: 12em; column-count: auto */</c-> columns: auto <c- m>12</c-><c- k>em</c-><c- p>;</c-> <c- c>/* column-width: 12em; column-count: auto */</c-> columns: <c- m>2</c-><c- p>;</c-> <c- c>/* column-width: auto; column-count: 2 */</c-> columns: <c- m>2</c-> auto<c- p>;</c-> <c- c>/* column-width: auto; column-count: 2 */</c-> columns: auto<c- p>;</c-> <c- c>/* column-width: auto; column-count: auto */</c-> columns: auto auto<c- p>;</c-> <c- c>/* column-width: auto; column-count: auto */</c-> </pre> </div> <details class="wpt-tests-block" dir="ltr" lang="en"> <summary>Tests</summary> <ul class="wpt-tests-list"> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-columns-001.xht" title="css/css-multicol/multicol-columns-001.xht">multicol-columns-001.xht</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-columns-001.xht"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-columns-001.xht"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-columns-002.xht" title="css/css-multicol/multicol-columns-002.xht">multicol-columns-002.xht</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-columns-002.xht"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-columns-002.xht"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-columns-003.xht" title="css/css-multicol/multicol-columns-003.xht">multicol-columns-003.xht</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-columns-003.xht"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-columns-003.xht"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-columns-004.xht" title="css/css-multicol/multicol-columns-004.xht">multicol-columns-004.xht</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-columns-004.xht"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-columns-004.xht"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-columns-005.xht" title="css/css-multicol/multicol-columns-005.xht">multicol-columns-005.xht</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-columns-005.xht"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-columns-005.xht"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-columns-006.xht" title="css/css-multicol/multicol-columns-006.xht">multicol-columns-006.xht</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-columns-006.xht"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-columns-006.xht"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-columns-007.xht" title="css/css-multicol/multicol-columns-007.xht">multicol-columns-007.xht</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-columns-007.xht"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-columns-007.xht"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-columns-invalid-001.xht" title="css/css-multicol/multicol-columns-invalid-001.xht">multicol-columns-invalid-001.xht</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-columns-invalid-001.xht"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-columns-invalid-001.xht"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-columns-invalid-002.xht" title="css/css-multicol/multicol-columns-invalid-002.xht">multicol-columns-invalid-002.xht</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-columns-invalid-002.xht"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-columns-invalid-002.xht"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-basic-001.html" title="css/css-multicol/multicol-basic-001.html">multicol-basic-001.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-basic-001.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-basic-001.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-basic-003.html" title="css/css-multicol/multicol-basic-003.html">multicol-basic-003.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-basic-003.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-basic-003.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-basic-005.xht" title="css/css-multicol/multicol-basic-005.xht">multicol-basic-005.xht</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-basic-005.xht"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-basic-005.xht"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-basic-007.xht" title="css/css-multicol/multicol-basic-007.xht">multicol-basic-007.xht</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-basic-007.xht"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-basic-007.xht"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/parsing/columns-invalid.html" title="css/css-multicol/parsing/columns-invalid.html">columns-invalid.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/parsing/columns-invalid.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/parsing/columns-invalid.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/parsing/columns-valid.html" title="css/css-multicol/parsing/columns-valid.html">columns-valid.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/parsing/columns-valid.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/parsing/columns-valid.html"><small>(source)</small></a> </ul> </details> <h3 class="heading settled" data-level="3.4" id="pseudo-algorithm"><span class="secno">3.4. </span><span class="content">The Pseudo-algorithm</span><a class="self-link" href="#pseudo-algorithm"></a></h3> <p>The pseudo-algorithm below determines the used values for <a class="property css" data-link-type="property" href="#propdef-column-count" id="ref-for-propdef-column-count⑨">column-count</a> (N) and <a class="property css" data-link-type="property" href="#propdef-column-width" id="ref-for-propdef-column-width①②">column-width</a> (W). There is one other variable in the pseudo-algorithm: U is the used width of the multi-column container.</p> <p class="note" role="note"><span class="marker">Note:</span> The used width U of the multi-column container can depend on the element’s contents, in which case it also depends on the computed values of the <a class="property css" data-link-type="property" href="#propdef-column-count" id="ref-for-propdef-column-count①⓪">column-count</a> and <a class="property css" data-link-type="property" href="#propdef-column-width" id="ref-for-propdef-column-width①③">column-width</a> properties. This specification does not define how U is calculated. Another module (probably the Basic Box Model <a data-link-type="biblio" href="#biblio-css3box" title="CSS Box Model Module Level 3">[CSS3BOX]</a> or the Box Sizing Module <a data-link-type="biblio" href="#biblio-css3-sizing" title="CSS Box Sizing Module Level 3">[CSS3-SIZING]</a>) is expected to define this.</p> <details class="wpt-tests-block" dir="ltr" lang="en"> <summary>Tests</summary> <ul class="wpt-tests-list"> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/intrinsic-size-001.html" title="css/css-multicol/intrinsic-size-001.html">intrinsic-size-001.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/intrinsic-size-001.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/intrinsic-size-001.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/intrinsic-size-002.html" title="css/css-multicol/intrinsic-size-002.html">intrinsic-size-002.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/intrinsic-size-002.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/intrinsic-size-002.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/intrinsic-size-003.html" title="css/css-multicol/intrinsic-size-003.html">intrinsic-size-003.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/intrinsic-size-003.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/intrinsic-size-003.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/intrinsic-size-004.html" title="css/css-multicol/intrinsic-size-004.html">intrinsic-size-004.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/intrinsic-size-004.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/intrinsic-size-004.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/intrinsic-size-005.html" title="css/css-multicol/intrinsic-size-005.html">intrinsic-size-005.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/intrinsic-size-005.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/intrinsic-size-005.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/as-column-flex-item.html" title="css/css-multicol/as-column-flex-item.html">as-column-flex-item.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/as-column-flex-item.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/as-column-flex-item.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/intrinsic-width-change-column-count.html" title="css/css-multicol/intrinsic-width-change-column-count.html">intrinsic-width-change-column-count.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/intrinsic-width-change-column-count.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/intrinsic-width-change-column-count.html"><small>(source)</small></a> </ul> </details> <p>The <code>floor(X)</code> function returns the largest integer Y ≤ X.</p> <pre>(01) if ((column-width = auto) and (column-count = auto)) then (02) exit; /* not a multicol container */ (03) if column-width = auto then (04) N := column-count (05) else if column-count = auto then (06) N := max(1, (07) floor((U + column-gap)/(column-width + column-gap))) (08) else (09) N := min(column-count, max(1, (10) floor((U + column-gap)/(column-width + column-gap)))) </pre> <p>And:</p> <pre>(11) W := max(0, ((U + column-gap)/N - column-gap)) </pre> <p>For the purpose of finding the number of auto-repeated columns, the UA must floor the column size to a UA-specified value to avoid division by zero. It is suggested that this floor be 1px or less.</p> <p>In fragmented contexts such as in <a data-link-type="dfn" href="https://www.w3.org/TR/mediaqueries-5/#paged-media" id="ref-for-paged-media">paged media</a>, user agents may perform this calculation on a per-fragment basis.</p> <p>The used value for <a class="property css" data-link-type="property" href="#propdef-column-count" id="ref-for-propdef-column-count①①">column-count</a> is calculated without regard for explicit column breaks or constrained column heights, while the actual value takes these into consideration.</p> <details class="wpt-tests-block" dir="ltr" lang="en"> <summary>Tests</summary> <ul class="wpt-tests-list"> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/column-count-used-001.html" title="css/css-multicol/column-count-used-001.html">column-count-used-001.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/column-count-used-001.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/column-count-used-001.html"><small>(source)</small></a> </ul> </details> <div class="example" id="example-855fb04e"> <a class="self-link" href="#example-855fb04e"></a> In this example, the actual column-count is higher than the used column-count due to explicit column breaks: <pre class="highlight">div <c- p>{</c-> <c- k>width</c-><c- p>:</c-> <c- m>40</c-><c- k>em</c-><c- p>;</c-> <c- k>columns</c-><c- p>:</c-> <c- m>20</c-><c- k>em</c-><c- p>;</c-> <c- k>column-gap</c-><c- p>:</c-> <c- m>0</c-><c- p>;</c-> <c- p>}</c-> p <c- p>{</c-> <c- k>break-after</c-><c- p>:</c-> column<c- p>;</c-> <c- p>}</c-> </pre> <pre class="highlight"><c- p>&lt;</c-><c- f>div</c-><c- p>></c-> <c- p>&lt;</c-><c- f>p</c-><c- p>></c->one <c- p>&lt;</c-><c- f>p</c-><c- p>></c->two <c- p>&lt;</c-><c- f>p</c-><c- p>></c->three <c- p>&lt;/</c-><c- f>div</c-><c- p>></c-> </pre> <figure> <img alt="Two columns drawn inside the container, one outside" src="images/column-count-higher-than-used-count.svg"> <figcaption>The computed column-count is auto, the used column-count is 2 and the actual column-count is 3.</figcaption> </figure> </div> <div class="example" id="example-69e715d6"> <a class="self-link" href="#example-69e715d6"></a> The actual column-count may be lower than the used column-count. Consider this example: <pre class="highlight">div <c- p>{</c-> <c- k>width</c-><c- p>:</c-> <c- m>80</c-><c- k>em</c-><c- p>;</c-> <c- k>height</c-><c- p>:</c-> <c- m>10</c-><c- k>em</c-><c- p>;</c-> <c- k>columns</c-><c- p>:</c-> <c- m>20</c-><c- k>em</c-><c- p>;</c-> <c- k>column-gap</c-><c- p>:</c-> <c- m>0</c-><c- p>;</c-> <c- k>column-fill</c-><c- p>:</c-> auto<c- p>;</c-> <c- p>}</c-> </pre> <pre class="highlight"><c- p>&lt;</c-><c- f>div</c-><c- p>></c->foo<c- p>&lt;/</c-><c- f>div</c-><c- p>></c-> </pre> <p>The computed column-count is auto, the used column-count is 4, and the actual column-count is 1.</p> </div> <h3 class="heading settled" data-level="3.5" id="stacking-context"><span class="secno">3.5. </span><span class="content"> Stacking Context</span><a class="self-link" href="#stacking-context"></a></h3> <p>All column boxes in a multi-column container are in the same stacking context and the drawing order of their contents is as specified in CSS 2.1. Column boxes do not establish new stacking contexts.</p> <details class="wpt-tests-block" dir="ltr" lang="en"> <summary>Tests</summary> <ul class="wpt-tests-list"> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-rule-stacking-001.xht" title="css/css-multicol/multicol-rule-stacking-001.xht">multicol-rule-stacking-001.xht</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-rule-stacking-001.xht"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-rule-stacking-001.xht"><small>(source)</small></a> </ul> </details> <h2 class="heading settled" data-level="4" id="column-gaps-and-rules"><span class="secno">4. </span><span class="content">Column Gaps and Rules</span><a class="self-link" href="#column-gaps-and-rules"></a></h2> <p>Column gaps and rules are placed between columns in the same <a data-link-type="dfn" href="#multi-column-container" id="ref-for-multi-column-container①①">multicol container</a>. The length of the column gaps and column rules is equal to the column height. Column gaps take up space. That is, column gaps will push apart content in adjacent columns (within the same <span id="ref-for-multi-column-container①②">multicol container</span>).</p> <details class="wpt-tests-block" dir="ltr" lang="en"> <summary>Tests</summary> <ul class="wpt-tests-list"> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-height-001.xht" title="css/css-multicol/multicol-height-001.xht">multicol-height-001.xht</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-height-001.xht"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-height-001.xht"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-nested-column-rule-001.xht" title="css/css-multicol/multicol-nested-column-rule-001.xht">multicol-nested-column-rule-001.xht</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-nested-column-rule-001.xht"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-nested-column-rule-001.xht"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-nested-column-rule-002.html" title="css/css-multicol/multicol-nested-column-rule-002.html">multicol-nested-column-rule-002.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-nested-column-rule-002.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-nested-column-rule-002.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-nested-column-rule-003.html" title="css/css-multicol/multicol-nested-column-rule-003.html">multicol-nested-column-rule-003.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-nested-column-rule-003.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-nested-column-rule-003.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-rule-nested-balancing-001.html" title="css/css-multicol/multicol-rule-nested-balancing-001.html">multicol-rule-nested-balancing-001.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-rule-nested-balancing-001.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-rule-nested-balancing-001.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-rule-nested-balancing-002.html" title="css/css-multicol/multicol-rule-nested-balancing-002.html">multicol-rule-nested-balancing-002.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-rule-nested-balancing-002.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-rule-nested-balancing-002.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-rule-nested-balancing-003.html" title="css/css-multicol/multicol-rule-nested-balancing-003.html">multicol-rule-nested-balancing-003.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-rule-nested-balancing-003.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-rule-nested-balancing-003.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-rule-nested-balancing-004.html" title="css/css-multicol/multicol-rule-nested-balancing-004.html">multicol-rule-nested-balancing-004.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-rule-nested-balancing-004.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-rule-nested-balancing-004.html"><small>(source)</small></a> </ul> </details> <p>A <a data-link-type="dfn" href="#column-rule" id="ref-for-column-rule①">column rule</a> is drawn in the middle of the <a data-link-type="dfn" href="#column-gap" id="ref-for-column-gap①">column gap</a> with the endpoints at opposing content edges of the <a data-link-type="dfn" href="#multi-column-container" id="ref-for-multi-column-container①③">multicol container</a>. Column rules do not take up space. That is, the presence or thickness of a <span id="ref-for-column-rule②">column rule</span> will not alter the placement of anything else. If a <span id="ref-for-column-rule③">column rule</span> is wider than its gap, the adjacent column boxes will overlap the rule, and the rule may possibly extend outside the box of the <span id="ref-for-multi-column-container①④">multicol container</span>. Column rules are painted just above the border of the <span id="ref-for-multi-column-container①⑤">multicol container</span>. For scrollable multicol containers, note that while the border and background of the <span id="ref-for-multi-column-container①⑥">multicol container</span> obviously aren’t scrolled, the rules need to scroll along with the columns. Column rules are only drawn between two columns that both have content.</p> <details class="wpt-tests-block" dir="ltr" lang="en"> <summary>Tests</summary> <p>Basic column rule tests</p> <ul class="wpt-tests-list"> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-rule-003.xht" title="css/css-multicol/multicol-rule-003.xht">multicol-rule-003.xht</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-rule-003.xht"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-rule-003.xht"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-rule-004.xht" title="css/css-multicol/multicol-rule-004.xht">multicol-rule-004.xht</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-rule-004.xht"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-rule-004.xht"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-rule-fraction-002.xht" title="css/css-multicol/multicol-rule-fraction-002.xht">multicol-rule-fraction-002.xht</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-rule-fraction-002.xht"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-rule-fraction-002.xht"><small>(source)</small></a> </ul> <hr> <p>If a column rule is wider than its gap, adjacent boxes overlap.</p> <ul class="wpt-tests-list"> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-rule-001.xht" title="css/css-multicol/multicol-rule-001.xht">multicol-rule-001.xht</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-rule-001.xht"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-rule-001.xht"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-rule-large-001.xht" title="css/css-multicol/multicol-rule-large-001.xht">multicol-rule-large-001.xht</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-rule-large-001.xht"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-rule-large-001.xht"><small>(source)</small></a> <li class="wpt-test"><span class="wpt-name">multicol-rule-large-002.xht (visual test) </span><a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-rule-large-002.xht"><small>(source)</small></a> </ul> <hr> <p>Column rules are only drawn between two columns that have content.</p> <ul class="wpt-tests-list"> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-count-computed-003.xht" title="css/css-multicol/multicol-count-computed-003.xht">multicol-count-computed-003.xht</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-count-computed-003.xht"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-count-computed-003.xht"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-count-computed-005.xht" title="css/css-multicol/multicol-count-computed-005.xht">multicol-count-computed-005.xht</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-count-computed-005.xht"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-count-computed-005.xht"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/broken-column-rule-1.html" title="css/css-multicol/broken-column-rule-1.html">broken-column-rule-1.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/broken-column-rule-1.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/broken-column-rule-1.html"><small>(source)</small></a> </ul> <hr> <p>Tests for behavior of backgrounds and column rules.</p> <ul class="wpt-tests-list"> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-breaking-000.html" title="css/css-multicol/multicol-breaking-000.html">multicol-breaking-000.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-breaking-000.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-breaking-000.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-breaking-001.html" title="css/css-multicol/multicol-breaking-001.html">multicol-breaking-001.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-breaking-001.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-breaking-001.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-breaking-002.html" title="css/css-multicol/multicol-breaking-002.html">multicol-breaking-002.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-breaking-002.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-breaking-002.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-breaking-003.html" title="css/css-multicol/multicol-breaking-003.html">multicol-breaking-003.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-breaking-003.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-breaking-003.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-breaking-004.html" title="css/css-multicol/multicol-breaking-004.html">multicol-breaking-004.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-breaking-004.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-breaking-004.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-breaking-005.html" title="css/css-multicol/multicol-breaking-005.html">multicol-breaking-005.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-breaking-005.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-breaking-005.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-breaking-006.html" title="css/css-multicol/multicol-breaking-006.html">multicol-breaking-006.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-breaking-006.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-breaking-006.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-breaking-nobackground-000.html" title="css/css-multicol/multicol-breaking-nobackground-000.html">multicol-breaking-nobackground-000.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-breaking-nobackground-000.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-breaking-nobackground-000.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-breaking-nobackground-001.html" title="css/css-multicol/multicol-breaking-nobackground-001.html">multicol-breaking-nobackground-001.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-breaking-nobackground-001.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-breaking-nobackground-001.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-breaking-nobackground-002.html" title="css/css-multicol/multicol-breaking-nobackground-002.html">multicol-breaking-nobackground-002.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-breaking-nobackground-002.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-breaking-nobackground-002.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-breaking-nobackground-003.html" title="css/css-multicol/multicol-breaking-nobackground-003.html">multicol-breaking-nobackground-003.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-breaking-nobackground-003.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-breaking-nobackground-003.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-breaking-nobackground-004.html" title="css/css-multicol/multicol-breaking-nobackground-004.html">multicol-breaking-nobackground-004.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-breaking-nobackground-004.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-breaking-nobackground-004.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-breaking-nobackground-005.html" title="css/css-multicol/multicol-breaking-nobackground-005.html">multicol-breaking-nobackground-005.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-breaking-nobackground-005.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-breaking-nobackground-005.html"><small>(source)</small></a> </ul> <hr> </details> <h3 class="heading settled" data-level="4.1" id="cg"><span class="secno">4.1. </span><span class="content">Gutters Between Columns: the <a class="property css" data-link-type="property" href="https://www.w3.org/TR/css-align-3/#propdef-column-gap" id="ref-for-propdef-column-gap">column-gap</a> property</span><a class="self-link" href="#cg"></a></h3> <p>The <a class="property css" data-link-type="property" href="https://www.w3.org/TR/css-align-3/#propdef-column-gap" id="ref-for-propdef-column-gap①">column-gap</a> property is defined in <a data-link-type="biblio" href="#biblio-css3-align" title="CSS Box Alignment Module Level 3">[CSS3-ALIGN]</a>.</p> <p>In a <a data-link-type="dfn" href="#multi-column-formatting-context" id="ref-for-multi-column-formatting-context">multi-column formatting context</a> the used value of <a class="css" data-link-type="maybe" href="https://www.w3.org/TR/css-align-3/#valdef-row-gap-normal" id="ref-for-valdef-row-gap-normal">normal</a> for the <a class="property css" data-link-type="property" href="https://www.w3.org/TR/css-align-3/#propdef-column-gap" id="ref-for-propdef-column-gap②">column-gap</a> property is <span class="css">1em</span>. This ensures columns are readable when the initial values are used. If there is a column rule between columns, it will appear in the middle of the gap.</p> <details class="wpt-tests-block" dir="ltr" lang="en"> <summary>Tests</summary> <ul class="wpt-tests-list"> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-gap-fraction-001.xht" title="css/css-multicol/multicol-gap-fraction-001.xht">multicol-gap-fraction-001.xht</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-gap-fraction-001.xht"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-gap-fraction-001.xht"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-gap-fraction-002.html" title="css/css-multicol/multicol-gap-fraction-002.html">multicol-gap-fraction-002.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-gap-fraction-002.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-gap-fraction-002.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-gap-large-001.xht" title="css/css-multicol/multicol-gap-large-001.xht">multicol-gap-large-001.xht</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-gap-large-001.xht"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-gap-large-001.xht"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-gap-large-002.xht" title="css/css-multicol/multicol-gap-large-002.xht">multicol-gap-large-002.xht</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-gap-large-002.xht"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-gap-large-002.xht"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-gap-negative-001.xht" title="css/css-multicol/multicol-gap-negative-001.xht">multicol-gap-negative-001.xht</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-gap-negative-001.xht"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-gap-negative-001.xht"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-gap-000.xht" title="css/css-multicol/multicol-gap-000.xht">multicol-gap-000.xht</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-gap-000.xht"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-gap-000.xht"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-gap-002.xht" title="css/css-multicol/multicol-gap-002.xht">multicol-gap-002.xht</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-gap-002.xht"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-gap-002.xht"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-gap-percentage-001.html" title="css/css-multicol/multicol-gap-percentage-001.html">multicol-gap-percentage-001.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-gap-percentage-001.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-gap-percentage-001.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-gap-001.xht" title="css/css-multicol/multicol-gap-001.xht">multicol-gap-001.xht</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-gap-001.xht"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-gap-001.xht"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-gap-003.xht" title="css/css-multicol/multicol-gap-003.xht">multicol-gap-003.xht</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-gap-003.xht"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-gap-003.xht"><small>(source)</small></a> </ul> <p>Tests that the gap is animatable.</p> <ul class="wpt-tests-list"> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-gap-animation-001.html" title="css/css-multicol/multicol-gap-animation-001.html">multicol-gap-animation-001.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-gap-animation-001.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-gap-animation-001.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-gap-animation-002.html" title="css/css-multicol/multicol-gap-animation-002.html">multicol-gap-animation-002.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-gap-animation-002.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-gap-animation-002.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-gap-animation-003.html" title="css/css-multicol/multicol-gap-animation-003.html">multicol-gap-animation-003.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-gap-animation-003.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-gap-animation-003.html"><small>(source)</small></a> </ul> <hr> </details> <h3 class="heading settled" data-level="4.2" id="crc"><span class="secno">4.2. </span><span class="content">The Color of Column Rules: the <a class="property css" data-link-type="property" href="#propdef-column-rule-color" id="ref-for-propdef-column-rule-color">column-rule-color</a> property</span><a class="self-link" href="#crc"></a></h3> <table class="def propdef" data-link-for-hint="column-rule-color"> <tbody> <tr> <th>Name: <td><dfn class="dfn-paneled css" data-dfn-type="property" data-export id="propdef-column-rule-color">column-rule-color</dfn> <tr class="value"> <th><a href="https://www.w3.org/TR/css-values/#value-defs">Value:</a> <td class="prod"><a class="production css" data-link-type="type" href="https://www.w3.org/TR/css-color-5/#typedef-color" id="ref-for-typedef-color">&lt;color></a> <tr> <th><a href="https://www.w3.org/TR/css-cascade/#initial-values">Initial:</a> <td>currentcolor <tr> <th><a href="https://www.w3.org/TR/css-cascade/#applies-to">Applies to:</a> <td>multicol containers <tr> <th><a href="https://www.w3.org/TR/css-cascade/#inherited-property">Inherited:</a> <td>no <tr> <th><a href="https://www.w3.org/TR/css-values/#percentages">Percentages:</a> <td>N/A <tr> <th><a href="https://www.w3.org/TR/css-cascade/#computed">Computed value:</a> <td>computed color <tr> <th><a href="https://www.w3.org/TR/cssom/#serializing-css-values">Canonical order:</a> <td>per grammar <tr> <th><a href="https://www.w3.org/TR/web-animations/#animation-type">Animation type:</a> <td>by computed value type </table> <dl> <dt><dfn class="dfn-paneled css" data-dfn-for="column-rule-color" data-dfn-type="value" data-export id="valdef-column-rule-color-color"><a class="production css" data-link-type="type" href="https://www.w3.org/TR/css-color-5/#typedef-color" id="ref-for-typedef-color①">&lt;color></a></dfn> <dd> Specifies the color of the <a data-link-type="dfn" href="#column-rule" id="ref-for-column-rule④">column rule</a>. </dl> <details class="wpt-tests-block" dir="ltr" lang="en"> <summary>Tests</summary> <ul class="wpt-tests-list"> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-rule-color-001.xht" title="css/css-multicol/multicol-rule-color-001.xht">multicol-rule-color-001.xht</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-rule-color-001.xht"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-rule-color-001.xht"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-rule-color-inherit-001.xht" title="css/css-multicol/multicol-rule-color-inherit-001.xht">multicol-rule-color-inherit-001.xht</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-rule-color-inherit-001.xht"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-rule-color-inherit-001.xht"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-rule-color-inherit-002.xht" title="css/css-multicol/multicol-rule-color-inherit-002.xht">multicol-rule-color-inherit-002.xht</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-rule-color-inherit-002.xht"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-rule-color-inherit-002.xht"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/parsing/column-rule-color-computed.html" title="css/css-multicol/parsing/column-rule-color-computed.html">column-rule-color-computed.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/parsing/column-rule-color-computed.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/parsing/column-rule-color-computed.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/parsing/column-rule-color-valid.html" title="css/css-multicol/parsing/column-rule-color-valid.html">column-rule-color-valid.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/parsing/column-rule-color-valid.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/parsing/column-rule-color-valid.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/parsing/column-rule-color-invalid.html" title="css/css-multicol/parsing/column-rule-color-invalid.html">column-rule-color-invalid.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/parsing/column-rule-color-invalid.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/parsing/column-rule-color-invalid.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/animation/column-rule-color-interpolation.html" title="css/css-multicol/animation/column-rule-color-interpolation.html">column-rule-color-interpolation.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/animation/column-rule-color-interpolation.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/animation/column-rule-color-interpolation.html"><small>(source)</small></a> </ul> </details> <h3 class="heading settled" data-level="4.3" id="crs"><span class="secno">4.3. </span><span class="content">The Style Of Column Rules: the <a class="property css" data-link-type="property" href="#propdef-column-rule-style" id="ref-for-propdef-column-rule-style">column-rule-style</a> property</span><a class="self-link" href="#crs"></a></h3> <table class="def propdef" data-link-for-hint="column-rule-style"> <tbody> <tr> <th>Name: <td><dfn class="dfn-paneled css" data-dfn-type="property" data-export id="propdef-column-rule-style">column-rule-style</dfn> <tr class="value"> <th><a href="https://www.w3.org/TR/css-values/#value-defs">Value:</a> <td class="prod"><a class="production css" data-link-type="type" href="https://www.w3.org/TR/css-backgrounds-3/#typedef-line-style" id="ref-for-typedef-line-style">&lt;line-style></a> <tr> <th><a href="https://www.w3.org/TR/css-cascade/#initial-values">Initial:</a> <td>none <tr> <th><a href="https://www.w3.org/TR/css-cascade/#applies-to">Applies to:</a> <td>multicol containers <tr> <th><a href="https://www.w3.org/TR/css-cascade/#inherited-property">Inherited:</a> <td>no <tr> <th><a href="https://www.w3.org/TR/css-values/#percentages">Percentages:</a> <td>N/A <tr> <th><a href="https://www.w3.org/TR/css-cascade/#computed">Computed value:</a> <td>specified keyword <tr> <th><a href="https://www.w3.org/TR/cssom/#serializing-css-values">Canonical order:</a> <td>per grammar <tr> <th><a href="https://www.w3.org/TR/web-animations/#animation-type">Animation type:</a> <td>discrete </table> <p>The <a class="property css" data-link-type="property" href="#propdef-column-rule-style" id="ref-for-propdef-column-rule-style①">column-rule-style</a> property sets the style of the rule between columns of an element. The <a class="production css" data-link-type="type" href="https://www.w3.org/TR/css-backgrounds-3/#typedef-line-style" id="ref-for-typedef-line-style①">&lt;line-style></a> values are interpreted as in the <a href="https://www.w3.org/TR/CSS2/tables.html#collapsing-borders">collapsing border model</a>.</p> <details class="wpt-tests-block" dir="ltr" lang="en"> <summary>Tests</summary> <ul class="wpt-tests-list"> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/parsing/column-rule-style-computed.html" title="css/css-multicol/parsing/column-rule-style-computed.html">column-rule-style-computed.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/parsing/column-rule-style-computed.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/parsing/column-rule-style-computed.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/parsing/column-rule-style-valid.html" title="css/css-multicol/parsing/column-rule-style-valid.html">column-rule-style-valid.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/parsing/column-rule-style-valid.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/parsing/column-rule-style-valid.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/parsing/column-rule-style-invalid.html" title="css/css-multicol/parsing/column-rule-style-invalid.html">column-rule-style-invalid.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/parsing/column-rule-style-invalid.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/parsing/column-rule-style-invalid.html"><small>(source)</small></a> </ul> </details> <p>The <a class="css" data-link-type="maybe" href="https://www.w3.org/TR/css-backgrounds-3/#valdef-line-style-none" id="ref-for-valdef-line-style-none">none</a> value forces the computed value of <a class="property css" data-link-type="property" href="#propdef-column-rule-width" id="ref-for-propdef-column-rule-width">column-rule-width</a> to be <span class="css">0</span>.</p> <h3 class="heading settled" data-level="4.4" id="crw"><span class="secno">4.4. </span><span class="content">The Width Of Column Rules: the <a class="property css" data-link-type="property" href="#propdef-column-rule-width" id="ref-for-propdef-column-rule-width①">column-rule-width</a> property</span><a class="self-link" href="#crw"></a></h3> <table class="def propdef" data-link-for-hint="column-rule-width"> <tbody> <tr> <th>Name: <td><dfn class="dfn-paneled css" data-dfn-type="property" data-export id="propdef-column-rule-width">column-rule-width</dfn> <tr class="value"> <th><a href="https://www.w3.org/TR/css-values/#value-defs">Value:</a> <td class="prod"><a class="production css" data-link-type="type" href="https://www.w3.org/TR/css-backgrounds-3/#typedef-line-width" id="ref-for-typedef-line-width">&lt;line-width></a> <tr> <th><a href="https://www.w3.org/TR/css-cascade/#initial-values">Initial:</a> <td>medium <tr> <th><a href="https://www.w3.org/TR/css-cascade/#applies-to">Applies to:</a> <td>multicol containers <tr> <th><a href="https://www.w3.org/TR/css-cascade/#inherited-property">Inherited:</a> <td>no <tr> <th><a href="https://www.w3.org/TR/css-values/#percentages">Percentages:</a> <td>N/A <tr> <th><a href="https://www.w3.org/TR/css-cascade/#computed">Computed value:</a> <td>absolute length, <a data-link-type="dfn" href="https://www.w3.org/TR/css-values-4/#snap-a-length-as-a-border-width" id="ref-for-snap-a-length-as-a-border-width">snapped as a border width</a>; <span class="css">0</span> if the column rule style is <a class="css" data-link-type="maybe" href="https://www.w3.org/TR/css-backgrounds-3/#valdef-line-style-none" id="ref-for-valdef-line-style-none①">none</a> or <a class="css" data-link-type="maybe" href="https://www.w3.org/TR/css-backgrounds-3/#valdef-line-style-hidden" id="ref-for-valdef-line-style-hidden">hidden</a> <tr> <th><a href="https://www.w3.org/TR/cssom/#serializing-css-values">Canonical order:</a> <td>per grammar <tr> <th><a href="https://www.w3.org/TR/web-animations/#animation-type">Animation type:</a> <td>by computed value type </table> <p>This property sets the width of the rule between columns. Negative values are not allowed.</p> <details class="wpt-tests-block" dir="ltr" lang="en"> <summary>Tests</summary> <ul class="wpt-tests-list"> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-rule-fraction-001.xht" title="css/css-multicol/multicol-rule-fraction-001.xht">multicol-rule-fraction-001.xht</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-rule-fraction-001.xht"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-rule-fraction-001.xht"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-rule-fraction-003.xht" title="css/css-multicol/multicol-rule-fraction-003.xht">multicol-rule-fraction-003.xht</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-rule-fraction-003.xht"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-rule-fraction-003.xht"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-rule-px-001.xht" title="css/css-multicol/multicol-rule-px-001.xht">multicol-rule-px-001.xht</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-rule-px-001.xht"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-rule-px-001.xht"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-rule-percent-001.xht" title="css/css-multicol/multicol-rule-percent-001.xht">multicol-rule-percent-001.xht</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-rule-percent-001.xht"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-rule-percent-001.xht"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/subpixel-column-rule-width.tentative.html" title="css/css-multicol/subpixel-column-rule-width.tentative.html">subpixel-column-rule-width.tentative.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/subpixel-column-rule-width.tentative.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/subpixel-column-rule-width.tentative.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/parsing/column-rule-width-computed.html" title="css/css-multicol/parsing/column-rule-width-computed.html">column-rule-width-computed.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/parsing/column-rule-width-computed.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/parsing/column-rule-width-computed.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/parsing/column-rule-width-invalid.html" title="css/css-multicol/parsing/column-rule-width-invalid.html">column-rule-width-invalid.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/parsing/column-rule-width-invalid.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/parsing/column-rule-width-invalid.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/parsing/column-rule-width-valid.html" title="css/css-multicol/parsing/column-rule-width-valid.html">column-rule-width-valid.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/parsing/column-rule-width-valid.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/parsing/column-rule-width-valid.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/animation/column-rule-width-interpolation.html" title="css/css-multicol/animation/column-rule-width-interpolation.html">column-rule-width-interpolation.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/animation/column-rule-width-interpolation.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/animation/column-rule-width-interpolation.html"><small>(source)</small></a> </ul> </details> <h3 class="heading settled" data-level="4.5" id="cr"><span class="secno">4.5. </span><span class="content">Column Rule Shorthand: the <a class="property css" data-link-type="property" href="#propdef-column-rule" id="ref-for-propdef-column-rule④">column-rule</a> property</span><a class="self-link" href="#cr"></a></h3> <table class="def propdef" data-link-for-hint="column-rule"> <tbody> <tr> <th>Name: <td><dfn class="dfn-paneled css" data-dfn-type="property" data-export id="propdef-column-rule">column-rule</dfn> <tr class="value"> <th><a href="https://www.w3.org/TR/css-values/#value-defs">Value:</a> <td class="prod"><a class="production css" data-link-type="property" href="#propdef-column-rule-width" id="ref-for-propdef-column-rule-width②">&lt;'column-rule-width'></a> <a data-link-type="grammar" href="https://www.w3.org/TR/css-values-4/#comb-any" id="ref-for-comb-any①">||</a> <a class="production css" data-link-type="property" href="#propdef-column-rule-style" id="ref-for-propdef-column-rule-style②">&lt;'column-rule-style'></a> <span id="ref-for-comb-any②">||</span> <a class="production css" data-link-type="property" href="#propdef-column-rule-color" id="ref-for-propdef-column-rule-color①">&lt;'column-rule-color'></a> <tr> <th><a href="https://www.w3.org/TR/css-cascade/#initial-values">Initial:</a> <td>see individual properties <tr> <th><a href="https://www.w3.org/TR/css-cascade/#applies-to">Applies to:</a> <td>see individual properties <tr> <th><a href="https://www.w3.org/TR/css-cascade/#inherited-property">Inherited:</a> <td>see individual properties <tr> <th><a href="https://www.w3.org/TR/css-values/#percentages">Percentages:</a> <td>see individual properties <tr> <th><a href="https://www.w3.org/TR/css-cascade/#computed">Computed value:</a> <td>see individual properties <tr> <th><a href="https://www.w3.org/TR/web-animations/#animation-type">Animation type:</a> <td>see individual properties <tr> <th><a href="https://www.w3.org/TR/cssom/#serializing-css-values">Canonical order:</a> <td>per grammar </table> <p>This property is a shorthand for setting <a class="property css" data-link-type="property" href="#propdef-column-rule-width" id="ref-for-propdef-column-rule-width③">column-rule-width</a>, <a class="property css" data-link-type="property" href="#propdef-column-rule-style" id="ref-for-propdef-column-rule-style③">column-rule-style</a>, and <a class="property css" data-link-type="property" href="#propdef-column-rule-color" id="ref-for-propdef-column-rule-color②">column-rule-color</a> at the same place in the style sheet. Omitted values are set to their initial values.</p> <details class="wpt-tests-block" dir="ltr" lang="en"> <summary>Tests</summary> <ul class="wpt-tests-list"> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-shorthand-001.xht" title="css/css-multicol/multicol-shorthand-001.xht">multicol-shorthand-001.xht</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-shorthand-001.xht"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-shorthand-001.xht"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-rule-shorthand-001.xht" title="css/css-multicol/multicol-rule-shorthand-001.xht">multicol-rule-shorthand-001.xht</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-rule-shorthand-001.xht"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-rule-shorthand-001.xht"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-rule-shorthand-2.xht" title="css/css-multicol/multicol-rule-shorthand-2.xht">multicol-rule-shorthand-2.xht</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-rule-shorthand-2.xht"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-rule-shorthand-2.xht"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-rule-000.xht" title="css/css-multicol/multicol-rule-000.xht">multicol-rule-000.xht</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-rule-000.xht"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-rule-000.xht"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-rule-002.xht" title="css/css-multicol/multicol-rule-002.xht">multicol-rule-002.xht</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-rule-002.xht"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-rule-002.xht"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-rule-dashed-000.xht" title="css/css-multicol/multicol-rule-dashed-000.xht">multicol-rule-dashed-000.xht</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-rule-dashed-000.xht"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-rule-dashed-000.xht"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-rule-dotted-000.xht" title="css/css-multicol/multicol-rule-dotted-000.xht">multicol-rule-dotted-000.xht</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-rule-dotted-000.xht"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-rule-dotted-000.xht"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-rule-double-000.xht" title="css/css-multicol/multicol-rule-double-000.xht">multicol-rule-double-000.xht</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-rule-double-000.xht"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-rule-double-000.xht"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-rule-outset-000.xht" title="css/css-multicol/multicol-rule-outset-000.xht">multicol-rule-outset-000.xht</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-rule-outset-000.xht"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-rule-outset-000.xht"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-rule-none-000.xht" title="css/css-multicol/multicol-rule-none-000.xht">multicol-rule-none-000.xht</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-rule-none-000.xht"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-rule-none-000.xht"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-rule-hidden-000.xht" title="css/css-multicol/multicol-rule-hidden-000.xht">multicol-rule-hidden-000.xht</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-rule-hidden-000.xht"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-rule-hidden-000.xht"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-rule-inset-000.xht" title="css/css-multicol/multicol-rule-inset-000.xht">multicol-rule-inset-000.xht</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-rule-inset-000.xht"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-rule-inset-000.xht"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-rule-groove-000.xht" title="css/css-multicol/multicol-rule-groove-000.xht">multicol-rule-groove-000.xht</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-rule-groove-000.xht"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-rule-groove-000.xht"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-rule-ridge-000.xht" title="css/css-multicol/multicol-rule-ridge-000.xht">multicol-rule-ridge-000.xht</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-rule-ridge-000.xht"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-rule-ridge-000.xht"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-rule-solid-000.xht" title="css/css-multicol/multicol-rule-solid-000.xht">multicol-rule-solid-000.xht</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-rule-solid-000.xht"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-rule-solid-000.xht"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/parsing/column-rule-computed.html" title="css/css-multicol/parsing/column-rule-computed.html">column-rule-computed.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/parsing/column-rule-computed.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/parsing/column-rule-computed.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/parsing/column-rule-invalid.html" title="css/css-multicol/parsing/column-rule-invalid.html">column-rule-invalid.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/parsing/column-rule-invalid.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/parsing/column-rule-invalid.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/parsing/column-rule-valid.html" title="css/css-multicol/parsing/column-rule-valid.html">column-rule-valid.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/parsing/column-rule-valid.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/parsing/column-rule-valid.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/parsing/column-rule-shorthand.html" title="css/css-multicol/parsing/column-rule-shorthand.html">column-rule-shorthand.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/parsing/column-rule-shorthand.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/parsing/column-rule-shorthand.html"><small>(source)</small></a> </ul> </details> <div class="example" id="example-ef50cfc6"> <a class="self-link" href="#example-ef50cfc6"></a> In this example, the <a data-link-type="dfn" href="#column-rule" id="ref-for-column-rule⑤">column rule</a> and the <a data-link-type="dfn" href="#column-gap" id="ref-for-column-gap②">column gap</a> have the same width. Therefore, they will occupy exactly the same space. <pre class="highlight">body <c- p>{</c-> <c- k>column-gap</c-><c- p>:</c-> <c- m>35</c-><c- k>px</c-><c- p>;</c-> <c- k>column-rule-width</c-><c- p>:</c-> <c- m>35</c-><c- k>px</c-><c- p>;</c-> <c- k>column-rule-style</c-><c- p>:</c-> solid<c- p>;</c-> <c- k>column-rule-color</c-><c- p>:</c-> black<c- p>;</c-> <c- p>}</c-> </pre> <figure> <img alt="The rule completely covers any gap." src="images/rule-same-width-as-gap.svg"> <figcaption>The column rule and column gap occupy the same space.</figcaption> </figure> <details class="wpt-tests-block" dir="ltr" lang="en"> <summary>Tests</summary> <ul class="wpt-tests-list"> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/equal-gap-and-rule.html" title="css/css-multicol/equal-gap-and-rule.html">equal-gap-and-rule.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/equal-gap-and-rule.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/equal-gap-and-rule.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-rule-samelength-001.xht" title="css/css-multicol/multicol-rule-samelength-001.xht">multicol-rule-samelength-001.xht</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-rule-samelength-001.xht"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-rule-samelength-001.xht"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/fixed-size-child-with-overflow.html" title="css/css-multicol/fixed-size-child-with-overflow.html">fixed-size-child-with-overflow.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/fixed-size-child-with-overflow.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/fixed-size-child-with-overflow.html"><small>(source)</small></a> </ul> </details> </div> <h2 class="heading settled" data-level="5" id="column-breaks"><span class="secno">5. </span><span class="content"> Column Breaks</span><a class="self-link" href="#column-breaks"></a></h2> <p>When content is laid out in multiple columns, the user agent must determine where column breaks are placed. The problem of breaking content into columns is similar to breaking content into pages, which is described in CSS 2.1, section 13.3.3 <a data-link-type="biblio" href="#biblio-css21" title="Cascading Style Sheets Level 2 Revision 1 (CSS 2.1) Specification">[CSS21]</a>.</p> <p>Three new properties are introduced to allow column breaks to be described in the same properties as page breaks: <a class="property css" data-link-type="property" href="https://www.w3.org/TR/css-break-3/#propdef-break-before" id="ref-for-propdef-break-before">break-before</a>, <a class="property css" data-link-type="property" href="https://www.w3.org/TR/css-break-3/#propdef-break-after" id="ref-for-propdef-break-after">break-after</a>, and <a class="property css" data-link-type="property" href="https://www.w3.org/TR/css-break-3/#propdef-break-inside" id="ref-for-propdef-break-inside">break-inside</a>.</p> <h3 class="heading settled" data-level="5.1" id="break-before-break-after-break-inside"><span class="secno">5.1. </span><span class="content">Controlling Fragmentation: the <a class="property css" data-link-type="property" href="https://www.w3.org/TR/css-break-3/#propdef-break-before" id="ref-for-propdef-break-before①">break-before</a>, <a class="property css" data-link-type="property" href="https://www.w3.org/TR/css-break-3/#propdef-break-after" id="ref-for-propdef-break-after①">break-after</a>, <a class="property css" data-link-type="property" href="https://www.w3.org/TR/css-break-3/#propdef-break-inside" id="ref-for-propdef-break-inside①">break-inside</a> properties</span><a class="self-link" href="#break-before-break-after-break-inside"></a></h3> <p><a class="property css" data-link-type="property" href="https://www.w3.org/TR/css-break-3/#propdef-break-before" id="ref-for-propdef-break-before②">break-before</a>, <a class="property css" data-link-type="property" href="https://www.w3.org/TR/css-break-3/#propdef-break-after" id="ref-for-propdef-break-after②">break-after</a>, and <a class="property css" data-link-type="property" href="https://www.w3.org/TR/css-break-3/#propdef-break-inside" id="ref-for-propdef-break-inside②">break-inside</a> are defined in <a data-link-type="biblio" href="#biblio-css3-break" title="CSS Fragmentation Module Level 3">[CSS3-BREAK]</a>.</p> <details class="wpt-tests-block" dir="ltr" lang="en"> <summary>Tests</summary> <ul class="wpt-tests-list"> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-break-000.xht" title="css/css-multicol/multicol-break-000.xht">multicol-break-000.xht</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-break-000.xht"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-break-000.xht"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-break-001.xht" title="css/css-multicol/multicol-break-001.xht">multicol-break-001.xht</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-break-001.xht"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-break-001.xht"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-br-inside-avoidcolumn-001.xht" title="css/css-multicol/multicol-br-inside-avoidcolumn-001.xht">multicol-br-inside-avoidcolumn-001.xht</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-br-inside-avoidcolumn-001.xht"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-br-inside-avoidcolumn-001.xht"><small>(source)</small></a> <li class="wpt-test"><span class="wpt-name">moz-multicol3-column-balancing-break-inside-avoid-1.html (manual test) </span><a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/moz-multicol3-column-balancing-break-inside-avoid-1.html"><small>(source)</small></a> </ul> </details> <h2 class="heading settled" data-level="6" id="spanning-columns"><span class="secno">6. </span><span class="content"> Spanning Columns</span><a class="self-link" href="#spanning-columns"></a></h2> <p>The <a class="property css" data-link-type="property" href="#propdef-column-span" id="ref-for-propdef-column-span①">column-span</a> property makes it possible for an element to span across several columns.</p> <h3 class="heading settled" data-level="6.1" id="column-span"><span class="secno">6.1. </span><span class="content">Spanning An Element Across Columns: the <a class="property css" data-link-type="property" href="#propdef-column-span" id="ref-for-propdef-column-span②">column-span</a> property</span><a class="self-link" href="#column-span"></a></h3> <table class="def propdef" data-link-for-hint="column-span"> <tbody> <tr> <th>Name: <td><dfn class="dfn-paneled css" data-dfn-type="property" data-export id="propdef-column-span">column-span</dfn> <tr class="value"> <th><a href="https://www.w3.org/TR/css-values/#value-defs">Value:</a> <td class="prod">none <a data-link-type="grammar" href="https://www.w3.org/TR/css-values-4/#comb-one" id="ref-for-comb-one②">|</a> all <tr> <th><a href="https://www.w3.org/TR/css-cascade/#initial-values">Initial:</a> <td>none <tr> <th><a href="https://www.w3.org/TR/css-cascade/#applies-to">Applies to:</a> <td>in-flow block-level elements <tr> <th><a href="https://www.w3.org/TR/css-cascade/#inherited-property">Inherited:</a> <td>no <tr> <th><a href="https://www.w3.org/TR/css-values/#percentages">Percentages:</a> <td>N/A <tr> <th><a href="https://www.w3.org/TR/css-cascade/#computed">Computed value:</a> <td>specified keyword <tr> <th><a href="https://www.w3.org/TR/cssom/#serializing-css-values">Canonical order:</a> <td>per grammar <tr> <th><a href="https://www.w3.org/TR/web-animations/#animation-type">Animation type:</a> <td>discrete </table> <details class="wpt-tests-block" dir="ltr" lang="en"> <summary>Tests</summary> <ul class="wpt-tests-list"> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/parsing/column-span-invalid.html" title="css/css-multicol/parsing/column-span-invalid.html">column-span-invalid.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/parsing/column-span-invalid.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/parsing/column-span-invalid.html"><small>(source)</small></a> </ul> </details> <p>This property describes how many columns an element spans across. Values are:</p> <dl> <dt><dfn class="dfn-paneled css" data-dfn-for="column-span" data-dfn-type="value" data-export id="valdef-column-span-none">none</dfn> <dd> The element does not span multiple columns. <details class="wpt-tests-block" dir="ltr" lang="en"> <summary>Tests</summary> <ul class="wpt-tests-list"> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-span-none-001.xht" title="css/css-multicol/multicol-span-none-001.xht">multicol-span-none-001.xht</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-span-none-001.xht"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-span-none-001.xht"><small>(source)</small></a> </ul> </details> <dt><dfn class="dfn-paneled css" data-dfn-for="column-span" data-dfn-type="value" data-export id="valdef-column-span-all">all</dfn> <dd> The element forces a column break and is taken <a data-link-type="dfn" href="https://www.w3.org/TR/css-display-3/#out-of-flow" id="ref-for-out-of-flow">out of flow</a> to span across all columns of the nearest multicol ancestor in the same <a data-link-type="dfn" href="https://www.w3.org/TR/css-display-3/#block-formatting-context" id="ref-for-block-formatting-context③">block formatting context</a>. Content in the normal flow that appears before the element is automatically balanced across all columns in the immediately preceding <a data-link-type="dfn" href="#multi-column-line" id="ref-for-multi-column-line④">multi-column line</a> before the element appears, and any subsequent content flows into a new <span id="ref-for-multi-column-line⑤">multi-column line</span> after the element. The element establishes an <a data-link-type="dfn" href="https://www.w3.org/TR/css-display-3/#independent-formatting-context" id="ref-for-independent-formatting-context②">independent formatting context</a>. <p class="note" role="note"><span class="marker">Note:</span> Whether the element establishes a new <a data-link-type="dfn" href="https://www.w3.org/TR/css-display-3/#formatting-context" id="ref-for-formatting-context">formatting context</a> does not depend on whether the element is a descendant of a multicol or not. When <a class="property css" data-link-type="property" href="#propdef-column-span" id="ref-for-propdef-column-span③">column-span</a> is <a class="css" data-link-type="maybe" href="#valdef-column-span-all" id="ref-for-valdef-column-span-all">all</a>, it always does. This helps with robustness of designs to later revisions that remove the multicol, or when media queries turn the multicol off in some situations.</p> <details class="wpt-tests-block" dir="ltr" lang="en"> <summary>Tests</summary> <ul class="wpt-tests-list"> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-span-000.xht" title="css/css-multicol/multicol-span-000.xht">multicol-span-000.xht</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-span-000.xht"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-span-000.xht"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-span-all-001.xht" title="css/css-multicol/multicol-span-all-001.xht">multicol-span-all-001.xht</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-span-all-001.xht"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-span-all-001.xht"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-span-all-003.xht" title="css/css-multicol/multicol-span-all-003.xht">multicol-span-all-003.xht</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-span-all-003.xht"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-span-all-003.xht"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-span-all-block-sibling-003.xht" title="css/css-multicol/multicol-span-all-block-sibling-003.xht">multicol-span-all-block-sibling-003.xht</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-span-all-block-sibling-003.xht"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-span-all-block-sibling-003.xht"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-span-all-margin-001.xht" title="css/css-multicol/multicol-span-all-margin-001.xht">multicol-span-all-margin-001.xht</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-span-all-margin-001.xht"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-span-all-margin-001.xht"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-span-all-margin-002.xht" title="css/css-multicol/multicol-span-all-margin-002.xht">multicol-span-all-margin-002.xht</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-span-all-margin-002.xht"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-span-all-margin-002.xht"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-span-all-margin-003.html" title="css/css-multicol/multicol-span-all-margin-003.html">multicol-span-all-margin-003.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-span-all-margin-003.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-span-all-margin-003.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-span-all-margin-bottom-001.xht" title="css/css-multicol/multicol-span-all-margin-bottom-001.xht">multicol-span-all-margin-bottom-001.xht</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-span-all-margin-bottom-001.xht"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-span-all-margin-bottom-001.xht"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-span-all-margin-nested-001.xht" title="css/css-multicol/multicol-span-all-margin-nested-001.xht">multicol-span-all-margin-nested-001.xht</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-span-all-margin-nested-001.xht"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-span-all-margin-nested-001.xht"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-span-all-margin-nested-002.xht" title="css/css-multicol/multicol-span-all-margin-nested-002.xht">multicol-span-all-margin-nested-002.xht</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-span-all-margin-nested-002.xht"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-span-all-margin-nested-002.xht"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-span-all-margin-nested-firstchild-001.xht" title="css/css-multicol/multicol-span-all-margin-nested-firstchild-001.xht">multicol-span-all-margin-nested-firstchild-001.xht</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-span-all-margin-nested-firstchild-001.xht"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-span-all-margin-nested-firstchild-001.xht"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-span-float-001.xht" title="css/css-multicol/multicol-span-float-001.xht">multicol-span-float-001.xht</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-span-float-001.xht"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-span-float-001.xht"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-span-float-002.html" title="css/css-multicol/multicol-span-float-002.html">multicol-span-float-002.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-span-float-002.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-span-float-002.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-span-float-003.html" title="css/css-multicol/multicol-span-float-003.html">multicol-span-float-003.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-span-float-003.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-span-float-003.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/inline-block-and-column-span-all.html" title="css/css-multicol/inline-block-and-column-span-all.html">inline-block-and-column-span-all.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/inline-block-and-column-span-all.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/inline-block-and-column-span-all.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-span-all-dynamic-remove-001.html" title="css/css-multicol/multicol-span-all-dynamic-remove-001.html">multicol-span-all-dynamic-remove-001.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-span-all-dynamic-remove-001.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-span-all-dynamic-remove-001.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-span-all-dynamic-add-001.html" title="css/css-multicol/multicol-span-all-dynamic-add-001.html">multicol-span-all-dynamic-add-001.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-span-all-dynamic-add-001.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-span-all-dynamic-add-001.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-span-all-dynamic-remove-002.html" title="css/css-multicol/multicol-span-all-dynamic-remove-002.html">multicol-span-all-dynamic-remove-002.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-span-all-dynamic-remove-002.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-span-all-dynamic-remove-002.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-span-all-dynamic-add-002.html" title="css/css-multicol/multicol-span-all-dynamic-add-002.html">multicol-span-all-dynamic-add-002.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-span-all-dynamic-add-002.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-span-all-dynamic-add-002.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-span-all-dynamic-remove-003.html" title="css/css-multicol/multicol-span-all-dynamic-remove-003.html">multicol-span-all-dynamic-remove-003.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-span-all-dynamic-remove-003.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-span-all-dynamic-remove-003.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-span-all-dynamic-add-003.html" title="css/css-multicol/multicol-span-all-dynamic-add-003.html">multicol-span-all-dynamic-add-003.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-span-all-dynamic-add-003.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-span-all-dynamic-add-003.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-span-all-dynamic-remove-004.html" title="css/css-multicol/multicol-span-all-dynamic-remove-004.html">multicol-span-all-dynamic-remove-004.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-span-all-dynamic-remove-004.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-span-all-dynamic-remove-004.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-span-all-dynamic-add-004.html" title="css/css-multicol/multicol-span-all-dynamic-add-004.html">multicol-span-all-dynamic-add-004.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-span-all-dynamic-add-004.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-span-all-dynamic-add-004.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-span-all-dynamic-add-005.html" title="css/css-multicol/multicol-span-all-dynamic-add-005.html">multicol-span-all-dynamic-add-005.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-span-all-dynamic-add-005.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-span-all-dynamic-add-005.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-span-all-dynamic-remove-005.html" title="css/css-multicol/multicol-span-all-dynamic-remove-005.html">multicol-span-all-dynamic-remove-005.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-span-all-dynamic-remove-005.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-span-all-dynamic-remove-005.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-span-all-dynamic-remove-006.html" title="css/css-multicol/multicol-span-all-dynamic-remove-006.html">multicol-span-all-dynamic-remove-006.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-span-all-dynamic-remove-006.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-span-all-dynamic-remove-006.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-span-all-dynamic-add-006.html" title="css/css-multicol/multicol-span-all-dynamic-add-006.html">multicol-span-all-dynamic-add-006.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-span-all-dynamic-add-006.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-span-all-dynamic-add-006.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-span-all-dynamic-remove-007.html" title="css/css-multicol/multicol-span-all-dynamic-remove-007.html">multicol-span-all-dynamic-remove-007.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-span-all-dynamic-remove-007.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-span-all-dynamic-remove-007.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-span-all-dynamic-add-007.html" title="css/css-multicol/multicol-span-all-dynamic-add-007.html">multicol-span-all-dynamic-add-007.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-span-all-dynamic-add-007.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-span-all-dynamic-add-007.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-span-all-dynamic-add-008.html" title="css/css-multicol/multicol-span-all-dynamic-add-008.html">multicol-span-all-dynamic-add-008.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-span-all-dynamic-add-008.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-span-all-dynamic-add-008.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-span-all-dynamic-add-009.html" title="css/css-multicol/multicol-span-all-dynamic-add-009.html">multicol-span-all-dynamic-add-009.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-span-all-dynamic-add-009.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-span-all-dynamic-add-009.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-span-all-dynamic-add-010.html" title="css/css-multicol/multicol-span-all-dynamic-add-010.html">multicol-span-all-dynamic-add-010.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-span-all-dynamic-add-010.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-span-all-dynamic-add-010.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-span-all-dynamic-add-011.html" title="css/css-multicol/multicol-span-all-dynamic-add-011.html">multicol-span-all-dynamic-add-011.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-span-all-dynamic-add-011.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-span-all-dynamic-add-011.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-span-all-dynamic-add-012.html" title="css/css-multicol/multicol-span-all-dynamic-add-012.html">multicol-span-all-dynamic-add-012.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-span-all-dynamic-add-012.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-span-all-dynamic-add-012.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-span-all-dynamic-add-013.html" title="css/css-multicol/multicol-span-all-dynamic-add-013.html">multicol-span-all-dynamic-add-013.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-span-all-dynamic-add-013.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-span-all-dynamic-add-013.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-span-all-children-height-001.html" title="css/css-multicol/multicol-span-all-children-height-001.html">multicol-span-all-children-height-001.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-span-all-children-height-001.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-span-all-children-height-001.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-span-all-children-height-002.html" title="css/css-multicol/multicol-span-all-children-height-002.html">multicol-span-all-children-height-002.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-span-all-children-height-002.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-span-all-children-height-002.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-span-all-children-height-003.html" title="css/css-multicol/multicol-span-all-children-height-003.html">multicol-span-all-children-height-003.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-span-all-children-height-003.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-span-all-children-height-003.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-span-all-children-height-004a.html" title="css/css-multicol/multicol-span-all-children-height-004a.html">multicol-span-all-children-height-004a.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-span-all-children-height-004a.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-span-all-children-height-004a.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-span-all-children-height-004b.html" title="css/css-multicol/multicol-span-all-children-height-004b.html">multicol-span-all-children-height-004b.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-span-all-children-height-004b.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-span-all-children-height-004b.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-span-all-children-height-005.html" title="css/css-multicol/multicol-span-all-children-height-005.html">multicol-span-all-children-height-005.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-span-all-children-height-005.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-span-all-children-height-005.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-span-all-children-height-006.html" title="css/css-multicol/multicol-span-all-children-height-006.html">multicol-span-all-children-height-006.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-span-all-children-height-006.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-span-all-children-height-006.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-span-all-children-height-007.html" title="css/css-multicol/multicol-span-all-children-height-007.html">multicol-span-all-children-height-007.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-span-all-children-height-007.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-span-all-children-height-007.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-span-all-children-height-008.html" title="css/css-multicol/multicol-span-all-children-height-008.html">multicol-span-all-children-height-008.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-span-all-children-height-008.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-span-all-children-height-008.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-span-all-children-height-009.html" title="css/css-multicol/multicol-span-all-children-height-009.html">multicol-span-all-children-height-009.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-span-all-children-height-009.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-span-all-children-height-009.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-span-all-children-height-010.html" title="css/css-multicol/multicol-span-all-children-height-010.html">multicol-span-all-children-height-010.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-span-all-children-height-010.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-span-all-children-height-010.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-span-all-children-height-011.html" title="css/css-multicol/multicol-span-all-children-height-011.html">multicol-span-all-children-height-011.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-span-all-children-height-011.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-span-all-children-height-011.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-span-all-children-height-012.html" title="css/css-multicol/multicol-span-all-children-height-012.html">multicol-span-all-children-height-012.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-span-all-children-height-012.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-span-all-children-height-012.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-span-all-children-height-013.html" title="css/css-multicol/multicol-span-all-children-height-013.html">multicol-span-all-children-height-013.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-span-all-children-height-013.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-span-all-children-height-013.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-span-all-004.html" title="css/css-multicol/multicol-span-all-004.html">multicol-span-all-004.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-span-all-004.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-span-all-004.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-span-all-005.html" title="css/css-multicol/multicol-span-all-005.html">multicol-span-all-005.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-span-all-005.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-span-all-005.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-span-all-006.html" title="css/css-multicol/multicol-span-all-006.html">multicol-span-all-006.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-span-all-006.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-span-all-006.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-span-all-007.html" title="css/css-multicol/multicol-span-all-007.html">multicol-span-all-007.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-span-all-007.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-span-all-007.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-span-all-008.html" title="css/css-multicol/multicol-span-all-008.html">multicol-span-all-008.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-span-all-008.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-span-all-008.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-span-all-009.html" title="css/css-multicol/multicol-span-all-009.html">multicol-span-all-009.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-span-all-009.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-span-all-009.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-span-all-010.html" title="css/css-multicol/multicol-span-all-010.html">multicol-span-all-010.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-span-all-010.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-span-all-010.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-span-all-011.html" title="css/css-multicol/multicol-span-all-011.html">multicol-span-all-011.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-span-all-011.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-span-all-011.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-span-all-012.html" title="css/css-multicol/multicol-span-all-012.html">multicol-span-all-012.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-span-all-012.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-span-all-012.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-span-all-013.html" title="css/css-multicol/multicol-span-all-013.html">multicol-span-all-013.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-span-all-013.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-span-all-013.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-span-all-014.html" title="css/css-multicol/multicol-span-all-014.html">multicol-span-all-014.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-span-all-014.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-span-all-014.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-span-all-015.html" title="css/css-multicol/multicol-span-all-015.html">multicol-span-all-015.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-span-all-015.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-span-all-015.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-span-all-016.html" title="css/css-multicol/multicol-span-all-016.html">multicol-span-all-016.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-span-all-016.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-span-all-016.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-span-all-017.html" title="css/css-multicol/multicol-span-all-017.html">multicol-span-all-017.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-span-all-017.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-span-all-017.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-span-all-018.html" title="css/css-multicol/multicol-span-all-018.html">multicol-span-all-018.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-span-all-018.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-span-all-018.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-span-all-019.html" title="css/css-multicol/multicol-span-all-019.html">multicol-span-all-019.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-span-all-019.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-span-all-019.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-span-all-rule-001.html" title="css/css-multicol/multicol-span-all-rule-001.html">multicol-span-all-rule-001.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-span-all-rule-001.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-span-all-rule-001.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-span-all-button-001.html" title="css/css-multicol/multicol-span-all-button-001.html">multicol-span-all-button-001.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-span-all-button-001.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-span-all-button-001.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-span-all-button-002.html" title="css/css-multicol/multicol-span-all-button-002.html">multicol-span-all-button-002.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-span-all-button-002.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-span-all-button-002.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-span-all-button-003.html" title="css/css-multicol/multicol-span-all-button-003.html">multicol-span-all-button-003.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-span-all-button-003.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-span-all-button-003.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-span-all-fieldset-001.html" title="css/css-multicol/multicol-span-all-fieldset-001.html">multicol-span-all-fieldset-001.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-span-all-fieldset-001.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-span-all-fieldset-001.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-span-all-fieldset-002.html" title="css/css-multicol/multicol-span-all-fieldset-002.html">multicol-span-all-fieldset-002.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-span-all-fieldset-002.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-span-all-fieldset-002.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-span-all-fieldset-003.html" title="css/css-multicol/multicol-span-all-fieldset-003.html">multicol-span-all-fieldset-003.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-span-all-fieldset-003.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-span-all-fieldset-003.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-span-all-restyle-001.html" title="css/css-multicol/multicol-span-all-restyle-001.html">multicol-span-all-restyle-001.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-span-all-restyle-001.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-span-all-restyle-001.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-span-all-restyle-002.html" title="css/css-multicol/multicol-span-all-restyle-002.html">multicol-span-all-restyle-002.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-span-all-restyle-002.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-span-all-restyle-002.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-span-all-restyle-003.html" title="css/css-multicol/multicol-span-all-restyle-003.html">multicol-span-all-restyle-003.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-span-all-restyle-003.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-span-all-restyle-003.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-span-all-restyle-004.html" title="css/css-multicol/multicol-span-all-restyle-004.html">multicol-span-all-restyle-004.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-span-all-restyle-004.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-span-all-restyle-004.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-span-all-list-item-001.html" title="css/css-multicol/multicol-span-all-list-item-001.html">multicol-span-all-list-item-001.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-span-all-list-item-001.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-span-all-list-item-001.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-span-all-list-item-002.html" title="css/css-multicol/multicol-span-all-list-item-002.html">multicol-span-all-list-item-002.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-span-all-list-item-002.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-span-all-list-item-002.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/float-with-line-after-spanner.html" title="css/css-multicol/float-with-line-after-spanner.html">float-with-line-after-spanner.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/float-with-line-after-spanner.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/float-with-line-after-spanner.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/parallel-flow-after-spanner-001.html" title="css/css-multicol/parallel-flow-after-spanner-001.html">parallel-flow-after-spanner-001.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/parallel-flow-after-spanner-001.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/parallel-flow-after-spanner-001.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/parallel-flow-after-spanner-002.html" title="css/css-multicol/parallel-flow-after-spanner-002.html">parallel-flow-after-spanner-002.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/parallel-flow-after-spanner-002.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/parallel-flow-after-spanner-002.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/crashtests/margin-and-break-before-child-spanner.html" title="css/css-multicol/crashtests/margin-and-break-before-child-spanner.html">margin-and-break-before-child-spanner.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/crashtests/margin-and-break-before-child-spanner.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/crashtests/margin-and-break-before-child-spanner.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-width-004.html" title="css/css-multicol/multicol-width-004.html">multicol-width-004.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-width-004.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-width-004.html"><small>(source)</small></a> </ul> </details> </dl> <p>An element that spans more than one column is called a <dfn class="dfn-paneled" data-dfn-type="dfn" data-export data-local-lt="spanning element" id="multi-column-spanning-element">multi-column spanning element</dfn> and the box it creates is called a <dfn class="dfn-paneled" data-dfn-type="dfn" data-export data-local-lt="spanner" id="multi-column-spanner">multi-column spanner</dfn>.</p> <p>The <a data-link-type="dfn" href="https://www.w3.org/TR/css-display-3/#containing-block" id="ref-for-containing-block②">containing block</a> of the <a data-link-type="dfn" href="#multi-column-spanner" id="ref-for-multi-column-spanner②">spanner</a> is the <a data-link-type="dfn" href="#multi-column-container" id="ref-for-multi-column-container①⑦">multicol container</a> itself. Consequently, in cases where the spanner itself does not establish a <span id="ref-for-containing-block③">containing block</span> for <a data-link-type="dfn" href="https://www.w3.org/TR/css-position-3/#absolute-position" id="ref-for-absolute-position①">absolutely positioned boxes</a> inside the spanner, their <a data-link-type="dfn" href="https://www.w3.org/TR/css-display-3/#containing-block-chain" id="ref-for-containing-block-chain">containing block chain</a> skips directly to the <span id="ref-for-multi-column-container①⑧">multicol container</span> (skipping any ancestors between the <span id="ref-for-multi-column-spanner③">spanner</span> and the <span id="ref-for-multi-column-container①⑨">multicol container</span>).</p> <p>Although the spanner is taken <a data-link-type="dfn" href="https://www.w3.org/TR/css-display-3/#out-of-flow" id="ref-for-out-of-flow①">out-of-flow</a>, this does not affect the <a href="https://www.w3.org/TR/CSS2/zindex.html">painting order</a> <a data-link-type="biblio" href="#biblio-css21" title="Cascading Style Sheets Level 2 Revision 1 (CSS 2.1) Specification">[CSS21]</a> of the spanning element.</p> <div class="example" id="example-b640c5a3"> <a class="self-link" href="#example-b640c5a3"></a> In this example, an <code>h2</code> element has been added to the sample document after the sixth sentence (i.e., after the words "the leg of a"). This styling applies: <pre class="highlight">h2 <c- p>{</c-> <c- k>column-span</c-><c- p>:</c-> all<c- p>;</c-> <c- k>background</c-><c- p>:</c-> silver <c- p>}</c-> </pre> <p>By setting <a class="property css" data-link-type="property" href="#propdef-column-span" id="ref-for-propdef-column-span④">column-span</a> to <a class="css" data-link-type="maybe" href="#valdef-column-span-all" id="ref-for-valdef-column-span-all①">all</a>, all content that appears before the <code>h2</code> element is shown above the <code>h2</code> element.</p> <figure> <img alt="An element spans all three columns" src="images/h2-spanner.svg"> <figcaption>The h2 element is set to column-span: all</figcaption> </figure> <p>Note that because the spanner splits the <a data-link-type="dfn" href="#multi-column-line" id="ref-for-multi-column-line⑥">multi-column line</a>, it also interrupts any <a data-link-type="dfn" href="#column-rule" id="ref-for-column-rule⑥">column rules</a> (which are only drawn between <a data-link-type="dfn" href="#column-box" id="ref-for-column-box⑥">columns</a> in a <span id="ref-for-multi-column-line⑦">multi-column line</span>).</p> </div> <p>A spanning element may be lower than the first level of descendants as long as they are part of the same <a data-link-type="dfn" href="https://www.w3.org/TR/css-display-3/#formatting-context" id="ref-for-formatting-context①">formatting context</a>, and there is nothing between the spanning element and <a data-link-type="dfn" href="#multi-column-container" id="ref-for-multi-column-container②⓪">multicol container</a> that establishes a containing block for fixed position descendants.</p> <div class="example" id="example-c35d3254"> <a class="self-link" href="#example-c35d3254"></a> In this example, the element with <a class="css" data-link-type="propdesc" href="#propdef-column-span" id="ref-for-propdef-column-span⑤">column-span: all</a> is inside an element with <a class="css" data-link-type="propdesc" href="https://www.w3.org/TR/css-transforms-1/#propdef-transform" id="ref-for-propdef-transform">transform: rotate(90deg)</a>. The transform establishes a containing block for fixed position descendents, therefore a spanner will not be created. <pre class="highlight"><c- p>&lt;</c-><c- f>article</c-><c- p>></c-> <c- p>&lt;</c-><c- f>section</c-><c- p>></c-> <c- p>&lt;</c-><c- f>div</c-> <c- e>class</c-><c- o>=</c-><c- s>"spanner"</c-><c- p>></c->Attempted spanner<c- p>&lt;/</c-><c- f>div</c-><c- p>></c-> <c- p>&lt;/</c-><c- f>section</c-><c- p>></c-> <c- p>&lt;/</c-><c- f>article</c-><c- p>></c-> </pre> <pre class="highlight">article <c- p>{</c-> <c- k>columns</c-><c- p>:</c-> <c- m>2</c-><c- p>;</c-> <c- p>}</c-> section <c- p>{</c-> <c- k>transform</c-><c- p>:</c-> <c- nf>rotate</c-><c- p>(</c-><c- m>90</c-><c- k>deg</c-><c- p>);</c-> <c- p>}</c-> .spanner <c- p>{</c-> <c- k>column-span</c-><c- p>:</c-> all<c- p>;</c-> <c- k>background</c-><c- p>:</c-> silver<c- p>;</c-> <c- p>}</c-> </pre> </div> <details class="wpt-tests-block" dir="ltr" lang="en"> <summary>Tests</summary> <ul class="wpt-tests-list"> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/fixed-in-multicol-with-transform-container.html" title="css/css-multicol/fixed-in-multicol-with-transform-container.html">fixed-in-multicol-with-transform-container.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/fixed-in-multicol-with-transform-container.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/fixed-in-multicol-with-transform-container.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/change-transform-in-nested.html" title="css/css-multicol/change-transform-in-nested.html">change-transform-in-nested.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/change-transform-in-nested.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/change-transform-in-nested.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/change-transform-in-second-column.html" title="css/css-multicol/change-transform-in-second-column.html">change-transform-in-second-column.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/change-transform-in-second-column.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/change-transform-in-second-column.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/change-transform.html" title="css/css-multicol/change-transform.html">change-transform.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/change-transform.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/change-transform.html"><small>(source)</small></a> </ul> </details> <p>If the fragment before the spanner is empty, nothing special happens; the top margin/border/padding is above the spanning element, as an empty <a data-link-type="dfn" href="https://www.w3.org/TR/css-break-4/#fragment" id="ref-for-fragment①">fragment</a>.</p> <div class="example" id="example-fa0001d6"> <a class="self-link" href="#example-fa0001d6"></a> In this example the <a data-link-type="dfn" href="#multi-column-container" id="ref-for-multi-column-container②①">multicol container</a> is the <code>article</code> element. Inside this parent is a paragraph and then a section element. The section contains an <code>h2</code> heading set to <a class="css" data-link-type="maybe" href="#valdef-column-span-all" id="ref-for-valdef-column-span-all②">all</a> this spans all three columns while the containing section remains inside the column boxes. <p>The <code>h2</code> is the first child of the section. This means that the margin, border (shown in red in the diagram) and padding on this section appear before the spanning <code>h2</code> as an empty fragment.</p> <pre class="highlight"><c- p>&lt;</c-><c- f>article</c-><c- p>></c-> <c- p>&lt;</c-><c- f>p</c-><c- p>></c->...<c- p>&lt;/</c-><c- f>p</c-><c- p>></c-> <c- p>&lt;</c-><c- f>section</c-><c- p>></c-> <c- p>&lt;</c-><c- f>h2</c-><c- p>></c->An h2 element<c- p>&lt;/</c-><c- f>h2</c-><c- p>></c-> <c- p>&lt;</c-><c- f>p</c-><c- p>></c->...<c- p>&lt;/</c-><c- f>p</c-><c- p>></c-> <c- p>&lt;/</c-><c- f>section</c-><c- p>></c-> <c- p>&lt;/</c-><c- f>article</c-><c- p>></c-> </pre> <pre class="highlight">section <c- p>{</c-> <c- k>border</c-><c- p>:</c-> <c- m>2</c-><c- k>px</c-> solid red<c- p>;</c-> <c- k>margin-top</c-><c- p>:</c-> <c- m>65</c-><c- k>px</c-><c- p>;</c-> <c- k>padding-top</c-><c- p>:</c-> <c- m>20</c-><c- k>px</c-><c- p>;</c-> <c- p>}</c-> h2 <c- p>{</c-> <c- k>column-span</c-><c- p>:</c-> all<c- p>;</c-> <c- k>background</c-><c- p>:</c-> silver <c- p>}</c-> </pre> <figure> <img alt="An element spans all three columns, the red border around the section breaks before the spanner." src="images/nested-spanner.svg"> <figcaption>The <code>h2</code> element is set to <a class="css" data-link-type="propdesc" href="#propdef-column-span" id="ref-for-propdef-column-span⑥">column-span: all</a>, the section has a red border and top padding and margin</figcaption> </figure> </div> <details class="wpt-tests-block" dir="ltr" lang="en"> <summary>Tests</summary> <ul class="wpt-tests-list"> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/spanner-fragmentation-000.html" title="css/css-multicol/spanner-fragmentation-000.html">spanner-fragmentation-000.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/spanner-fragmentation-000.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/spanner-fragmentation-000.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/spanner-fragmentation-001.html" title="css/css-multicol/spanner-fragmentation-001.html">spanner-fragmentation-001.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/spanner-fragmentation-001.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/spanner-fragmentation-001.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/spanner-fragmentation-002.html" title="css/css-multicol/spanner-fragmentation-002.html">spanner-fragmentation-002.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/spanner-fragmentation-002.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/spanner-fragmentation-002.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/spanner-fragmentation-003.html" title="css/css-multicol/spanner-fragmentation-003.html">spanner-fragmentation-003.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/spanner-fragmentation-003.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/spanner-fragmentation-003.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/spanner-fragmentation-004.html" title="css/css-multicol/spanner-fragmentation-004.html">spanner-fragmentation-004.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/spanner-fragmentation-004.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/spanner-fragmentation-004.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/spanner-fragmentation-005.html" title="css/css-multicol/spanner-fragmentation-005.html">spanner-fragmentation-005.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/spanner-fragmentation-005.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/spanner-fragmentation-005.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/spanner-fragmentation-006.html" title="css/css-multicol/spanner-fragmentation-006.html">spanner-fragmentation-006.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/spanner-fragmentation-006.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/spanner-fragmentation-006.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/spanner-fragmentation-007.html" title="css/css-multicol/spanner-fragmentation-007.html">spanner-fragmentation-007.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/spanner-fragmentation-007.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/spanner-fragmentation-007.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/spanner-fragmentation-008.html" title="css/css-multicol/spanner-fragmentation-008.html">spanner-fragmentation-008.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/spanner-fragmentation-008.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/spanner-fragmentation-008.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/spanner-fragmentation-009.html" title="css/css-multicol/spanner-fragmentation-009.html">spanner-fragmentation-009.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/spanner-fragmentation-009.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/spanner-fragmentation-009.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/spanner-fragmentation-010.html" title="css/css-multicol/spanner-fragmentation-010.html">spanner-fragmentation-010.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/spanner-fragmentation-010.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/spanner-fragmentation-010.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/spanner-fragmentation-011.html" title="css/css-multicol/spanner-fragmentation-011.html">spanner-fragmentation-011.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/spanner-fragmentation-011.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/spanner-fragmentation-011.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/spanner-fragmentation-012.html" title="css/css-multicol/spanner-fragmentation-012.html">spanner-fragmentation-012.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/spanner-fragmentation-012.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/spanner-fragmentation-012.html"><small>(source)</small></a> </ul> </details> <p>A spanning element takes up more space than the element would take up otherwise. When space is limited, it may be impossible to find room for the spanning element. In these cases, user agents may treat the element as if <a class="css" data-link-type="maybe" href="#valdef-column-span-none" id="ref-for-valdef-column-span-none">none</a> had been specified on this property.</p> <div class="example" id="example-2980e0d6"> <a class="self-link" href="#example-2980e0d6"></a> In this example, the <code>h2</code> element appears later in the content, and the height of the multicol container is constrained. Therefore, the <code>h2</code> element appears in the overflow and there is not room to make the element spanning. As a result, the element appears as if <a class="css" data-link-type="propdesc" href="#propdef-column-span" id="ref-for-propdef-column-span⑦">column-span: none</a> was specified. <figure> <img alt="The h2 element is in an overflow column" src="images/h2-in-the-overflow-no-span.svg" style="max-height: 107px;"> <figcaption>The h2 element is in an overflow column and appears as if column-span none is specified</figcaption> </figure> </div> <div class="example" id="example-e49da6ca"> <a class="self-link" href="#example-e49da6ca"></a> This example is similar to the previous example, except that the H2 element appears naturally in the last column. Still, there is not enough room to make the element spanning. <figure> <img alt="The h2 element is in the final column" src="images/h2-in-the-last-column-no-span.svg" style="max-height: 107px;"> <figcaption>The h2 element is in the final column and appears as if column-span none is specified</figcaption> </figure> </div> <details class="wpt-tests-block" dir="ltr" lang="en"> <summary>Tests</summary> <ul class="wpt-tests-list"> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-span-all-002.xht" title="css/css-multicol/multicol-span-all-002.xht">multicol-span-all-002.xht</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-span-all-002.xht"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-span-all-002.xht"><small>(source)</small></a> </ul> </details> <div class="example" id="example-8f69cecc"> <a class="self-link" href="#example-8f69cecc"></a> In fragmented contexts spanning elements are honored in all fragments. In this example, we are in <a data-link-type="dfn" href="https://www.w3.org/TR/mediaqueries-5/#paged-media" id="ref-for-paged-media①">paged media</a>, and the first three paragraphs have column breaks after them. A spanning <code>H2</code> element appears after the fourth paragraph. <figure> <img alt="Three columns with two lines of text each" src="images/spanner-page-break1.svg"> <figcaption>This would appear on the first page</figcaption> </figure> <figure> <img alt="A spanning element across the three columns, text above and below." src="images/spanner-page-break2.svg"> <figcaption>This would appear on the second page</figcaption> </figure> </div> <p>Spanners are block-level boxes therefore the margins of two adjacent spanners will collapse with each other. The margins of two spanners separated only by an absolutely positioned item will collapse with each other, as absolutely positioned items do not create column boxes. As column boxes establish a new <a data-link-type="dfn" href="https://www.w3.org/TR/css-display-3/#block-formatting-context" id="ref-for-block-formatting-context④">block formatting context</a>, margins on elements inside a column box will not collapse with the margin of a spanner.</p> <details class="wpt-tests-block" dir="ltr" lang="en"> <summary>Tests</summary> <ul class="wpt-tests-list"> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/non-adjacent-spanners-000.html" title="css/css-multicol/non-adjacent-spanners-000.html">non-adjacent-spanners-000.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/non-adjacent-spanners-000.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/non-adjacent-spanners-000.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/non-adjacent-spanners-001.html" title="css/css-multicol/non-adjacent-spanners-001.html">non-adjacent-spanners-001.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/non-adjacent-spanners-001.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/non-adjacent-spanners-001.html"><small>(source)</small></a> </ul> </details> <div class="example" id="example-f82c16c7"> <a class="self-link" href="#example-f82c16c7"></a> Spanners establish new <a data-link-type="dfn" href="https://www.w3.org/TR/css-display-3/#formatting-context" id="ref-for-formatting-context②">formatting contexts</a>, but their margins can be changed by their surroundings. In this example, two spanners naturally end up at the top of a page. The top margin of the first spanner is truncated due to adjoining an unforced break. The margins between the two spanners collapse with each other. However, the bottom margin of the second spanner does not collapse with the top margin of the subsequent element. <pre class="highlight">h2 <c- p>{</c-> <c- k>margin</c-><c- p>:</c-> <c- m>16</c-><c- k>px</c-> <c- m>0</c-><c- p>;</c-> <c- k>column-span</c-><c- p>:</c-> all<c- p>;</c-> <c- k>background</c-><c- p>:</c-> silver <c- p>}</c-> p <c- p>{</c-> <c- k>margin-top</c-><c- p>:</c-> <c- m>16</c-><c- k>px</c-> <c- p>}</c-> </pre> <figure> <img alt="Two spanning elements after a page break" src="images/two-spanners-margin-no-collapse.svg"> <figcaption>Margins collapse between two spanning elements, but not the bottom margin of a spanner and top margin of next element.</figcaption> </figure> </div> <details class="wpt-tests-block" dir="ltr" lang="en"> <summary>Tests</summary> <p>Additional tests relating to spanners.</p> <ul class="wpt-tests-list"> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/abspos-in-multicol-with-spanner-crash.html" title="css/css-multicol/abspos-in-multicol-with-spanner-crash.html">abspos-in-multicol-with-spanner-crash.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/abspos-in-multicol-with-spanner-crash.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/abspos-in-multicol-with-spanner-crash.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/crashtests/body-becomes-spanner-html-becomes-vertical-rl.html" title="css/css-multicol/crashtests/body-becomes-spanner-html-becomes-vertical-rl.html">body-becomes-spanner-html-becomes-vertical-rl.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/crashtests/body-becomes-spanner-html-becomes-vertical-rl.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/crashtests/body-becomes-spanner-html-becomes-vertical-rl.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/crashtests/fit-content-with-spanner-and-auto-scrollbar-sibling.html" title="css/css-multicol/crashtests/fit-content-with-spanner-and-auto-scrollbar-sibling.html">fit-content-with-spanner-and-auto-scrollbar-sibling.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/crashtests/fit-content-with-spanner-and-auto-scrollbar-sibling.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/crashtests/fit-content-with-spanner-and-auto-scrollbar-sibling.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/crashtests/float-becomes-non-float-spanner-surprises-inside.html" title="css/css-multicol/crashtests/float-becomes-non-float-spanner-surprises-inside.html">float-becomes-non-float-spanner-surprises-inside.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/crashtests/float-becomes-non-float-spanner-surprises-inside.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/crashtests/float-becomes-non-float-spanner-surprises-inside.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/crashtests/float-becomes-spanner.html" title="css/css-multicol/crashtests/float-becomes-spanner.html">float-becomes-spanner.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/crashtests/float-becomes-spanner.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/crashtests/float-becomes-spanner.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/crashtests/multicol-floats-after-column-span-crash.html" title="css/css-multicol/crashtests/multicol-floats-after-column-span-crash.html">multicol-floats-after-column-span-crash.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/crashtests/multicol-floats-after-column-span-crash.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/crashtests/multicol-floats-after-column-span-crash.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/crashtests/negative-margin-on-column-spanner.html" title="css/css-multicol/crashtests/negative-margin-on-column-spanner.html">negative-margin-on-column-spanner.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/crashtests/negative-margin-on-column-spanner.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/crashtests/negative-margin-on-column-spanner.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/crashtests/nested-spanner-with-negative-margin.html" title="css/css-multicol/crashtests/nested-spanner-with-negative-margin.html">nested-spanner-with-negative-margin.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/crashtests/nested-spanner-with-negative-margin.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/crashtests/nested-spanner-with-negative-margin.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/crashtests/oof-becomes-spanner.html" title="css/css-multicol/crashtests/oof-becomes-spanner.html">oof-becomes-spanner.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/crashtests/oof-becomes-spanner.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/crashtests/oof-becomes-spanner.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/crashtests/oof-in-additional-column-before-spanner.html" title="css/css-multicol/crashtests/oof-in-additional-column-before-spanner.html">oof-in-additional-column-before-spanner.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/crashtests/oof-in-additional-column-before-spanner.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/crashtests/oof-in-additional-column-before-spanner.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/crashtests/relpos-spanner-with-spanner-child-becomes-regular.html" title="css/css-multicol/crashtests/relpos-spanner-with-spanner-child-becomes-regular.html">relpos-spanner-with-spanner-child-becomes-regular.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/crashtests/relpos-spanner-with-spanner-child-becomes-regular.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/crashtests/relpos-spanner-with-spanner-child-becomes-regular.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/crashtests/remove-spanner-after-spanner-in-inline-before-inline.html" title="css/css-multicol/crashtests/remove-spanner-after-spanner-in-inline-before-inline.html">remove-spanner-after-spanner-in-inline-before-inline.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/crashtests/remove-spanner-after-spanner-in-inline-before-inline.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/crashtests/remove-spanner-after-spanner-in-inline-before-inline.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/crashtests/remove-spanner-in-table-caption-nested-multicol.html" title="css/css-multicol/crashtests/remove-spanner-in-table-caption-nested-multicol.html">remove-spanner-in-table-caption-nested-multicol.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/crashtests/remove-spanner-in-table-caption-nested-multicol.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/crashtests/remove-spanner-in-table-caption-nested-multicol.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/crashtests/restricted-height-bottom-border-overflow-and-spanner.html" title="css/css-multicol/crashtests/restricted-height-bottom-border-overflow-and-spanner.html">restricted-height-bottom-border-overflow-and-spanner.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/crashtests/restricted-height-bottom-border-overflow-and-spanner.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/crashtests/restricted-height-bottom-border-overflow-and-spanner.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/crashtests/scrollable-spanner-in-nested.html" title="css/css-multicol/crashtests/scrollable-spanner-in-nested.html">scrollable-spanner-in-nested.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/crashtests/scrollable-spanner-in-nested.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/crashtests/scrollable-spanner-in-nested.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/crashtests/spanner-after-parallel-flow.html" title="css/css-multicol/crashtests/spanner-after-parallel-flow.html">spanner-after-parallel-flow.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/crashtests/spanner-after-parallel-flow.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/crashtests/spanner-after-parallel-flow.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/crashtests/spanner-in-inline-after-very-tall-content-001.html" title="css/css-multicol/crashtests/spanner-in-inline-after-very-tall-content-001.html">spanner-in-inline-after-very-tall-content-001.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/crashtests/spanner-in-inline-after-very-tall-content-001.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/crashtests/spanner-in-inline-after-very-tall-content-001.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/crashtests/spanner-in-inline-after-very-tall-content-002.html" title="css/css-multicol/crashtests/spanner-in-inline-after-very-tall-content-002.html">spanner-in-inline-after-very-tall-content-002.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/crashtests/spanner-in-inline-after-very-tall-content-002.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/crashtests/spanner-in-inline-after-very-tall-content-002.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/crashtests/spanner-in-overflowed-container-before-float.html" title="css/css-multicol/crashtests/spanner-in-overflowed-container-before-float.html">spanner-in-overflowed-container-before-float.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/crashtests/spanner-in-overflowed-container-before-float.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/crashtests/spanner-in-overflowed-container-before-float.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/crashtests/nested-with-tall-padding-and-spanner-and-content.html" title="css/css-multicol/crashtests/nested-with-tall-padding-and-spanner-and-content.html">nested-with-tall-padding-and-spanner-and-content.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/crashtests/nested-with-tall-padding-and-spanner-and-content.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/crashtests/nested-with-tall-padding-and-spanner-and-content.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/crashtests/specified-height-with-just-spanner-and-oof.html" title="css/css-multicol/crashtests/specified-height-with-just-spanner-and-oof.html">specified-height-with-just-spanner-and-oof.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/crashtests/specified-height-with-just-spanner-and-oof.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/crashtests/specified-height-with-just-spanner-and-oof.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/crashtests/trailing-parent-padding-between-spanners.html" title="css/css-multicol/crashtests/trailing-parent-padding-between-spanners.html">trailing-parent-padding-between-spanners.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/crashtests/trailing-parent-padding-between-spanners.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/crashtests/trailing-parent-padding-between-spanners.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/crashtests/table-caption-change-descendant-display-type.html" title="css/css-multicol/crashtests/table-caption-change-descendant-display-type.html">table-caption-change-descendant-display-type.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/crashtests/table-caption-change-descendant-display-type.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/crashtests/table-caption-change-descendant-display-type.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/crashtests/table-caption-inline-block-remove-child.html" title="css/css-multicol/crashtests/table-caption-inline-block-remove-child.html">table-caption-inline-block-remove-child.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/crashtests/table-caption-inline-block-remove-child.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/crashtests/table-caption-inline-block-remove-child.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/remove-block-beside-spanner-in-inline-crash.html" title="css/css-multicol/remove-block-beside-spanner-in-inline-crash.html">remove-block-beside-spanner-in-inline-crash.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/remove-block-beside-spanner-in-inline-crash.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/remove-block-beside-spanner-in-inline-crash.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/remove-inline-with-block-beside-spanners-crash.html" title="css/css-multicol/remove-inline-with-block-beside-spanners-crash.html">remove-inline-with-block-beside-spanners-crash.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/remove-inline-with-block-beside-spanners-crash.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/remove-inline-with-block-beside-spanners-crash.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/remove-spanner-beside-spanner-in-inline-crash.html" title="css/css-multicol/remove-spanner-beside-spanner-in-inline-crash.html">remove-spanner-beside-spanner-in-inline-crash.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/remove-spanner-beside-spanner-in-inline-crash.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/remove-spanner-beside-spanner-in-inline-crash.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/spanning-legend-000-crash.html" title="css/css-multicol/spanning-legend-000-crash.html">spanning-legend-000-crash.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/spanning-legend-000-crash.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/spanning-legend-000-crash.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/spanning-legend-001-crash.html" title="css/css-multicol/spanning-legend-001-crash.html">spanning-legend-001-crash.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/spanning-legend-001-crash.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/spanning-legend-001-crash.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/toggle-spanner-float-crash.html" title="css/css-multicol/toggle-spanner-float-crash.html">toggle-spanner-float-crash.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/toggle-spanner-float-crash.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/toggle-spanner-float-crash.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/abspos-after-spanner-static-pos.html" title="css/css-multicol/abspos-after-spanner-static-pos.html">abspos-after-spanner-static-pos.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/abspos-after-spanner-static-pos.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/abspos-after-spanner-static-pos.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/abspos-after-spanner.html" title="css/css-multicol/abspos-after-spanner.html">abspos-after-spanner.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/abspos-after-spanner.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/abspos-after-spanner.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/abspos-containing-block-outside-spanner.html" title="css/css-multicol/abspos-containing-block-outside-spanner.html">abspos-containing-block-outside-spanner.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/abspos-containing-block-outside-spanner.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/abspos-containing-block-outside-spanner.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/change-transform-in-spanner.html" title="css/css-multicol/change-transform-in-spanner.html">change-transform-in-spanner.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/change-transform-in-spanner.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/change-transform-in-spanner.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/nested-with-padding-and-spanner.html" title="css/css-multicol/nested-with-padding-and-spanner.html">nested-with-padding-and-spanner.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/nested-with-padding-and-spanner.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/nested-with-padding-and-spanner.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/orthogonal-writing-mode-spanner.html" title="css/css-multicol/orthogonal-writing-mode-spanner.html">orthogonal-writing-mode-spanner.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/orthogonal-writing-mode-spanner.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/orthogonal-writing-mode-spanner.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/remove-inline-with-block-beside-spanners.html" title="css/css-multicol/remove-inline-with-block-beside-spanners.html">remove-inline-with-block-beside-spanners.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/remove-inline-with-block-beside-spanners.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/remove-inline-with-block-beside-spanners.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/replaced-content-spanner-auto-width.html" title="css/css-multicol/replaced-content-spanner-auto-width.html">replaced-content-spanner-auto-width.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/replaced-content-spanner-auto-width.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/replaced-content-spanner-auto-width.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/spanner-in-child-after-parallel-flow-001.html" title="css/css-multicol/spanner-in-child-after-parallel-flow-001.html">spanner-in-child-after-parallel-flow-001.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/spanner-in-child-after-parallel-flow-001.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/spanner-in-child-after-parallel-flow-001.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/spanner-in-child-after-parallel-flow-002.html" title="css/css-multicol/spanner-in-child-after-parallel-flow-002.html">spanner-in-child-after-parallel-flow-002.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/spanner-in-child-after-parallel-flow-002.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/spanner-in-child-after-parallel-flow-002.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/spanner-in-child-after-parallel-flow-003.html" title="css/css-multicol/spanner-in-child-after-parallel-flow-003.html">spanner-in-child-after-parallel-flow-003.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/spanner-in-child-after-parallel-flow-003.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/spanner-in-child-after-parallel-flow-003.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/spanner-in-child-after-parallel-flow-004.html" title="css/css-multicol/spanner-in-child-after-parallel-flow-004.html">spanner-in-child-after-parallel-flow-004.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/spanner-in-child-after-parallel-flow-004.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/spanner-in-child-after-parallel-flow-004.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/spanner-in-opacity.html" title="css/css-multicol/spanner-in-opacity.html">spanner-in-opacity.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/spanner-in-opacity.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/spanner-in-opacity.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/going-out-of-flow-after-spanner.html" title="css/css-multicol/going-out-of-flow-after-spanner.html">going-out-of-flow-after-spanner.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/going-out-of-flow-after-spanner.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/going-out-of-flow-after-spanner.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/crashtests/inline-with-spanner-in-overflowed-container-before-multicol-float.html" title="css/css-multicol/crashtests/inline-with-spanner-in-overflowed-container-before-multicol-float.html">inline-with-spanner-in-overflowed-container-before-multicol-float.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/crashtests/inline-with-spanner-in-overflowed-container-before-multicol-float.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/crashtests/inline-with-spanner-in-overflowed-container-before-multicol-float.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/crashtests/spanner-in-overflowed-clipped-container.html" title="css/css-multicol/crashtests/spanner-in-overflowed-clipped-container.html">spanner-in-overflowed-clipped-container.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/crashtests/spanner-in-overflowed-clipped-container.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/crashtests/spanner-in-overflowed-clipped-container.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/crashtests/spanner-in-overflowed-container-before-inline-content.html" title="css/css-multicol/crashtests/spanner-in-overflowed-container-before-inline-content.html">spanner-in-overflowed-container-before-inline-content.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/crashtests/spanner-in-overflowed-container-before-inline-content.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/crashtests/spanner-in-overflowed-container-before-inline-content.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/crashtests/spanner-inside-inline-in-overflowed-container.html" title="css/css-multicol/crashtests/spanner-inside-inline-in-overflowed-container.html">spanner-inside-inline-in-overflowed-container.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/crashtests/spanner-inside-inline-in-overflowed-container.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/crashtests/spanner-inside-inline-in-overflowed-container.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/parsing/column-span-valid.html" title="css/css-multicol/parsing/column-span-valid.html">column-span-valid.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/parsing/column-span-valid.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/parsing/column-span-valid.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/parsing/column-span-computed.html" title="css/css-multicol/parsing/column-span-computed.html">column-span-computed.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/parsing/column-span-computed.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/parsing/column-span-computed.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/getclientrects-000.html" title="css/css-multicol/getclientrects-000.html">getclientrects-000.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/getclientrects-000.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/getclientrects-000.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/getclientrects-001.html" title="css/css-multicol/getclientrects-001.html">getclientrects-001.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/getclientrects-001.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/getclientrects-001.html"><small>(source)</small></a> </ul> <hr> </details> <h2 class="heading settled" data-level="7" id="filling-columns"><span class="secno">7. </span><span class="content"> Filling Columns</span><a class="self-link" href="#filling-columns"></a></h2> <p>There are two strategies for filling columns: columns can either be balanced, or not. If columns are balanced, user agents should try to minimize variations in column height, while honoring forced breaks, <a class="property css" data-link-type="property" href="https://www.w3.org/TR/css-break-4/#propdef-widows" id="ref-for-propdef-widows">widows</a> and <a class="property css" data-link-type="property" href="https://www.w3.org/TR/css-break-3/#propdef-orphans" id="ref-for-propdef-orphans">orphans</a>, and other properties that may affect column heights. If columns are not balanced, they are filled sequentially; some columns may end up partially filled, or with no content at all.</p> <h3 class="heading settled" data-level="7.1" id="cf"><span class="secno">7.1. </span><span class="content">Column Balancing: the <a class="property css" data-link-type="property" href="#propdef-column-fill" id="ref-for-propdef-column-fill①">column-fill</a> property</span><a class="self-link" href="#cf"></a></h3> <table class="def propdef" data-link-for-hint="column-fill"> <tbody> <tr> <th>Name: <td><dfn class="dfn-paneled css" data-dfn-type="property" data-export id="propdef-column-fill">column-fill</dfn> <tr class="value"> <th><a href="https://www.w3.org/TR/css-values/#value-defs">Value:</a> <td class="prod">auto <a data-link-type="grammar" href="https://www.w3.org/TR/css-values-4/#comb-one" id="ref-for-comb-one③">|</a> balance <span id="ref-for-comb-one④">|</span> balance-all <tr> <th><a href="https://www.w3.org/TR/css-cascade/#initial-values">Initial:</a> <td>balance <tr> <th><a href="https://www.w3.org/TR/css-cascade/#applies-to">Applies to:</a> <td>multicol containers <tr> <th><a href="https://www.w3.org/TR/css-cascade/#inherited-property">Inherited:</a> <td>no <tr> <th><a href="https://www.w3.org/TR/css-values/#percentages">Percentages:</a> <td>N/A <tr> <th><a href="https://www.w3.org/TR/css-cascade/#computed">Computed value:</a> <td>specified keyword <tr> <th><a href="https://www.w3.org/TR/cssom/#serializing-css-values">Canonical order:</a> <td>per grammar <tr> <th><a href="https://www.w3.org/TR/web-animations/#animation-type">Animation type:</a> <td>discrete </table> <p>This property specifies whether content in a <a data-link-type="dfn" href="#multi-column-line" id="ref-for-multi-column-line⑧">multi-column line</a> that does <em>not</em> immediately precede a <a data-link-type="dfn" href="#multi-column-spanner" id="ref-for-multi-column-spanner④">spanner</a> is balanced across columns or not.</p> <details class="wpt-tests-block" dir="ltr" lang="en"> <summary>Tests</summary> <ul class="wpt-tests-list"> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/always-balancing-before-column-span.html" title="css/css-multicol/always-balancing-before-column-span.html">always-balancing-before-column-span.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/always-balancing-before-column-span.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/always-balancing-before-column-span.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/no-balancing-after-column-span.html" title="css/css-multicol/no-balancing-after-column-span.html">no-balancing-after-column-span.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/no-balancing-after-column-span.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/no-balancing-after-column-span.html"><small>(source)</small></a> </ul> </details> <p>The values are:</p> <dl> <dt><dfn class="dfn-paneled css" data-dfn-for="column-fill" data-dfn-type="value" data-export id="valdef-column-fill-balance">balance</dfn> <dd> Balance content equally between columns, as far as possible. In fragmented contexts, only the last fragment is balanced. <details class="wpt-tests-block" dir="ltr" lang="en"> <summary>Tests</summary> <ul class="wpt-tests-list"> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-fill-000.xht" title="css/css-multicol/multicol-fill-000.xht">multicol-fill-000.xht</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-fill-000.xht"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-fill-000.xht"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-fill-001.xht" title="css/css-multicol/multicol-fill-001.xht">multicol-fill-001.xht</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-fill-001.xht"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-fill-001.xht"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/parsing/column-fill-invalid.html" title="css/css-multicol/parsing/column-fill-invalid.html">column-fill-invalid.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/parsing/column-fill-invalid.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/parsing/column-fill-invalid.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/parsing/column-fill-valid.html" title="css/css-multicol/parsing/column-fill-valid.html">column-fill-valid.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/parsing/column-fill-valid.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/parsing/column-fill-valid.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/parsing/column-fill-computed.html" title="css/css-multicol/parsing/column-fill-computed.html">column-fill-computed.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/parsing/column-fill-computed.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/parsing/column-fill-computed.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/column-fill-balance-orthog-block-001.html" title="css/css-multicol/column-fill-balance-orthog-block-001.html">column-fill-balance-orthog-block-001.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/column-fill-balance-orthog-block-001.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/column-fill-balance-orthog-block-001.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/column-balancing-paged-001-print.html" title="css/css-multicol/column-balancing-paged-001-print.html">column-balancing-paged-001-print.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/column-balancing-paged-001-print.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/column-balancing-paged-001-print.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-fill-balance-001.xht" title="css/css-multicol/multicol-fill-balance-001.xht">multicol-fill-balance-001.xht</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-fill-balance-001.xht"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-fill-balance-001.xht"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-fill-balance-002.html" title="css/css-multicol/multicol-fill-balance-002.html">multicol-fill-balance-002.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-fill-balance-002.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-fill-balance-002.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-fill-balance-003.html" title="css/css-multicol/multicol-fill-balance-003.html">multicol-fill-balance-003.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-fill-balance-003.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-fill-balance-003.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-fill-balance-004.html" title="css/css-multicol/multicol-fill-balance-004.html">multicol-fill-balance-004.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-fill-balance-004.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-fill-balance-004.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-fill-balance-005.html" title="css/css-multicol/multicol-fill-balance-005.html">multicol-fill-balance-005.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-fill-balance-005.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-fill-balance-005.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-fill-balance-006.html" title="css/css-multicol/multicol-fill-balance-006.html">multicol-fill-balance-006.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-fill-balance-006.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-fill-balance-006.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-fill-balance-007.html" title="css/css-multicol/multicol-fill-balance-007.html">multicol-fill-balance-007.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-fill-balance-007.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-fill-balance-007.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-fill-balance-008.html" title="css/css-multicol/multicol-fill-balance-008.html">multicol-fill-balance-008.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-fill-balance-008.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-fill-balance-008.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-fill-balance-009.html" title="css/css-multicol/multicol-fill-balance-009.html">multicol-fill-balance-009.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-fill-balance-009.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-fill-balance-009.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-fill-balance-010.html" title="css/css-multicol/multicol-fill-balance-010.html">multicol-fill-balance-010.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-fill-balance-010.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-fill-balance-010.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-fill-balance-011.html" title="css/css-multicol/multicol-fill-balance-011.html">multicol-fill-balance-011.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-fill-balance-011.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-fill-balance-011.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-fill-balance-012.html" title="css/css-multicol/multicol-fill-balance-012.html">multicol-fill-balance-012.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-fill-balance-012.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-fill-balance-012.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-fill-balance-013.html" title="css/css-multicol/multicol-fill-balance-013.html">multicol-fill-balance-013.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-fill-balance-013.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-fill-balance-013.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-fill-balance-014.html" title="css/css-multicol/multicol-fill-balance-014.html">multicol-fill-balance-014.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-fill-balance-014.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-fill-balance-014.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-fill-balance-015.html" title="css/css-multicol/multicol-fill-balance-015.html">multicol-fill-balance-015.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-fill-balance-015.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-fill-balance-015.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-fill-balance-016.html" title="css/css-multicol/multicol-fill-balance-016.html">multicol-fill-balance-016.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-fill-balance-016.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-fill-balance-016.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-fill-balance-018.html" title="css/css-multicol/multicol-fill-balance-018.html">multicol-fill-balance-018.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-fill-balance-018.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-fill-balance-018.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-fill-balance-019.html" title="css/css-multicol/multicol-fill-balance-019.html">multicol-fill-balance-019.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-fill-balance-019.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-fill-balance-019.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-fill-balance-020.html" title="css/css-multicol/multicol-fill-balance-020.html">multicol-fill-balance-020.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-fill-balance-020.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-fill-balance-020.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-fill-balance-021.html" title="css/css-multicol/multicol-fill-balance-021.html">multicol-fill-balance-021.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-fill-balance-021.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-fill-balance-021.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-fill-balance-022.html" title="css/css-multicol/multicol-fill-balance-022.html">multicol-fill-balance-022.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-fill-balance-022.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-fill-balance-022.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-fill-balance-023.html" title="css/css-multicol/multicol-fill-balance-023.html">multicol-fill-balance-023.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-fill-balance-023.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-fill-balance-023.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-fill-balance-024.html" title="css/css-multicol/multicol-fill-balance-024.html">multicol-fill-balance-024.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-fill-balance-024.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-fill-balance-024.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-fill-balance-025.html" title="css/css-multicol/multicol-fill-balance-025.html">multicol-fill-balance-025.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-fill-balance-025.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-fill-balance-025.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-fill-balance-026.html" title="css/css-multicol/multicol-fill-balance-026.html">multicol-fill-balance-026.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-fill-balance-026.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-fill-balance-026.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-fill-balance-027.html" title="css/css-multicol/multicol-fill-balance-027.html">multicol-fill-balance-027.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-fill-balance-027.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-fill-balance-027.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-fill-balance-028.html" title="css/css-multicol/multicol-fill-balance-028.html">multicol-fill-balance-028.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-fill-balance-028.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-fill-balance-028.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-fill-balance-nested-000.html" title="css/css-multicol/multicol-fill-balance-nested-000.html">multicol-fill-balance-nested-000.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-fill-balance-nested-000.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-fill-balance-nested-000.html"><small>(source)</small></a> </ul> </details> <dt><dfn class="dfn-paneled css" data-dfn-for="column-fill" data-dfn-type="value" data-export id="valdef-column-fill-balance-all">balance-all</dfn> <dd> Balance content equally between columns, as far as possible. In fragmented contexts, all fragments are balanced. <dt><dfn class="dfn-paneled css" data-dfn-for="column-fill" data-dfn-type="value" data-export id="valdef-column-fill-auto">auto</dfn> <dd> fill columns sequentially <details class="wpt-tests-block" dir="ltr" lang="en"> <summary>Tests</summary> <ul class="wpt-tests-list"> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-fill-auto-001.xht" title="css/css-multicol/multicol-fill-auto-001.xht">multicol-fill-auto-001.xht</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-fill-auto-001.xht"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-fill-auto-001.xht"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-fill-auto-002.xht" title="css/css-multicol/multicol-fill-auto-002.xht">multicol-fill-auto-002.xht</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-fill-auto-002.xht"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-fill-auto-002.xht"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-fill-auto-003.xht" title="css/css-multicol/multicol-fill-auto-003.xht">multicol-fill-auto-003.xht</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-fill-auto-003.xht"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-fill-auto-003.xht"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-fill-auto-004.html" title="css/css-multicol/multicol-fill-auto-004.html">multicol-fill-auto-004.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-fill-auto-004.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-fill-auto-004.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-fill-auto-block-children-001.xht" title="css/css-multicol/multicol-fill-auto-block-children-001.xht">multicol-fill-auto-block-children-001.xht</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-fill-auto-block-children-001.xht"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-fill-auto-block-children-001.xht"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-fill-auto-block-children-002.xht" title="css/css-multicol/multicol-fill-auto-block-children-002.xht">multicol-fill-auto-block-children-002.xht</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-fill-auto-block-children-002.xht"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-fill-auto-block-children-002.xht"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-fill-auto-block-children-003.html" title="css/css-multicol/multicol-fill-auto-block-children-003.html">multicol-fill-auto-block-children-003.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-fill-auto-block-children-003.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-fill-auto-block-children-003.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/columnfill-auto-max-height-001.html" title="css/css-multicol/columnfill-auto-max-height-001.html">columnfill-auto-max-height-001.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/columnfill-auto-max-height-001.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/columnfill-auto-max-height-001.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/columnfill-auto-max-height-002.html" title="css/css-multicol/columnfill-auto-max-height-002.html">columnfill-auto-max-height-002.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/columnfill-auto-max-height-002.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/columnfill-auto-max-height-002.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/columnfill-auto-max-height-003.html" title="css/css-multicol/columnfill-auto-max-height-003.html">columnfill-auto-max-height-003.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/columnfill-auto-max-height-003.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/columnfill-auto-max-height-003.html"><small>(source)</small></a> </ul> </details> </dl> <p>In continuous contexts, this property does not have any effect when there are overflow columns.</p> <div class="example" id="example-0143ee45"> <a class="self-link" href="#example-0143ee45"></a> In this example, an article only has one short paragraph which fits on three lines. The three lines are displayed in three different columns due to column balancing. <pre class="highlight">article <c- p>{</c-> <c- k>width</c-><c- p>:</c-> <c- m>60</c-><c- k>em</c-><c- p>;</c-> <c- k>height</c-><c- p>:</c-> auto<c- p>;</c-> <c- k>columns</c-><c- p>:</c-> <c- m>4</c-><c- p>;</c-> <c- k>column-fill</c-><c- p>:</c-> balance<c- p>;</c-> <c- p>}</c-> </pre> <figure> <img alt="Four columns, the first three have content." src="images/column-balancing-one-paragraph.svg"> <figcaption>Three lines displayed in three columns due to column balancing.</figcaption> </figure> </div> <div class="example" id="example-8e97de73"> <a class="self-link" href="#example-8e97de73"></a> In this example, column balancing is turned off, and the article has a height: <pre class="highlight">article <c- p>{</c-> <c- k>width</c-><c- p>:</c-> <c- m>60</c-><c- k>em</c-><c- p>;</c-> <c- k>height</c-><c- p>:</c-> <c- m>4</c-><c- k>em</c-><c- p>;</c-> <c- k>columns</c-><c- p>:</c-> <c- m>4</c-><c- p>;</c-> <c- k>column-fill</c-><c- p>:</c-> auto<c- p>;</c-> <c- p>}</c-> </pre> <p>As a result, the first column is filled with all content:</p> <figure> <img alt="Four columns, the first one has content." src="images/no-column-balancing-one-paragraph.svg"> <figcaption>No balancing so the whole text is shown in one paragraph.</figcaption> </figure> </div> <div class="example" id="example-0c7abc2c"> <a class="self-link" href="#example-0c7abc2c"></a> In this example, an article has two paragraphs: first a long one, then a shorter one. This code is applied: <pre class="highlight">article <c- p>{</c-> <c- k>width</c-><c- p>:</c-> <c- m>60</c-><c- k>em</c-><c- p>;</c-> <c- k>height</c-><c- p>:</c-> auto<c- p>;</c-> <c- k>columns</c-><c- p>:</c-> <c- m>4</c-><c- p>;</c-> <c- k>column-fill</c-><c- p>:</c-> balance<c- p>;</c-> <c- p>}</c-> p <c- p>{</c-> <c- k>break-after</c-><c- p>:</c-> column<c- p>;</c-> <c- p>}</c-> </pre> <p>The shortest column height possible contains five lines of text. After the column height has been established, columns are filled sequentially. As a result, the third column is as high as the first two columns, while the last column ends up being significantly shorter.</p> <figure> <img alt="Four columns, all have content." src="images/column-balancing-with-column-break.svg"> <figcaption>Once column height is established, columns are filled sequentially.</figcaption> </figure> </div> <div class="example" id="example-3b949a54"> <a class="self-link" href="#example-3b949a54"></a> <pre class="highlight">article <c- p>{</c-> <c- k>width</c-><c- p>:</c-> <c- m>60</c-><c- k>em</c-><c- p>;</c-> <c- k>height</c-><c- p>:</c-> auto<c- p>;</c-> <c- k>columns</c-><c- p>:</c-> <c- m>4</c-><c- p>;</c-> <c- k>column-fill</c-><c- p>:</c-> balance<c- p>;</c-> <c- p>}</c-> </pre> <p>In this example, an article starts with an unbreakable figure which sets the column height. Subsequent content is filled sequentially into the remaining columns:</p> <figure> <img alt="Column one contains an image, two and three have content." src="images/column-balancing-with-figure.svg"> <figcaption>Column height is established by the figure.</figcaption> </figure> </div> <details class="wpt-tests-block" dir="ltr" lang="en"> <summary>Tests</summary> <p>Tests relating to column balancing in combination with out-of-flow elements.</p> <ul class="wpt-tests-list"> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/column-balancing-with-span-and-oof-001.html" title="css/css-multicol/column-balancing-with-span-and-oof-001.html">column-balancing-with-span-and-oof-001.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/column-balancing-with-span-and-oof-001.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/column-balancing-with-span-and-oof-001.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/column-balancing-with-span-and-oof-002.html" title="css/css-multicol/column-balancing-with-span-and-oof-002.html">column-balancing-with-span-and-oof-002.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/column-balancing-with-span-and-oof-002.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/column-balancing-with-span-and-oof-002.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/crashtests/forced-break-in-oof-in-column-balancing-nested.html" title="css/css-multicol/crashtests/forced-break-in-oof-in-column-balancing-nested.html">forced-break-in-oof-in-column-balancing-nested.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/crashtests/forced-break-in-oof-in-column-balancing-nested.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/crashtests/forced-break-in-oof-in-column-balancing-nested.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/crashtests/forced-break-in-oof-in-column-balancing.html" title="css/css-multicol/crashtests/forced-break-in-oof-in-column-balancing.html">forced-break-in-oof-in-column-balancing.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/crashtests/forced-break-in-oof-in-column-balancing.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/crashtests/forced-break-in-oof-in-column-balancing.html"><small>(source)</small></a> </ul> <hr> <p>Other tests relating to balancing</p> <ul class="wpt-tests-list"> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/balance-extremely-tall-monolithic-content-crash.html" title="css/css-multicol/balance-extremely-tall-monolithic-content-crash.html">balance-extremely-tall-monolithic-content-crash.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/balance-extremely-tall-monolithic-content-crash.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/balance-extremely-tall-monolithic-content-crash.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/column-balancing-with-overflow-auto-crash.html" title="css/css-multicol/column-balancing-with-overflow-auto-crash.html">column-balancing-with-overflow-auto-crash.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/column-balancing-with-overflow-auto-crash.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/column-balancing-with-overflow-auto-crash.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/balance-break-avoidance-000.html" title="css/css-multicol/balance-break-avoidance-000.html">balance-break-avoidance-000.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/balance-break-avoidance-000.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/balance-break-avoidance-000.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/balance-break-avoidance-001.html" title="css/css-multicol/balance-break-avoidance-001.html">balance-break-avoidance-001.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/balance-break-avoidance-001.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/balance-break-avoidance-001.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/balance-break-avoidance-002.html" title="css/css-multicol/balance-break-avoidance-002.html">balance-break-avoidance-002.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/balance-break-avoidance-002.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/balance-break-avoidance-002.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/balance-grid-container.html" title="css/css-multicol/balance-grid-container.html">balance-grid-container.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/balance-grid-container.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/balance-grid-container.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/balance-orphans-widows-000.html" title="css/css-multicol/balance-orphans-widows-000.html">balance-orphans-widows-000.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/balance-orphans-widows-000.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/balance-orphans-widows-000.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/crashtests/balance-with-forced-break.html" title="css/css-multicol/crashtests/balance-with-forced-break.html">balance-with-forced-break.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/crashtests/balance-with-forced-break.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/crashtests/balance-with-forced-break.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/crashtests/balancing-flex-item-trailing-margin-freeze.html" title="css/css-multicol/crashtests/balancing-flex-item-trailing-margin-freeze.html">balancing-flex-item-trailing-margin-freeze.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/crashtests/balancing-flex-item-trailing-margin-freeze.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/crashtests/balancing-flex-item-trailing-margin-freeze.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/crashtests/balancing-tall-borders-freeze.html" title="css/css-multicol/crashtests/balancing-tall-borders-freeze.html">balancing-tall-borders-freeze.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/crashtests/balancing-tall-borders-freeze.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/crashtests/balancing-tall-borders-freeze.html"><small>(source)</small></a> </ul> <hr> </details> <h2 class="heading settled" data-level="8" id="overflow"><span class="secno">8. </span><span class="content"> Overflow</span><a class="self-link" href="#overflow"></a></h2> <h3 class="heading settled" data-level="8.1" id="overflow-inside-multicol-elements"><span class="secno">8.1. </span><span class="content"> Overflow Inside Multicol Containers</span><a class="self-link" href="#overflow-inside-multicol-elements"></a></h3> <p>Except for cases where this would cause a column break, content that extends outside column boxes visibly overflows and is not clipped to the <a data-link-type="dfn" href="#column-box" id="ref-for-column-box⑦">column box</a>.</p> <p class="note" role="note"><span class="marker">Note:</span> See <a href="#column-breaks">§ 5 Column Breaks</a> for column breaks and <a href="#pagination-and-overflow-outside-multicol">§ 8.2 Pagination and Overflow Outside Multicol Containers</a> for whether it is clipped to the multi-column container’s content box.</p> <div class="example" id="example-276e0e20"> <a class="self-link" href="#example-276e0e20"></a> In this example, the image is wider than the column: <figure> <img alt="An imagine in the first column has visible overflow" src="images/image-overflow-not-clipped.svg"> <figcaption>Content visibly overflows and is not clipped to the column box.</figcaption> </figure> </div> <details class="wpt-tests-block" dir="ltr" lang="en"> <summary>Tests</summary> <ul class="wpt-tests-list"> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-block-no-clip-001.xht" title="css/css-multicol/multicol-block-no-clip-001.xht">multicol-block-no-clip-001.xht</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-block-no-clip-001.xht"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-block-no-clip-001.xht"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-block-no-clip-002.xht" title="css/css-multicol/multicol-block-no-clip-002.xht">multicol-block-no-clip-002.xht</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-block-no-clip-002.xht"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-block-no-clip-002.xht"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-clip-001.xht" title="css/css-multicol/multicol-clip-001.xht">multicol-clip-001.xht</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-clip-001.xht"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-clip-001.xht"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-clip-002.xht" title="css/css-multicol/multicol-clip-002.xht">multicol-clip-002.xht</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-clip-002.xht"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-clip-002.xht"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-clip-scrolled-content-001.html" title="css/css-multicol/multicol-clip-scrolled-content-001.html">multicol-clip-scrolled-content-001.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-clip-scrolled-content-001.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-clip-scrolled-content-001.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-overflow-clip-auto-sized.html" title="css/css-multicol/multicol-overflow-clip-auto-sized.html">multicol-overflow-clip-auto-sized.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-overflow-clip-auto-sized.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-overflow-clip-auto-sized.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-overflow-clip-positioned.html" title="css/css-multicol/multicol-overflow-clip-positioned.html">multicol-overflow-clip-positioned.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-overflow-clip-positioned.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-overflow-clip-positioned.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-overflow-clip.html" title="css/css-multicol/multicol-overflow-clip.html">multicol-overflow-clip.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-overflow-clip.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-overflow-clip.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/relative-child-overflowing-column-gap.html" title="css/css-multicol/relative-child-overflowing-column-gap.html">relative-child-overflowing-column-gap.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/relative-child-overflowing-column-gap.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/relative-child-overflowing-column-gap.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/relative-child-overflowing-container.html" title="css/css-multicol/relative-child-overflowing-container.html">relative-child-overflowing-container.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/relative-child-overflowing-container.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/relative-child-overflowing-container.html"><small>(source)</small></a> </ul> </details> <h3 class="heading settled" data-level="8.2" id="pagination-and-overflow-outside-multicol"><span class="secno">8.2. </span><span class="content"> Pagination and Overflow Outside Multicol Containers</span><a class="self-link" href="#pagination-and-overflow-outside-multicol"></a></h3> <p>Content and column rules that extend outside column boxes at the edges of the multi-column container are clipped according to the <a class="property css" data-link-type="property" href="https://www.w3.org/TR/css-overflow-3/#propdef-overflow" id="ref-for-propdef-overflow">overflow</a> property.</p> <p>A multicol container can have more columns than it has room for due to:</p> <ul> <li> a declaration that constrains the column height (e.g., using <a class="property css" data-link-type="property" href="https://www.w3.org/TR/css-sizing-3/#propdef-height" id="ref-for-propdef-height">height</a> or <a class="property css" data-link-type="property" href="https://www.w3.org/TR/css-sizing-3/#propdef-max-height" id="ref-for-propdef-max-height">max-height</a>). In this case, additional column boxes are created in the inline direction <li> the size of the page. In this case, additional column boxes are moved to the next page(s). <li> explicit column breaks. In this case, additional column boxes are created in the inline direction for continuous contexts and additional column boxes are moved to the next fragment(s) for fragmented media. <li> </ul> <details class="wpt-tests-block" dir="ltr" lang="en"> <summary>Tests</summary> <ul class="wpt-tests-list"> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-overflow-000.xht" title="css/css-multicol/multicol-overflow-000.xht">multicol-overflow-000.xht</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-overflow-000.xht"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-overflow-000.xht"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/multicol-overflowing-001.xht" title="css/css-multicol/multicol-overflowing-001.xht">multicol-overflowing-001.xht</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/multicol-overflowing-001.xht"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/multicol-overflowing-001.xht"><small>(source)</small></a> </ul> <p>Tests to check that a scrollable container isn't split across multiple columns.</p> <ul class="wpt-tests-list"> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/overflow-unsplittable-001.html" title="css/css-multicol/overflow-unsplittable-001.html">overflow-unsplittable-001.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/overflow-unsplittable-001.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/overflow-unsplittable-001.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/overflow-unsplittable-002.html" title="css/css-multicol/overflow-unsplittable-002.html">overflow-unsplittable-002.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/overflow-unsplittable-002.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/overflow-unsplittable-002.html"><small>(source)</small></a> <li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-multicol/overflow-unsplittable-003.html" title="css/css-multicol/overflow-unsplittable-003.html">overflow-unsplittable-003.html</a> <a class="wpt-live" href="http://wpt.live/css/css-multicol/overflow-unsplittable-003.html"><small>(live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-multicol/overflow-unsplittable-003.html"><small>(source)</small></a> </ul> <hr> </details> <p>Columns that appear outside the multicol container in continuous contexts are called <dfn class="dfn-paneled" data-dfn-type="dfn" data-export id="overflow-columns">overflow columns</dfn>. Overflow columns can affect the height of the multicol container.</p> <div class="example" id="example-a5e26f6e"> <a class="self-link" href="#example-a5e26f6e"></a> In this example, the height of the multi-column container has been constrained to a maximum height. Also, the style sheet specifies that overflowing content should be visible: <pre class="highlight">div <c- p>{</c-> <c- k>max-height</c-><c- p>:</c-> <c- m>5</c-><c- k>em</c-><c- p>;</c-> <c- k>overflow</c-><c- p>:</c-> visible<c- p>;</c-> <c- p>}</c-> </pre> <p>As a result, the number of columns is increased.</p> <figure> <img alt="Four columns, one outside the multicol container" src="images/height-constraint-overflow-inline.svg"> <figcaption>An overflow column is created in the inline direction.</figcaption> </figure> </div> <div class="example" id="example-6e5c350e"> <a class="self-link" href="#example-6e5c350e"></a> <p>In continuous contexts overflow columns can affect the height of the multicol container. In this example a column appears in the overflow which has four lines of text. The multicol container is made tall enough to accommodate this column.</p> <figure> <img alt="Four columns, overflow column is taller than the first three" src="images/overflow-column-effects-height.svg"> <figcaption>The final column is an overflow column yet is taller than the others. The container is tall enough for this column.</figcaption> </figure> </div> <div class="example" id="example-a048a782"> <a class="self-link" href="#example-a048a782"></a> In fragmented contexts, the overflow content goes into columns in subsequent fragments. Given the same content as in example 31 and a page box that only has room for five lines of formatted text, this would appear on the first page: <figure> <img alt="Three columns" src="images/pagination-overflow-page1.svg"> <figcaption>The first three paragraphs appear on page one.</figcaption> </figure> <p>Assuming column balancing, this would appear on the second page:</p> <figure> <img alt="Three columns" src="images/pagination-overflow-page2.svg"> <figcaption>The overflow column is moved onto page two.</figcaption> </figure> </div> <div class="example" id="example-da1d960a"> <a class="self-link" href="#example-da1d960a"></a> In this example, explicit column breaks are generated after paragraphs: <pre class="highlight">p <c- p>{</c-> <c- k>break-after</c-><c- p>:</c-> column<c- p>;</c-> <c- p>}</c-> </pre> <p>As a result, the number of columns increases and the extra columns are added in the inline direction:</p> <figure> <img alt="Four columns, one outside the multicol container" src="images/height-constraint-column-break-overflow-inline.svg"> <figcaption>An overflow column is created in the inline direction.</figcaption> </figure> </div> <div class="example" id="example-02cf1ca4"> <a class="self-link" href="#example-02cf1ca4"></a> In <a data-link-type="dfn" href="https://www.w3.org/TR/mediaqueries-5/#paged-media" id="ref-for-paged-media②">paged media</a>, extra columns are shown on the next page. Given the same code as the previous example, the last paragraph appears on the second page. This would appear on the first page: <figure> <img alt="Three columns" src="images/pagination-column-break-overflow-page1.svg"> <figcaption>The first three paragraphs appear on page one.</figcaption> </figure> <p>This would appear on the second page:</p> <figure> <img alt="Three columns" src="images/pagination-column-break-overflow-page2.svg"> <figcaption>The overflow column is moved onto page two.</figcaption> </figure> <p>Due to column balancing, the last paragraph is split across three columns.</p> </div> <h2 class="no-num heading settled" id="changes"><span class="content">Appendix B. Changes</span><a class="self-link" href="#changes"></a></h2> <p>This appendix is <em>informative</em>.</p> <h3 class="heading settled" id="changes-from-20211012"><span class="content">Changes from the <a href="https://www.w3.org/TR/2021/CR-css-multicol-1-20211012/">Candidate Recommendation (CR) of 12 October 2021</a></span><a class="self-link" href="#changes-from-20211012"></a></h3> <ul> <li>Added the text "and there is nothing between the spanning element and <a data-link-type="dfn" href="#multi-column-container" id="ref-for-multi-column-container②②">multicol container</a> that establishes a containing block for fixed position descendants." <a href="https://github.com/w3c/csswg-drafts/issues/6805#issuecomment-1063159219">Resolved 9 Mar 2022</a> </ul> <h3 class="heading settled" id="changes-from-20210212"><span class="content">Changes from the <a href="https://www.w3.org/TR/2021/WD-css-multicol-1-20210212/">Working Draft (WD) of 12 February 2021</a></span><a class="self-link" href="#changes-from-20210212"></a></h3> <ul> <li>Added the text "Out-of-flow descendants of a multi-column container do affect column balancing, and the block-size of the multi-column container." <a href="https://github.com/w3c/csswg-drafts/issues/6279#issuecomment-839912199">Resolved 12 May 2021</a> <li>Added the text, "The margins of two spanners separated only by an absolutely positioned item will collapse with each other, as absolutely positioned items do not create column boxes." <a href="https://github.com/w3c/csswg-drafts/issues/6265#issuecomment-839909999">Resolved 12 May 2021</a> <li>Adds an accessibility considerations section. <a href="https://github.com/w3c/csswg-drafts/issues/6283">Request from APA after review.</a> <li>Adds a note and example to make clear the manner in which columns are laid out in vertical writing modes. <a href="https://github.com/w3c/csswg-drafts/issues/6301">Request from i18n WG after review.</a> </ul> <h3 class="heading settled" id="changes-from-20191015"><span class="content">Changes from the <a href="https://www.w3.org/TR/2019/WD-css-multicol-1-20191015/">Working Draft (WD) of 15 October 2019</a></span><a class="self-link" href="#changes-from-20191015"></a></h3> <ul> <li>Added the text "The spanner becomes the containing block for absolutely positioned boxes inside the spanner where the spanning element establishes a containing block, otherwise the containing block chain goes to the multicol container.". <a href="https://github.com/w3c/csswg-drafts/issues/5612#issuecomment-715369246">Resolved 23 Oct 2020</a> <li>Adding the text "This property specifies whether content in a multi-column line that does <em>not</em> immediately precede a spanner is balanced across columns or not." <a href="https://github.com/w3c/csswg-drafts/issues/4689#issuecomment-621281467">Resolved 29 April 2020</a> </ul> <h3 class="heading settled" id="changes-from-20180528"><span class="content">Changes from the <a href="https://www.w3.org/TR/2018/WD-css-multicol-1-20180528/">Working Draft (WD) of 28 May 2018</a></span><a class="self-link" href="#changes-from-20180528"></a></h3> <ul> <li>Removed the non-normative text "However, as described below, setting both the width and number of columns rarely makes sense." Editorial 16 Sep 2019, <a href="https://github.com/w3c/csswg-drafts/issues/4291">issue 4291</a>. <li>Added the paragraph, "Spanners are block-level boxes therefore the margins of two adjacent spanners will collapse with each other. As column boxes establish a new <a data-link-type="dfn" href="https://www.w3.org/TR/css-display-3/#block-formatting-context" id="ref-for-block-formatting-context⑤">block formatting context</a>, margins on elements inside a column box will not collapse with the margin of a spanner." <a href="https://github.com/w3c/csswg-drafts/issues/2203#issuecomment-431783027">Resolved 22 Oct 2018</a>, see also the resolution for <a href="https://github.com/w3c/csswg-drafts/issues/2582#issuecomment-402619872">issue 2582</a>. <li>Clarified the spec to explain that a spanning element is taken out-of-flow, leaving a forced break. Added the paragraph, "A spanning element is taken out-of-flow, leaving a forced break. This does not affect the painting order of the spanning element." <a href="https://github.com/w3c/csswg-drafts/issues/1072#issuecomment-468087733">Resolved 28 Feb 2019</a>. <li>Moved the definition of the <a class="property css" data-link-type="property" href="https://www.w3.org/TR/css-align-3/#propdef-column-gap" id="ref-for-propdef-column-gap③">column-gap</a> property to <a data-link-type="biblio" href="#biblio-css3-align" title="CSS Box Alignment Module Level 3">[CSS3-ALIGN]</a> and added a paragraph detailing the specifics of <span class="property" id="ref-for-propdef-column-gap④">column-gap</span> in multicol: <br>"In a multi-column formatting context the used value of normal for the column-gap property is 1em. This ensures columns are readable when the initial values are used. If there is a column rule between columns, it will appear in the middle of the gap." <a href="https://github.com/w3c/csswg-drafts/issues/3641">Resolved 4 June 2019.</a> <li>Reworded the section <a href="#the-multi-column-model">The multi-column model</a>, based on input from Morten Stenshorne in <a href="https://github.com/w3c/csswg-drafts/issues/2203#issuecomment-431695940">issue 2203</a>. <li>Removed the at-risk marker from the length-percentage value for <a class="property css" data-link-type="property" href="https://www.w3.org/TR/css-align-3/#propdef-column-gap" id="ref-for-propdef-column-gap⑤">column-gap</a>. <a href="https://github.com/w3c/csswg-drafts/issues/3988">Resolved 4 June 2019.</a> <li>Updated the introduction to remove mention of the benefits of multicol over using tables for layout and instead refer to the unique characteristics of multicol. Editorial change referenced in <a href="https://github.com/w3c/csswg-drafts/issues/3654">issue 3654</a>. <li>Changed the sentence added in the pseudo-algorithm section after the 7 Jan 2016 resolution, to refer to <em>columns</em> and not <em>tracks</em> as tracks are not defined in this specification. Resolved <a href="https://github.com/w3c/csswg-drafts/issues/3649#issuecomment-472505520">13 March 2019</a>. <li>Changes and clarifications to the SVG images used in the specification. <li>Changed syntax to use bracketed range notation to reflect the prose restrictions on negative/non-zero values. </ul> <h3 class="heading settled" id="changes-from-20171005"><span class="content">Changes from the <a href="https://www.w3.org/TR/2017/WD-css-multicol-1-20171005/">Working Draft (WD) of 5 October 2017</a></span><a class="self-link" href="#changes-from-20171005"></a></h3> <ul> <li>Changed references to paged media to refer to fragmented contexts. Resolved <a href="https://github.com/w3c/csswg-drafts/issues/1746#issuecomment-380731574">12 Apr 2018</a>. <li>Changed a line regarding the <code>column-fill</code> property: <br><q>In continuous media, this property does not have any effect in overflow columns.</q> <br>To: <br><q>In continuous media, this property does not have any effect when there are overflow columns.</q> <a href="https://github.com/w3c/csswg-drafts/issues/2549">Resolved: 12 Apr 2018</a> <li>Add a line of text plus an example to show that overflow columns can affect the multicol container height. <a href="https://github.com/w3c/csswg-drafts/issues/1745">Resolved: 12 Apr 2018</a> <li>Replaced the HTML mock-up examples with SVG versions, as the examples were unclear. <a href="https://github.com/w3c/csswg-drafts/issues/1087">Issue 1087</a>. <li>Changed the value of normal for column-gap to be 1em, rather than a UA-specified length with a suggestion of 1em. <a href="https://github.com/w3c/csswg-drafts/issues/2145#issuecomment-378781507">Resolved: 4 Apr 2018</a> <li>Clarified that negative values are not allowed for column-width, and that while 0 may be specified, used values will be clamped to a minimum of 1px. <a href="https://github.com/w3c/csswg-drafts/issues/1741#issuecomment-373091628">Resolved: 14 Mar 2018</a> <li>Clarified that where there is a spanning element content is automatically balanced across all columns in the immediately preceding column row before the element appears. <a href="https://github.com/w3c/csswg-drafts/issues/1075">Resolved: 9 Nov 2017</a> <li>Added clarification plus an additional example that spanning elements may be lower the first level of descendants, and that in the case of margins, borders and padding on the element containing the spanning, this would be drawn above the spanner. <a href="https://github.com/w3c/csswg-drafts/issues/1072#issuecomment-342668025">Resolved: 8 Nov 2017</a> <li>Changed the sentence <q>Column rules are painted in the inline content layer, but below all inline content inside the multicol element.</q> to <q>Column rules are painted just above the border of the multicol element. For scrollable multicol elements, note that while the border and background of the multicol element obviously aren’t scrolled, the rules need to scroll along with the columns.</q> <a href="https://github.com/w3c/csswg-drafts/issues/1739#issuecomment-342659978">Resolved: 7 Nov 2017</a> <li>Under section The Multi-column Model, removed two sentences <q>That is, column boxes behave like block-level, table cell, and inline-block boxes as per CSS 2.1, section 10.1, item 2 CSS21. However, column boxes do not establish block container boxes for elements with <a class="css" data-link-type="propdesc" href="https://www.w3.org/TR/css-position-3/#propdef-position" id="ref-for-propdef-position③">position: fixed or position: absolute</a>.</q>. These were replaced with a clarification about the principal box and a new example showing how abspos elements refer to the multicol container. <a href="https://github.com/w3c/csswg-drafts/issues/1738#issuecomment-342661881">Resolved: 7 Nov 2017</a> <li>Removed the sentence "To indicate where column breaks should (or should not) appear, new keyword values are introduced." and following example (Example 7 in the WD published <a href="https://www.w3.org/TR/2017/WD-css-multicol-1-20171005/">5 Oct 2017</a>) as the multicol specification no longer introduces these properties. <a href="https://github.com/w3c/csswg-drafts/issues/1966">Editorial</a> <li>Changed how we reference the element we have applied multicol to from multi-column or multicol <q>element</q> to multi-column or multicol <q>container</q>. <a href="https://github.com/w3c/csswg-drafts/issues/1965">Resolved: 22 November 2017</a> <li>Removed the example which stated "If a tall image is moved to a column on the next page to find room for it, its natural column may be left empty. If so, the column is still considered to have content for the purpose of deciding if the column rule should be drawn." <a href="https://github.com/w3c/csswg-drafts/issues/1740">Resolved: 7 September 2017</a> </ul> <h3 class="heading settled" id="changes-from-20110412"><span class="content">Changes from the <a href="https://www.w3.org/TR/2011/CR-css3-multicol-20110412/">Candidate Recommendation (CR) of 12 April 2011</a>.</span><a class="self-link" href="#changes-from-20110412"></a></h3> <ul> <li>Added July 2016 resolution to change the track size floor to a required UA-specified value, consistent with the CSS Grid spec. <a href="https://lists.w3.org/Archives/Public/www-style/2016Jan/0031.html">Resolved: 7 Jan 2016</a> <li>Remove the restriction about overflow columns only being in continuous media in the statement that <a class="property css" data-link-type="property" href="#propdef-column-fill" id="ref-for-propdef-column-fill②">column-fill</a> has no effect on overflow columns. <a href="https://lists.w3.org/Archives/Public/www-style/2013Sep/0471.html">Resolved: September 2013</a>. <li>Added keyword balance-all and examples to demonstrate how this should work. <a href="https://lists.w3.org/Archives/Public/www-style/2013Sep/0471.html">Resolved: September 2013</a>. <li> The pseudo-algorithm has been revised on a number of occasions. <a href="https://lists.w3.org/Archives/Public/www-style/2013Feb/0471.html">Latest change Feb 2013</a>. <li>Clarified that properties <a class="property css" data-link-type="property" href="#propdef-columns" id="ref-for-propdef-columns④">columns</a>, <a class="property css" data-link-type="property" href="#propdef-column-width" id="ref-for-propdef-column-width①④">column-width</a>, <a class="property css" data-link-type="property" href="#propdef-column-count" id="ref-for-propdef-column-count①②">column-count</a> "apply to block containers". <a href="https://lists.w3.org/Archives/Public/www-style/2013Feb/0536.html">Ref: Feb 2013</a>. <li>Breaking properties have been moved from this specification to the <a href="https://www.w3.org/TR/css-break-3/">CSS Fragmentation Module</a>. <li>Change to <a class="property css" data-link-type="property" href="#propdef-column-fill" id="ref-for-propdef-column-fill③">column-fill</a> wording to clarify that <span class="property" id="ref-for-propdef-column-fill④">column-fill</span> is honored before page breaks. <a href="https://lists.w3.org/Archives/Public/www-style/2012Jan/0393.html">Ref: Jan 2012</a>. <li>Amended example and text to clarify what happens with margin collapsing and spanning elements. <a href="https://lists.w3.org/Archives/Public/www-style/2013Oct/0247.html">Ref: Oct 2013</a>. <li>Clarification that <a class="property css" data-link-type="property" href="#propdef-column-rule-width" id="ref-for-propdef-column-rule-width④">column-rule-width</a> does not alter the size or placement of columns. <a href="https://lists.w3.org/Archives/Public/www-style/2013Sep/0550.html">Ref: Sep 2013</a>. <li>Added that each column spanning element establishes a separate BFC margins between them collapse. <a href="https://lists.w3.org/Archives/Public/www-style/2011Dec/0262.html">Ref: Dec 2011</a>. <li>Column rules are painted in the inline content layer, but below all inline content inside the multicol. <a href="https://lists.w3.org/Archives/Public/www-style/2013Feb/0363.html">Ref: Feb 2013</a>. <li>Clarify that <a class="property css" data-link-type="property" href="#propdef-column-span" id="ref-for-propdef-column-span⑧">column-span</a> causes the element to establish a formatting context even if it is not in a multicol. <li>Column spanners do not always establish a <em>block</em> formatting context. <li>Allow <a class="property css" data-link-type="property" href="https://www.w3.org/TR/css-align-3/#propdef-column-gap" id="ref-for-propdef-column-gap⑥">column-gap</a> to accept <a class="production css" data-link-type="type" href="https://www.w3.org/TR/css-values-4/#typedef-length-percentage" id="ref-for-typedef-length-percentage">&lt;length-percentage></a> instead of just <a class="production css" data-link-type="type" href="https://www.w3.org/TR/css-values-4/#length-value" id="ref-for-length-value②">&lt;length></a> <li><a class="property css" data-link-type="property" href="#propdef-column-width" id="ref-for-propdef-column-width①⑤">column-width</a> and <a class="property css" data-link-type="property" href="#propdef-column-count" id="ref-for-propdef-column-count①③">column-count</a> applies to <a data-link-type="dfn" href="https://www.w3.org/TR/css-display-3/#block-container" id="ref-for-block-container③">block containers</a> except <a data-link-type="dfn" href="https://www.w3.org/TR/css-tables-3/#table-wrapper-box" id="ref-for-table-wrapper-box②">table wrapper boxes</a>. <li>Content that overflows columns is not clipped. </ul> <h2 class="no-num heading settled" id="privacy"><span class="content">Privacy Considerations</span><a class="self-link" href="#privacy"></a></h2> <p>Multicol introduces no new privacy leaks.</p> <h2 class="no-num heading settled" id="security"><span class="content">Security Considerations</span><a class="self-link" href="#security"></a></h2> <p>Multicol introduces no new security considerations.</p> <h2 class="no-num heading settled" id="a11y"><span class="content">Accessibility Considerations</span><a class="self-link" href="#a11y"></a></h2> <p>Setting container height and line length can pose challenges for people with visual or cognitive disabilities. See <a href="https://www.w3.org/WAI/WCAG21/Understanding/reflow.html">WCAG Success Criterion 1.4.10 Reflow</a> and <a href="https://www.w3.org/WAI/WCAG21/quickref/#visual-presentation">WCAG 1.4.8 Visual Presentation</a> to understand user needs.</p> <h2 class="no-num heading settled" id="acknowledgments"><span class="content"> Acknowledgments</span><a class="self-link" href="#acknowledgments"></a></h2> <p>This document is based on several older proposals and comments on older proposals. Contributors include:</p> <p>Alex Mogilevsky, Andy Clarke, Anton Prowse, Bert Bos, Björn Höhrmann, Cédric Savarese, Chris Lilley, Chris Wilson, Daniel Glazman and Dave Raggett, David Hyatt, David Singer, David Woolley, Elika Etemad, Giovanni Campagna, Ian Hickson. Joost de Valk, Kevin Lawver, L. David Baron, Markus Mielke, Melinda Grant, Michael Day, Morten Stenshorne, Øyvind Stenhaug, Peter Linss, Peter-Paul Koch, Robert O’Callahan, Robert Stevahn, Sergey Genkin, Shelby Moore, Steve Zilles, Sylvain Galineau, Tantek Çelik, Till Halbach</p> </main> <h2 class="no-ref no-num heading settled" id="w3c-conformance"><span class="content"> Conformance</span><a class="self-link" href="#w3c-conformance"></a></h2> <h3 class="no-ref heading settled" id="w3c-conventions"><span class="content"> Document conventions</span><a class="self-link" href="#w3c-conventions"></a></h3> <p>Conformance requirements are expressed with a combination of descriptive assertions and RFC 2119 terminology. The key words “MUST”, “MUST NOT”, “REQUIRED”, “SHALL”, “SHALL NOT”, “SHOULD”, “SHOULD NOT”, “RECOMMENDED”, “MAY”, and “OPTIONAL” in the normative parts of this document are to be interpreted as described in RFC 2119. However, for readability, these words do not appear in all uppercase letters in this specification. </p> <p>All of the text of this specification is normative except sections explicitly marked as non-normative, examples, and notes. <a data-link-type="biblio" href="#biblio-rfc2119" title="Key words for use in RFCs to Indicate Requirement Levels">[RFC2119]</a></p> <p>Examples in this specification are introduced with the words “for example” or are set apart from the normative text with <code>class="example"</code>, like this: </p> <div class="example" id="w3c-example"> <a class="self-link" href="#w3c-example"></a> <p>This is an example of an informative example.</p> </div> <p>Informative notes begin with the word “Note” and are set apart from the normative text with <code>class="note"</code>, like this: </p> <p class="note" role="note">Note, this is an informative note.</p> <p>Advisements are normative sections styled to evoke special attention and are set apart from other normative text with <code>&lt;strong class="advisement"></code>, like this: <strong class="advisement"> UAs MUST provide an accessible alternative. </strong></p> <details class="wpt-tests-block" dir="ltr" lang="en" open> <summary>Tests</summary> <p>Tests relating to the content of this specification may be documented in “Tests” blocks like this one. Any such block is non-normative.</p> <ul class="wpt-tests-list"></ul> <hr> </details> <h3 class="no-ref heading settled" id="w3c-conformance-classes"><span class="content"> Conformance classes</span><a class="self-link" href="#w3c-conformance-classes"></a></h3> <p>Conformance to this specification is defined for three conformance classes: </p> <dl> <dt>style sheet <dd>A <a href="https://www.w3.org/TR/CSS21/conform.html#style-sheet">CSS style sheet</a>. <dt>renderer <dd>A <a href="https://www.w3.org/TR/CSS21/conform.html#user-agent">UA</a> that interprets the semantics of a style sheet and renders documents that use them. <dt>authoring tool <dd>A <a href="https://www.w3.org/TR/CSS21/conform.html#user-agent">UA</a> that writes a style sheet. </dl> <p>A style sheet is conformant to this specification if all of its statements that use syntax defined in this module are valid according to the generic CSS grammar and the individual grammars of each feature defined in this module. </p> <p>A renderer is conformant to this specification if, in addition to interpreting the style sheet as defined by the appropriate specifications, it supports all the features defined by this specification by parsing them correctly and rendering the document accordingly. However, the inability of a UA to correctly render a document due to limitations of the device does not make the UA non-conformant. (For example, a UA is not required to render color on a monochrome monitor.) </p> <p>An authoring tool is conformant to this specification if it writes style sheets that are syntactically correct according to the generic CSS grammar and the individual grammars of each feature in this module, and meet all other conformance requirements of style sheets as described in this module. </p> <h3 class="no-ref heading settled" id="w3c-partial"><span class="content"> Partial implementations</span><a class="self-link" href="#w3c-partial"></a></h3> <p>So that authors can exploit the forward-compatible parsing rules to assign fallback values, CSS renderers <strong>must</strong> treat as invalid (and <a href="https://www.w3.org/TR/CSS21/conform.html#ignore">ignore as appropriate</a>) any at-rules, properties, property values, keywords, and other syntactic constructs for which they have no usable level of support. In particular, user agents <strong>must not</strong> selectively ignore unsupported component values and honor supported values in a single multi-value property declaration: if any value is considered invalid (as unsupported values must be), CSS requires that the entire declaration be ignored.</p> <h4 class="heading settled" id="w3c-conform-future-proofing"><span class="content"> Implementations of Unstable and Proprietary Features</span><a class="self-link" href="#w3c-conform-future-proofing"></a></h4> <p>To avoid clashes with future stable CSS features, the CSSWG recommends <a href="https://www.w3.org/TR/CSS/#future-proofing">following best practices</a> for the implementation of <a href="https://www.w3.org/TR/CSS/#unstable">unstable</a> features and <a href="https://www.w3.org/TR/CSS/#proprietary-extension">proprietary extensions</a> to CSS. </p> <h3 class="no-ref heading settled" id="w3c-testing"><span class="content"> Non-experimental implementations</span><a class="self-link" href="#w3c-testing"></a></h3> <p>Once a specification reaches the Candidate Recommendation stage, non-experimental implementations are possible, and implementors should release an unprefixed implementation of any CR-level feature they can demonstrate to be correctly implemented according to spec. </p> <p>To establish and maintain the interoperability of CSS across implementations, the CSS Working Group requests that non-experimental CSS renderers submit an implementation report (and, if necessary, the testcases used for that implementation report) to the W3C before releasing an unprefixed implementation of any CSS features. Testcases submitted to W3C are subject to review and correction by the CSS Working Group. </p> <p>Further information on submitting testcases and implementation reports can be found from on the CSS Working Group’s website at <a href="https://www.w3.org/Style/CSS/Test/">https://www.w3.org/Style/CSS/Test/</a>. Questions should be directed to the <a href="https://lists.w3.org/Archives/Public/public-css-testsuite">public-css-testsuite@w3.org</a> mailing list.</p> <h3 class="no-ref heading settled" id="w3c-cr-exit-criteria"><span class="content"> CR exit criteria</span><a class="self-link" href="#w3c-cr-exit-criteria"></a></h3> <p> For this specification to be advanced to Proposed Recommendation, there must be at least two independent, interoperable implementations of each feature. Each feature may be implemented by a different set of products, there is no requirement that all features be implemented by a single product. For the purposes of this criterion, we define the following terms: </p> <dl> <dt>independent <dd>each implementation must be developed by a different party and cannot share, reuse, or derive from code used by another qualifying implementation. Sections of code that have no bearing on the implementation of this specification are exempt from this requirement. <dt>interoperable <dd>passing the respective test case(s) in the official CSS test suite, or, if the implementation is not a Web browser, an equivalent test. Every relevant test in the test suite should have an equivalent test created if such a user agent (UA) is to be used to claim interoperability. In addition if such a UA is to be used to claim interoperability, then there must one or more additional UAs which can also pass those equivalent tests in the same way for the purpose of interoperability. The equivalent tests must be made publicly available for the purposes of peer review. <dt>implementation <dd> a user agent which: <ol class="inline"> <li>implements the specification. <li>is available to the general public. The implementation may be a shipping product or other publicly available version (i.e., beta version, preview release, or "nightly build"). Non-shipping product releases must have implemented the feature(s) for a period of at least one month in order to demonstrate stability. <li>is not experimental (i.e., a version specifically designed to pass the test suite and is not intended for normal usage going forward). </ol> </dl> <p>The specification will remain Candidate Recommendation for at least six months.</p> <script src="https://www.w3.org/scripts/TR/2021/fixup.js"></script> <h2 class="no-num no-ref heading settled" id="index"><span class="content">Index</span><a class="self-link" href="#index"></a></h2> <h3 class="no-num no-ref heading settled" id="index-defined-here"><span class="content">Terms defined by this specification</span><a class="self-link" href="#index-defined-here"></a></h3> <ul class="index"> <li><a href="#valdef-column-span-all">all</a><span>, in § 6.1</span> <li> auto <ul> <li><a href="#valdef-column-count-auto">value for column-count</a><span>, in § 3.2</span> <li><a href="#valdef-column-fill-auto">value for column-fill</a><span>, in § 7.1</span> <li><a href="#valdef-column-width-auto">value for column-width</a><span>, in § 3.1</span> </ul> <li><a href="#valdef-column-fill-balance">balance</a><span>, in § 7.1</span> <li><a href="#valdef-column-fill-balance-all">balance-all</a><span>, in § 7.1</span> <li><a href="#valdef-column-rule-color-color">&lt;color></a><span>, in § 4.2</span> <li><a href="#column-box">column</a><span>, in § 2</span> <li><a href="#column-box">column box</a><span>, in § 2</span> <li><a href="#propdef-column-count">column-count</a><span>, in § 3.2</span> <li><a href="#propdef-column-fill">column-fill</a><span>, in § 7.1</span> <li><a href="#column-gap">column gap</a><span>, in § 2</span> <li><a href="#column-height">column height</a><span>, in § 2</span> <li><a href="#column-rule">column rule</a><span>, in § 2</span> <li><a href="#propdef-column-rule">column-rule</a><span>, in § 4.5</span> <li><a href="#propdef-column-rule-color">column-rule-color</a><span>, in § 4.2</span> <li><a href="#propdef-column-rule-style">column-rule-style</a><span>, in § 4.3</span> <li><a href="#propdef-column-rule-width">column-rule-width</a><span>, in § 4.4</span> <li><a href="#propdef-columns">columns</a><span>, in § 3.3</span> <li><a href="#propdef-column-span">column-span</a><span>, in § 6.1</span> <li><a href="#column-width">column width</a><span>, in § 2</span> <li><a href="#propdef-column-width">column-width</a><span>, in § 3.1</span> <li><a href="#valdef-column-count-integer-1">&lt;integer [1,∞]></a><span>, in § 3.2</span> <li><a href="#valdef-column-width-length-0">&lt;length [0,∞]></a><span>, in § 3.1</span> <li><a href="#multi-column-container">multicol container</a><span>, in § 2</span> <li><a href="#multi-column-line">multi-col line</a><span>, in § 2</span> <li><a href="#multi-column-line">multicol line</a><span>, in § 2</span> <li><a href="#multi-column-container">multi-column container</a><span>, in § 2</span> <li><a href="#multi-column-formatting-context">multi-column formatting context</a><span>, in § 2</span> <li><a href="#multi-column-layout">multi-column layout</a><span>, in § 1</span> <li><a href="#multi-column-line">multi-column line</a><span>, in § 2</span> <li><a href="#multi-column-spanner">multi-column spanner</a><span>, in § 6.1</span> <li><a href="#multi-column-spanning-element">multi-column spanning element</a><span>, in § 6.1</span> <li><a href="#valdef-column-span-none">none</a><span>, in § 6.1</span> <li><a href="#overflow-columns">overflow columns</a><span>, in § 8.2</span> <li><a href="#multi-column-spanner">spanner</a><span>, in § 6.1</span> <li><a href="#multi-column-spanning-element">spanning element</a><span>, in § 6.1</span> </ul> <h3 class="no-num no-ref heading settled" id="index-defined-elsewhere"><span class="content">Terms defined by reference</span><a class="self-link" href="#index-defined-elsewhere"></a></h3> <ul class="index"> <li> <a data-link-type="biblio">[CSS-BACKGROUNDS-3]</a> defines the following terms: <ul> <li><span class="dfn-paneled" id="ffeb15ad">&lt;line-style></span> <li><span class="dfn-paneled" id="5747d295">&lt;line-width></span> <li><span class="dfn-paneled" id="e1674793">border</span> <li><span class="dfn-paneled" id="212a3293">hidden</span> <li><span class="dfn-paneled" id="1c96a88c">none</span> </ul> <li> <a data-link-type="biblio">[CSS-BREAK-4]</a> defines the following terms: <ul> <li><span class="dfn-paneled" id="64bdec0d">fragment</span> <li><span class="dfn-paneled" id="04004305">fragmentation</span> <li><span class="dfn-paneled" id="4904f647">fragmentation container</span> <li><span class="dfn-paneled" id="7eb0e25a">fragmentation context</span> <li><span class="dfn-paneled" id="54f91f87">widows</span> </ul> <li> <a data-link-type="biblio">[CSS-COLOR-5]</a> defines the following terms: <ul> <li><span class="dfn-paneled" id="d04b6986">&lt;color></span> </ul> <li> <a data-link-type="biblio">[CSS-DISPLAY-3]</a> defines the following terms: <ul> <li><span class="dfn-paneled" id="61c422b4">anonymous box</span> <li><span class="dfn-paneled" id="05c40e8e">block container</span> <li><span class="dfn-paneled" id="e4f1fc8b">block formatting context</span> <li><span class="dfn-paneled" id="696dc9f0">block-level box</span> <li><span class="dfn-paneled" id="6b4fc208">containing block</span> <li><span class="dfn-paneled" id="c09ea731">containing block chain</span> <li><span class="dfn-paneled" id="2ccfe434">display</span> <li><span class="dfn-paneled" id="43fd67c9">formatting context</span> <li><span class="dfn-paneled" id="b091c3a0">independent formatting context</span> <li><span class="dfn-paneled" id="ffcb5356">out of flow</span> <li><span class="dfn-paneled" id="06fd3b4c">out-of-flow</span> <li><span class="dfn-paneled" id="93f98063">principal box</span> </ul> <li> <a data-link-type="biblio">[CSS-GRID-2]</a> defines the following terms: <ul> <li><span class="dfn-paneled" id="df72a52c">grid container</span> <li><span class="dfn-paneled" id="ba30fc9a">grid item</span> </ul> <li> <a data-link-type="biblio">[CSS-OVERFLOW-3]</a> defines the following terms: <ul> <li><span class="dfn-paneled" id="add377f4">overflow</span> </ul> <li> <a data-link-type="biblio">[CSS-POSITION-3]</a> defines the following terms: <ul> <li><span class="dfn-paneled" id="dec20430">absolutely positioned box</span> <li><span class="dfn-paneled" id="b8c34db8">position</span> </ul> <li> <a data-link-type="biblio">[CSS-TABLES-3]</a> defines the following terms: <ul> <li><span class="dfn-paneled" id="1b178ec1">table wrapper box</span> </ul> <li> <a data-link-type="biblio">[CSS-TRANSFORMS-1]</a> defines the following terms: <ul> <li><span class="dfn-paneled" id="e7c6bf78">transform</span> </ul> <li> <a data-link-type="biblio">[CSS-VALUES-4]</a> defines the following terms: <ul> <li><span class="dfn-paneled" id="d73c993d">&lt;integer></span> <li><span class="dfn-paneled" id="4fd7e54f">&lt;length-percentage></span> <li><span class="dfn-paneled" id="98ddb9b0">&lt;length></span> <li><span class="dfn-paneled" id="8a110a7b">css-wide keywords</span> <li><span class="dfn-paneled" id="4f460096">snap as a border width</span> <li><span class="dfn-paneled" id="4eb9d37e">|</span> <li><span class="dfn-paneled" id="a0336d84">||</span> </ul> <li> <a data-link-type="biblio">[CSS-WRITING-MODES-4]</a> defines the following terms: <ul> <li><span class="dfn-paneled" id="b8dade0f">block axis</span> <li><span class="dfn-paneled" id="9933fc3f">inline base direction</span> </ul> <li> <a data-link-type="biblio">[CSS3-ALIGN]</a> defines the following terms: <ul> <li><span class="dfn-paneled" id="b7d152c3">column-gap</span> <li><span class="dfn-paneled" id="e975f960">normal</span> </ul> <li> <a data-link-type="biblio">[CSS3-BREAK]</a> defines the following terms: <ul> <li><span class="dfn-paneled" id="51ee3396">break-after</span> <li><span class="dfn-paneled" id="eb306f02">break-before</span> <li><span class="dfn-paneled" id="8ae583f9">break-inside</span> <li><span class="dfn-paneled" id="4f75e4ec">orphans</span> </ul> <li> <a data-link-type="biblio">[CSS3-SIZING]</a> defines the following terms: <ul> <li><span class="dfn-paneled" id="5ad01cca">height</span> <li><span class="dfn-paneled" id="2d68423f">max-height</span> <li><span class="dfn-paneled" id="49731d1d">width</span> </ul> <li> <a data-link-type="biblio">[MEDIAQUERIES-5]</a> defines the following terms: <ul> <li><span class="dfn-paneled" id="23af89d0">paged media</span> </ul> </ul> <h2 class="no-num no-ref heading settled" id="references"><span class="content">References</span><a class="self-link" href="#references"></a></h2> <h3 class="no-num no-ref heading settled" id="normative"><span class="content">Normative References</span><a class="self-link" href="#normative"></a></h3> <dl> <dt id="biblio-css-backgrounds-3">[CSS-BACKGROUNDS-3] <dd>Elika Etemad; Brad Kemper. <a href="https://www.w3.org/TR/css-backgrounds-3/"><cite>CSS Backgrounds and Borders Module Level 3</cite></a>. 11 March 2024. CR. URL: <a href="https://www.w3.org/TR/css-backgrounds-3/">https://www.w3.org/TR/css-backgrounds-3/</a> <dt id="biblio-css-break-4">[CSS-BREAK-4] <dd>Rossen Atanassov; Elika Etemad. <a href="https://www.w3.org/TR/css-break-4/"><cite>CSS Fragmentation Module Level 4</cite></a>. 18 December 2018. WD. URL: <a href="https://www.w3.org/TR/css-break-4/">https://www.w3.org/TR/css-break-4/</a> <dt id="biblio-css-color-5">[CSS-COLOR-5] <dd>Chris Lilley; et al. <a href="https://www.w3.org/TR/css-color-5/"><cite>CSS Color Module Level 5</cite></a>. 29 February 2024. WD. URL: <a href="https://www.w3.org/TR/css-color-5/">https://www.w3.org/TR/css-color-5/</a> <dt id="biblio-css-display-3">[CSS-DISPLAY-3] <dd>Elika Etemad; Tab Atkins Jr.. <a href="https://www.w3.org/TR/css-display-3/"><cite>CSS Display Module Level 3</cite></a>. 30 March 2023. CR. URL: <a href="https://www.w3.org/TR/css-display-3/">https://www.w3.org/TR/css-display-3/</a> <dt id="biblio-css-grid-2">[CSS-GRID-2] <dd>Tab Atkins Jr.; Elika Etemad; Rossen Atanassov. <a href="https://www.w3.org/TR/css-grid-2/"><cite>CSS Grid Layout Module Level 2</cite></a>. 18 December 2020. CR. URL: <a href="https://www.w3.org/TR/css-grid-2/">https://www.w3.org/TR/css-grid-2/</a> <dt id="biblio-css-overflow-3">[CSS-OVERFLOW-3] <dd>Elika Etemad; Florian Rivoal. <a href="https://www.w3.org/TR/css-overflow-3/"><cite>CSS Overflow Module Level 3</cite></a>. 29 March 2023. WD. URL: <a href="https://www.w3.org/TR/css-overflow-3/">https://www.w3.org/TR/css-overflow-3/</a> <dt id="biblio-css-position-3">[CSS-POSITION-3] <dd>Elika Etemad; Tab Atkins Jr.. <a href="https://www.w3.org/TR/css-position-3/"><cite>CSS Positioned Layout Module Level 3</cite></a>. 3 April 2023. WD. URL: <a href="https://www.w3.org/TR/css-position-3/">https://www.w3.org/TR/css-position-3/</a> <dt id="biblio-css-tables-3">[CSS-TABLES-3] <dd>François Remy; Greg Whitworth; David Baron. <a href="https://www.w3.org/TR/css-tables-3/"><cite>CSS Table Module Level 3</cite></a>. 27 July 2019. WD. URL: <a href="https://www.w3.org/TR/css-tables-3/">https://www.w3.org/TR/css-tables-3/</a> <dt id="biblio-css-values-3">[CSS-VALUES-3] <dd>Tab Atkins Jr.; Elika Etemad. <a href="https://www.w3.org/TR/css-values-3/"><cite>CSS Values and Units Module Level 3</cite></a>. 22 March 2024. CR. URL: <a href="https://www.w3.org/TR/css-values-3/">https://www.w3.org/TR/css-values-3/</a> <dt id="biblio-css-values-4">[CSS-VALUES-4] <dd>Tab Atkins Jr.; Elika Etemad. <a href="https://www.w3.org/TR/css-values-4/"><cite>CSS Values and Units Module Level 4</cite></a>. 12 March 2024. WD. URL: <a href="https://www.w3.org/TR/css-values-4/">https://www.w3.org/TR/css-values-4/</a> <dt id="biblio-css-writing-modes-4">[CSS-WRITING-MODES-4] <dd>Elika Etemad; Koji Ishii. <a href="https://www.w3.org/TR/css-writing-modes-4/"><cite>CSS Writing Modes Level 4</cite></a>. 30 July 2019. CR. URL: <a href="https://www.w3.org/TR/css-writing-modes-4/">https://www.w3.org/TR/css-writing-modes-4/</a> <dt id="biblio-css21">[CSS21] <dd>Bert Bos; et al. <a href="https://www.w3.org/TR/CSS21/"><cite>Cascading Style Sheets Level 2 Revision 1 (CSS 2.1) Specification</cite></a>. 7 June 2011. REC. URL: <a href="https://www.w3.org/TR/CSS21/">https://www.w3.org/TR/CSS21/</a> <dt id="biblio-css3-align">[CSS3-ALIGN] <dd>Elika Etemad; Tab Atkins Jr.. <a href="https://www.w3.org/TR/css-align-3/"><cite>CSS Box Alignment Module Level 3</cite></a>. 17 February 2023. WD. URL: <a href="https://www.w3.org/TR/css-align-3/">https://www.w3.org/TR/css-align-3/</a> <dt id="biblio-css3-break">[CSS3-BREAK] <dd>Rossen Atanassov; Elika Etemad. <a href="https://www.w3.org/TR/css-break-3/"><cite>CSS Fragmentation Module Level 3</cite></a>. 4 December 2018. CR. URL: <a href="https://www.w3.org/TR/css-break-3/">https://www.w3.org/TR/css-break-3/</a> <dt id="biblio-css3-sizing">[CSS3-SIZING] <dd>Tab Atkins Jr.; Elika Etemad. <a href="https://www.w3.org/TR/css-sizing-3/"><cite>CSS Box Sizing Module Level 3</cite></a>. 17 December 2021. WD. URL: <a href="https://www.w3.org/TR/css-sizing-3/">https://www.w3.org/TR/css-sizing-3/</a> <dt id="biblio-mediaqueries-5">[MEDIAQUERIES-5] <dd>Dean Jackson; et al. <a href="https://www.w3.org/TR/mediaqueries-5/"><cite>Media Queries Level 5</cite></a>. 18 December 2021. WD. URL: <a href="https://www.w3.org/TR/mediaqueries-5/">https://www.w3.org/TR/mediaqueries-5/</a> <dt id="biblio-rfc2119">[RFC2119] <dd>S. Bradner. <a href="https://datatracker.ietf.org/doc/html/rfc2119"><cite>Key words for use in RFCs to Indicate Requirement Levels</cite></a>. March 1997. Best Current Practice. URL: <a href="https://datatracker.ietf.org/doc/html/rfc2119">https://datatracker.ietf.org/doc/html/rfc2119</a> </dl> <h3 class="no-num no-ref heading settled" id="informative"><span class="content">Informative References</span><a class="self-link" href="#informative"></a></h3> <dl> <dt id="biblio-css-transforms-1">[CSS-TRANSFORMS-1] <dd>Simon Fraser; et al. <a href="https://www.w3.org/TR/css-transforms-1/"><cite>CSS Transforms Module Level 1</cite></a>. 14 February 2019. CR. URL: <a href="https://www.w3.org/TR/css-transforms-1/">https://www.w3.org/TR/css-transforms-1/</a> <dt id="biblio-css3box">[CSS3BOX] <dd>Elika Etemad. <a href="https://www.w3.org/TR/css-box-3/"><cite>CSS Box Model Module Level 3</cite></a>. 11 April 2024. REC. URL: <a href="https://www.w3.org/TR/css-box-3/">https://www.w3.org/TR/css-box-3/</a> </dl> <h2 class="no-num no-ref heading settled" id="property-index"><span class="content">Property Index</span><a class="self-link" href="#property-index"></a></h2> <div class="big-element-wrapper"> <table class="index"> <thead> <tr> <th scope="col">Name <th scope="col">Value <th scope="col">Initial <th scope="col">Applies to <th scope="col">Inh. <th scope="col">%ages <th scope="col">Anim­ation type <th scope="col">Canonical order <th scope="col">Com­puted value <tbody> <tr> <th scope="row"><a class="css" data-link-type="property" href="#propdef-column-count" id="ref-for-propdef-column-count①④">column-count</a> <td>auto | &lt;integer [1,∞]> <td>auto <td>block containers except table wrapper boxes <td>no <td>N/A <td>by computed value <td>per grammar <td>specified value <tr> <th scope="row"><a class="css" data-link-type="property" href="#propdef-column-fill" id="ref-for-propdef-column-fill⑤">column-fill</a> <td>auto | balance | balance-all <td>balance <td>multicol containers <td>no <td>N/A <td>discrete <td>per grammar <td>specified keyword <tr> <th scope="row"><a class="css" data-link-type="property" href="#propdef-column-rule" id="ref-for-propdef-column-rule⑤">column-rule</a> <td>&lt;'column-rule-width'> || &lt;'column-rule-style'> || &lt;'column-rule-color'> <td>see individual properties <td>see individual properties <td>see individual properties <td>see individual properties <td>see individual properties <td>per grammar <td>see individual properties <tr> <th scope="row"><a class="css" data-link-type="property" href="#propdef-column-rule-color" id="ref-for-propdef-column-rule-color③">column-rule-color</a> <td>&lt;color> <td>currentcolor <td>multicol containers <td>no <td>N/A <td>by computed value type <td>per grammar <td>computed color <tr> <th scope="row"><a class="css" data-link-type="property" href="#propdef-column-rule-style" id="ref-for-propdef-column-rule-style④">column-rule-style</a> <td>&lt;line-style> <td>none <td>multicol containers <td>no <td>N/A <td>discrete <td>per grammar <td>specified keyword <tr> <th scope="row"><a class="css" data-link-type="property" href="#propdef-column-rule-width" id="ref-for-propdef-column-rule-width⑤">column-rule-width</a> <td>&lt;line-width> <td>medium <td>multicol containers <td>no <td>N/A <td>by computed value type <td>per grammar <td>absolute length, snapped as a border width; 0 if the column rule style is none or hidden <tr> <th scope="row"><a class="css" data-link-type="property" href="#propdef-column-span" id="ref-for-propdef-column-span⑨">column-span</a> <td>none | all <td>none <td>in-flow block-level elements <td>no <td>N/A <td>discrete <td>per grammar <td>specified keyword <tr> <th scope="row"><a class="css" data-link-type="property" href="#propdef-column-width" id="ref-for-propdef-column-width①⑥">column-width</a> <td>auto | &lt;length [0,∞]> <td>auto <td>block containers except table wrapper boxes <td>no <td>N/A <td>by computed value type <td>per grammar <td>the keyword auto or an absolute length <tr> <th scope="row"><a class="css" data-link-type="property" href="#propdef-columns" id="ref-for-propdef-columns⑤">columns</a> <td>&lt;'column-width'> || &lt;'column-count'> <td>see individual properties <td>see individual properties <td>see individual properties <td>see individual properties <td>see individual properties <td>per grammar <td>see individual properties </table> </div> <script>/* Boilerplate: script-dom-helper */ "use strict"; function query(sel) { return document.querySelector(sel); } function queryAll(sel) { return [...document.querySelectorAll(sel)]; } function iter(obj) { if(!obj) return []; var it = obj[Symbol.iterator]; if(it) return it; return Object.entries(obj); } function mk(tagname, attrs, ...children) { const el = document.createElement(tagname); for(const [k,v] of iter(attrs)) { if(k.slice(0,3) == "_on") { const eventName = k.slice(3); el.addEventListener(eventName, v); } else if(k[0] == "_") { // property, not attribute el[k.slice(1)] = v; } else { if(v === false || v == null) { continue; } else if(v === true) { el.setAttribute(k, ""); continue; } else { el.setAttribute(k, v); } } } append(el, children); return el; } /* Create shortcuts for every known HTML element */ [ "a", "abbr", "acronym", "address", "applet", "area", "article", "aside", "audio", "b", "base", "basefont", "bdo", "big", "blockquote", "body", "br", "button", "canvas", "caption", "center", "cite", "code", "col", "colgroup", "datalist", "dd", "del", "details", "dfn", "dialog", "div", "dl", "dt", "em", "embed", "fieldset", "figcaption", "figure", "font", "footer", "form", "frame", "frameset", "head", "header", "h1", "h2", "h3", "h4", "h5", "h6", "hr", "html", "i", "iframe", "img", "input", "ins", "kbd", "label", "legend", "li", "link", "main", "map", "mark", "meta", "meter", "nav", "nobr", "noscript", "object", "ol", "optgroup", "option", "output", "p", "param", "pre", "progress", "q", "s", "samp", "script", "section", "select", "small", "source", "span", "strike", "strong", "style", "sub", "summary", "sup", "table", "tbody", "td", "template", "textarea", "tfoot", "th", "thead", "time", "title", "tr", "u", "ul", "var", "video", "wbr", "xmp", ].forEach(tagname=>{ mk[tagname] = (...args) => mk(tagname, ...args); }); function* nodesFromChildList(children) { for(const child of children.flat(Infinity)) { if(child instanceof Node) { yield child; } else { yield new Text(child); } } } function append(el, ...children) { for(const child of nodesFromChildList(children)) { if(el instanceof Node) el.appendChild(child); else el.push(child); } return el; } function insertAfter(el, ...children) { for(const child of nodesFromChildList(children)) { el.parentNode.insertBefore(child, el.nextSibling); } return el; } function clearContents(el) { el.innerHTML = ""; return el; } function parseHTML(markup) { if(markup.toLowerCase().trim().indexOf('<!doctype') === 0) { const doc = document.implementation.createHTMLDocument(""); doc.documentElement.innerHTML = markup; return doc; } else { const el = mk.template({}); el.innerHTML = markup; return el.content; } }</script> <script>/* Boilerplate: script-dfn-panel */ "use strict"; { let dfnPanelData = { "04004305": {"dfnID":"04004305","dfnText":"fragmentation","external":true,"refSections":[{"refs":[{"id":"ref-for-fragmentation"}],"title":"2. \nThe Multi-Column Model"}],"url":"https://www.w3.org/TR/css-break-4/#fragmentation"}, "05c40e8e": {"dfnID":"05c40e8e","dfnText":"block container","external":true,"refSections":[{"refs":[{"id":"ref-for-block-container"}],"title":"2. \nThe Multi-Column Model"},{"refs":[{"id":"ref-for-block-container\u2460"}],"title":"3.1. The Inline Size of Columns: the column-width property"},{"refs":[{"id":"ref-for-block-container\u2461"}],"title":"3.2. The Number of Columns: the column-count property"},{"refs":[{"id":"ref-for-block-container\u2462"}],"title":"Changes from the\nCandidate Recommendation (CR) of 12 April 2011."}],"url":"https://www.w3.org/TR/css-display-3/#block-container"}, "06fd3b4c": {"dfnID":"06fd3b4c","dfnText":"out-of-flow","external":true,"refSections":[{"refs":[{"id":"ref-for-out-of-flow"},{"id":"ref-for-out-of-flow\u2460"}],"title":"6.1. Spanning An Element Across Columns: the column-span property"}],"url":"https://www.w3.org/TR/css-display-3/#out-of-flow"}, "1b178ec1": {"dfnID":"1b178ec1","dfnText":"table wrapper box","external":true,"refSections":[{"refs":[{"id":"ref-for-table-wrapper-box"}],"title":"3.1. The Inline Size of Columns: the column-width property"},{"refs":[{"id":"ref-for-table-wrapper-box\u2460"}],"title":"3.2. The Number of Columns: the column-count property"},{"refs":[{"id":"ref-for-table-wrapper-box\u2461"}],"title":"Changes from the\nCandidate Recommendation (CR) of 12 April 2011."}],"url":"https://www.w3.org/TR/css-tables-3/#table-wrapper-box"}, "1c96a88c": {"dfnID":"1c96a88c","dfnText":"none","external":true,"refSections":[{"refs":[{"id":"ref-for-valdef-line-style-none"}],"title":"4.3. The Style Of Column Rules: the column-rule-style property"},{"refs":[{"id":"ref-for-valdef-line-style-none\u2460"}],"title":"4.4. The Width Of Column Rules: the column-rule-width property"}],"url":"https://www.w3.org/TR/css-backgrounds-3/#valdef-line-style-none"}, "212a3293": {"dfnID":"212a3293","dfnText":"hidden","external":true,"refSections":[{"refs":[{"id":"ref-for-valdef-line-style-hidden"}],"title":"4.4. The Width Of Column Rules: the column-rule-width property"}],"url":"https://www.w3.org/TR/css-backgrounds-3/#valdef-line-style-hidden"}, "23af89d0": {"dfnID":"23af89d0","dfnText":"paged media","external":true,"refSections":[{"refs":[{"id":"ref-for-paged-media"}],"title":"3.4. The Pseudo-algorithm"},{"refs":[{"id":"ref-for-paged-media\u2460"}],"title":"6.1. Spanning An Element Across Columns: the column-span property"},{"refs":[{"id":"ref-for-paged-media\u2461"}],"title":"8.2. \nPagination and Overflow Outside Multicol Containers"}],"url":"https://www.w3.org/TR/mediaqueries-5/#paged-media"}, "2ccfe434": {"dfnID":"2ccfe434","dfnText":"display","external":true,"refSections":[{"refs":[{"id":"ref-for-propdef-display"}],"title":"2. \nThe Multi-Column Model"}],"url":"https://www.w3.org/TR/css-display-3/#propdef-display"}, "2d68423f": {"dfnID":"2d68423f","dfnText":"max-height","external":true,"refSections":[{"refs":[{"id":"ref-for-propdef-max-height"}],"title":"8.2. \nPagination and Overflow Outside Multicol Containers"}],"url":"https://www.w3.org/TR/css-sizing-3/#propdef-max-height"}, "43fd67c9": {"dfnID":"43fd67c9","dfnText":"formatting context","external":true,"refSections":[{"refs":[{"id":"ref-for-formatting-context"},{"id":"ref-for-formatting-context\u2460"},{"id":"ref-for-formatting-context\u2461"}],"title":"6.1. Spanning An Element Across Columns: the column-span property"}],"url":"https://www.w3.org/TR/css-display-3/#formatting-context"}, "4904f647": {"dfnID":"4904f647","dfnText":"fragmentation container","external":true,"refSections":[{"refs":[{"id":"ref-for-fragmentation-container"}],"title":"2. \nThe Multi-Column Model"}],"url":"https://www.w3.org/TR/css-break-4/#fragmentation-container"}, "49731d1d": {"dfnID":"49731d1d","dfnText":"width","external":true,"refSections":[{"refs":[{"id":"ref-for-propdef-width"}],"title":"2. \nThe Multi-Column Model"}],"url":"https://www.w3.org/TR/css-sizing-3/#propdef-width"}, "4eb9d37e": {"dfnID":"4eb9d37e","dfnText":"|","external":true,"refSections":[{"refs":[{"id":"ref-for-comb-one"}],"title":"3.1. The Inline Size of Columns: the column-width property"},{"refs":[{"id":"ref-for-comb-one\u2460"}],"title":"3.2. The Number of Columns: the column-count property"},{"refs":[{"id":"ref-for-comb-one\u2461"}],"title":"6.1. Spanning An Element Across Columns: the column-span property"},{"refs":[{"id":"ref-for-comb-one\u2462"},{"id":"ref-for-comb-one\u2463"}],"title":"7.1. Column Balancing: the column-fill property"}],"url":"https://www.w3.org/TR/css-values-4/#comb-one"}, "4f460096": {"dfnID":"4f460096","dfnText":"snap as a border width","external":true,"refSections":[{"refs":[{"id":"ref-for-snap-a-length-as-a-border-width"}],"title":"4.4. The Width Of Column Rules: the column-rule-width property"}],"url":"https://www.w3.org/TR/css-values-4/#snap-a-length-as-a-border-width"}, "4f75e4ec": {"dfnID":"4f75e4ec","dfnText":"orphans","external":true,"refSections":[{"refs":[{"id":"ref-for-propdef-orphans"}],"title":"7. \nFilling Columns"}],"url":"https://www.w3.org/TR/css-break-3/#propdef-orphans"}, "4fd7e54f": {"dfnID":"4fd7e54f","dfnText":"<length-percentage>","external":true,"refSections":[{"refs":[{"id":"ref-for-typedef-length-percentage"}],"title":"Changes from the\nCandidate Recommendation (CR) of 12 April 2011."}],"url":"https://www.w3.org/TR/css-values-4/#typedef-length-percentage"}, "51ee3396": {"dfnID":"51ee3396","dfnText":"break-after","external":true,"refSections":[{"refs":[{"id":"ref-for-propdef-break-after"}],"title":"5. \nColumn Breaks"},{"refs":[{"id":"ref-for-propdef-break-after\u2460"},{"id":"ref-for-propdef-break-after\u2461"}],"title":"5.1. Controlling Fragmentation: the break-before, break-after, break-inside properties"}],"url":"https://www.w3.org/TR/css-break-3/#propdef-break-after"}, "54f91f87": {"dfnID":"54f91f87","dfnText":"widows","external":true,"refSections":[{"refs":[{"id":"ref-for-propdef-widows"}],"title":"7. \nFilling Columns"}],"url":"https://www.w3.org/TR/css-break-4/#propdef-widows"}, "5747d295": {"dfnID":"5747d295","dfnText":"<line-width>","external":true,"refSections":[{"refs":[{"id":"ref-for-typedef-line-width"}],"title":"4.4. The Width Of Column Rules: the column-rule-width property"}],"url":"https://www.w3.org/TR/css-backgrounds-3/#typedef-line-width"}, "5ad01cca": {"dfnID":"5ad01cca","dfnText":"height","external":true,"refSections":[{"refs":[{"id":"ref-for-propdef-height"}],"title":"8.2. \nPagination and Overflow Outside Multicol Containers"}],"url":"https://www.w3.org/TR/css-sizing-3/#propdef-height"}, "61c422b4": {"dfnID":"61c422b4","dfnText":"anonymous box","external":true,"refSections":[{"refs":[{"id":"ref-for-anonymous"},{"id":"ref-for-anonymous\u2460"}],"title":"2. \nThe Multi-Column Model"}],"url":"https://www.w3.org/TR/css-display-3/#anonymous"}, "64bdec0d": {"dfnID":"64bdec0d","dfnText":"fragment","external":true,"refSections":[{"refs":[{"id":"ref-for-fragment"}],"title":"2. \nThe Multi-Column Model"},{"refs":[{"id":"ref-for-fragment\u2460"}],"title":"6.1. Spanning An Element Across Columns: the column-span property"}],"url":"https://www.w3.org/TR/css-break-4/#fragment"}, "696dc9f0": {"dfnID":"696dc9f0","dfnText":"block-level box","external":true,"refSections":[{"refs":[{"id":"ref-for-block-level-box"},{"id":"ref-for-block-level-box\u2460"}],"title":"2. \nThe Multi-Column Model"}],"url":"https://www.w3.org/TR/css-display-3/#block-level-box"}, "6b4fc208": {"dfnID":"6b4fc208","dfnText":"containing block","external":true,"refSections":[{"refs":[{"id":"ref-for-containing-block"},{"id":"ref-for-containing-block\u2460"}],"title":"2. \nThe Multi-Column Model"},{"refs":[{"id":"ref-for-containing-block\u2461"},{"id":"ref-for-containing-block\u2462"}],"title":"6.1. Spanning An Element Across Columns: the column-span property"}],"url":"https://www.w3.org/TR/css-display-3/#containing-block"}, "7eb0e25a": {"dfnID":"7eb0e25a","dfnText":"fragmentation context","external":true,"refSections":[{"refs":[{"id":"ref-for-fragmentation-context"}],"title":"2. \nThe Multi-Column Model"}],"url":"https://www.w3.org/TR/css-break-4/#fragmentation-context"}, "8a110a7b": {"dfnID":"8a110a7b","dfnText":"css-wide keywords","external":true,"refSections":[{"refs":[{"id":"ref-for-css-wide-keywords"}],"title":"1.1. \nValue Definitions"}],"url":"https://www.w3.org/TR/css-values-4/#css-wide-keywords"}, "8ae583f9": {"dfnID":"8ae583f9","dfnText":"break-inside","external":true,"refSections":[{"refs":[{"id":"ref-for-propdef-break-inside"}],"title":"5. \nColumn Breaks"},{"refs":[{"id":"ref-for-propdef-break-inside\u2460"},{"id":"ref-for-propdef-break-inside\u2461"}],"title":"5.1. Controlling Fragmentation: the break-before, break-after, break-inside properties"}],"url":"https://www.w3.org/TR/css-break-3/#propdef-break-inside"}, "93f98063": {"dfnID":"93f98063","dfnText":"principal box","external":true,"refSections":[{"refs":[{"id":"ref-for-principal-box"}],"title":"2. \nThe Multi-Column Model"}],"url":"https://www.w3.org/TR/css-display-3/#principal-box"}, "98ddb9b0": {"dfnID":"98ddb9b0","dfnText":"<length>","external":true,"refSections":[{"refs":[{"id":"ref-for-length-value"},{"id":"ref-for-length-value\u2460"}],"title":"3.1. The Inline Size of Columns: the column-width property"},{"refs":[{"id":"ref-for-length-value\u2461"}],"title":"Changes from the\nCandidate Recommendation (CR) of 12 April 2011."}],"url":"https://www.w3.org/TR/css-values-4/#length-value"}, "9933fc3f": {"dfnID":"9933fc3f","dfnText":"inline base direction","external":true,"refSections":[{"refs":[{"id":"ref-for-inline-base-direction"}],"title":"2. \nThe Multi-Column Model"}],"url":"https://www.w3.org/TR/css-writing-modes-4/#inline-base-direction"}, "a0336d84": {"dfnID":"a0336d84","dfnText":"||","external":true,"refSections":[{"refs":[{"id":"ref-for-comb-any"}],"title":"3.3. The column-width and column-count Shorthand: The columns Property"},{"refs":[{"id":"ref-for-comb-any\u2460"},{"id":"ref-for-comb-any\u2461"}],"title":"4.5. Column Rule Shorthand: the column-rule property"}],"url":"https://www.w3.org/TR/css-values-4/#comb-any"}, "add377f4": {"dfnID":"add377f4","dfnText":"overflow","external":true,"refSections":[{"refs":[{"id":"ref-for-propdef-overflow"}],"title":"8.2. \nPagination and Overflow Outside Multicol Containers"}],"url":"https://www.w3.org/TR/css-overflow-3/#propdef-overflow"}, "b091c3a0": {"dfnID":"b091c3a0","dfnText":"independent formatting context","external":true,"refSections":[{"refs":[{"id":"ref-for-independent-formatting-context"},{"id":"ref-for-independent-formatting-context\u2460"}],"title":"2. \nThe Multi-Column Model"},{"refs":[{"id":"ref-for-independent-formatting-context\u2461"}],"title":"6.1. Spanning An Element Across Columns: the column-span property"}],"url":"https://www.w3.org/TR/css-display-3/#independent-formatting-context"}, "b7d152c3": {"dfnID":"b7d152c3","dfnText":"column-gap","external":true,"refSections":[{"refs":[{"id":"ref-for-propdef-column-gap"},{"id":"ref-for-propdef-column-gap\u2460"},{"id":"ref-for-propdef-column-gap\u2461"}],"title":"4.1. Gutters Between Columns: the column-gap property"},{"refs":[{"id":"ref-for-propdef-column-gap\u2462"},{"id":"ref-for-propdef-column-gap\u2463"},{"id":"ref-for-propdef-column-gap\u2464"}],"title":"Changes from the Working Draft (WD) of 28 May 2018"},{"refs":[{"id":"ref-for-propdef-column-gap\u2465"}],"title":"Changes from the\nCandidate Recommendation (CR) of 12 April 2011."}],"url":"https://www.w3.org/TR/css-align-3/#propdef-column-gap"}, "b8c34db8": {"dfnID":"b8c34db8","dfnText":"position","external":true,"refSections":[{"refs":[{"id":"ref-for-propdef-position"},{"id":"ref-for-propdef-position\u2460"},{"id":"ref-for-propdef-position\u2461"}],"title":"2. \nThe Multi-Column Model"},{"refs":[{"id":"ref-for-propdef-position\u2462"}],"title":"Changes from the Working Draft (WD) of 5 October 2017"}],"url":"https://www.w3.org/TR/css-position-3/#propdef-position"}, "b8dade0f": {"dfnID":"b8dade0f","dfnText":"block axis","external":true,"refSections":[{"refs":[{"id":"ref-for-block-axis"}],"title":"2. \nThe Multi-Column Model"}],"url":"https://www.w3.org/TR/css-writing-modes-4/#block-axis"}, "ba30fc9a": {"dfnID":"ba30fc9a","dfnText":"grid item","external":true,"refSections":[{"refs":[{"id":"ref-for-grid-item"}],"title":"1. \nIntroduction"}],"url":"https://www.w3.org/TR/css-grid-2/#grid-item"}, "c09ea731": {"dfnID":"c09ea731","dfnText":"containing block chain","external":true,"refSections":[{"refs":[{"id":"ref-for-containing-block-chain"}],"title":"6.1. Spanning An Element Across Columns: the column-span property"}],"url":"https://www.w3.org/TR/css-display-3/#containing-block-chain"}, "column-box": {"dfnID":"column-box","dfnText":"column boxes","external":false,"refSections":[{"refs":[{"id":"ref-for-column-box"},{"id":"ref-for-column-box\u2460"},{"id":"ref-for-column-box\u2461"},{"id":"ref-for-column-box\u2462"},{"id":"ref-for-column-box\u2463"},{"id":"ref-for-column-box\u2464"}],"title":"2. \nThe Multi-Column Model"},{"refs":[{"id":"ref-for-column-box\u2465"}],"title":"6.1. Spanning An Element Across Columns: the column-span property"},{"refs":[{"id":"ref-for-column-box\u2466"}],"title":"8.1. \nOverflow Inside Multicol Containers"}],"url":"#column-box"}, "column-gap": {"dfnID":"column-gap","dfnText":"column gap","external":false,"refSections":[{"refs":[{"id":"ref-for-column-gap"}],"title":"1. \nIntroduction"},{"refs":[{"id":"ref-for-column-gap\u2460"}],"title":"4. Column Gaps and Rules"},{"refs":[{"id":"ref-for-column-gap\u2461"}],"title":"4.5. Column Rule Shorthand: the column-rule property"}],"url":"#column-gap"}, "column-height": {"dfnID":"column-height","dfnText":"column height","external":false,"refSections":[],"url":"#column-height"}, "column-rule": {"dfnID":"column-rule","dfnText":"column rule","external":false,"refSections":[{"refs":[{"id":"ref-for-column-rule"}],"title":"1. \nIntroduction"},{"refs":[{"id":"ref-for-column-rule\u2460"},{"id":"ref-for-column-rule\u2461"},{"id":"ref-for-column-rule\u2462"}],"title":"4. Column Gaps and Rules"},{"refs":[{"id":"ref-for-column-rule\u2463"}],"title":"4.2. The Color of Column Rules: the\ncolumn-rule-color property"},{"refs":[{"id":"ref-for-column-rule\u2464"}],"title":"4.5. Column Rule Shorthand: the column-rule property"},{"refs":[{"id":"ref-for-column-rule\u2465"}],"title":"6.1. Spanning An Element Across Columns: the column-span property"}],"url":"#column-rule"}, "column-width": {"dfnID":"column-width","dfnText":"column width","external":false,"refSections":[],"url":"#column-width"}, "d04b6986": {"dfnID":"d04b6986","dfnText":"<color>","external":true,"refSections":[{"refs":[{"id":"ref-for-typedef-color"},{"id":"ref-for-typedef-color\u2460"}],"title":"4.2. The Color of Column Rules: the\ncolumn-rule-color property"}],"url":"https://www.w3.org/TR/css-color-5/#typedef-color"}, "d73c993d": {"dfnID":"d73c993d","dfnText":"<integer>","external":true,"refSections":[{"refs":[{"id":"ref-for-integer-value"},{"id":"ref-for-integer-value\u2460"}],"title":"3.2. The Number of Columns: the column-count property"}],"url":"https://www.w3.org/TR/css-values-4/#integer-value"}, "dec20430": {"dfnID":"dec20430","dfnText":"absolutely positioned box","external":true,"refSections":[{"refs":[{"id":"ref-for-absolute-position"}],"title":"2. \nThe Multi-Column Model"},{"refs":[{"id":"ref-for-absolute-position\u2460"}],"title":"6.1. Spanning An Element Across Columns: the column-span property"}],"url":"https://www.w3.org/TR/css-position-3/#absolute-position"}, "df72a52c": {"dfnID":"df72a52c","dfnText":"grid container","external":true,"refSections":[{"refs":[{"id":"ref-for-grid-container"}],"title":"1. \nIntroduction"}],"url":"https://www.w3.org/TR/css-grid-2/#grid-container"}, "e1674793": {"dfnID":"e1674793","dfnText":"border","external":true,"refSections":[{"refs":[{"id":"ref-for-propdef-border"},{"id":"ref-for-propdef-border\u2460"}],"title":"1. \nIntroduction"}],"url":"https://www.w3.org/TR/css-backgrounds-3/#propdef-border"}, "e4f1fc8b": {"dfnID":"e4f1fc8b","dfnText":"block formatting context","external":true,"refSections":[{"refs":[{"id":"ref-for-block-formatting-context"},{"id":"ref-for-block-formatting-context\u2460"},{"id":"ref-for-block-formatting-context\u2461"}],"title":"2. \nThe Multi-Column Model"},{"refs":[{"id":"ref-for-block-formatting-context\u2462"},{"id":"ref-for-block-formatting-context\u2463"}],"title":"6.1. Spanning An Element Across Columns: the column-span property"},{"refs":[{"id":"ref-for-block-formatting-context\u2464"}],"title":"Changes from the Working Draft (WD) of 28 May 2018"}],"url":"https://www.w3.org/TR/css-display-3/#block-formatting-context"}, "e7c6bf78": {"dfnID":"e7c6bf78","dfnText":"transform","external":true,"refSections":[{"refs":[{"id":"ref-for-propdef-transform"}],"title":"6.1. Spanning An Element Across Columns: the column-span property"}],"url":"https://www.w3.org/TR/css-transforms-1/#propdef-transform"}, "e975f960": {"dfnID":"e975f960","dfnText":"normal","external":true,"refSections":[{"refs":[{"id":"ref-for-valdef-row-gap-normal"}],"title":"4.1. Gutters Between Columns: the column-gap property"}],"url":"https://www.w3.org/TR/css-align-3/#valdef-row-gap-normal"}, "eb306f02": {"dfnID":"eb306f02","dfnText":"break-before","external":true,"refSections":[{"refs":[{"id":"ref-for-propdef-break-before"}],"title":"5. \nColumn Breaks"},{"refs":[{"id":"ref-for-propdef-break-before\u2460"},{"id":"ref-for-propdef-break-before\u2461"}],"title":"5.1. Controlling Fragmentation: the break-before, break-after, break-inside properties"}],"url":"https://www.w3.org/TR/css-break-3/#propdef-break-before"}, "ffcb5356": {"dfnID":"ffcb5356","dfnText":"out of flow","external":true,"refSections":[{"refs":[{"id":"ref-for-out-of-flow"},{"id":"ref-for-out-of-flow\u2460"}],"title":"6.1. Spanning An Element Across Columns: the column-span property"}],"url":"https://www.w3.org/TR/css-display-3/#out-of-flow"}, "ffeb15ad": {"dfnID":"ffeb15ad","dfnText":"<line-style>","external":true,"refSections":[{"refs":[{"id":"ref-for-typedef-line-style"},{"id":"ref-for-typedef-line-style\u2460"}],"title":"4.3. The Style Of Column Rules: the column-rule-style property"}],"url":"https://www.w3.org/TR/css-backgrounds-3/#typedef-line-style"}, "multi-column-container": {"dfnID":"multi-column-container","dfnText":"multi-column container","external":false,"refSections":[{"refs":[{"id":"ref-for-multi-column-container"},{"id":"ref-for-multi-column-container\u2460"}],"title":"1. \nIntroduction"},{"refs":[{"id":"ref-for-multi-column-container\u2461"},{"id":"ref-for-multi-column-container\u2462"},{"id":"ref-for-multi-column-container\u2463"},{"id":"ref-for-multi-column-container\u2464"},{"id":"ref-for-multi-column-container\u2465"},{"id":"ref-for-multi-column-container\u2466"},{"id":"ref-for-multi-column-container\u2467"},{"id":"ref-for-multi-column-container\u2468"}],"title":"2. \nThe Multi-Column Model"},{"refs":[{"id":"ref-for-multi-column-container\u2460\u24ea"}],"title":"3.2. The Number of Columns: the column-count property"},{"refs":[{"id":"ref-for-multi-column-container\u2460\u2460"},{"id":"ref-for-multi-column-container\u2460\u2461"},{"id":"ref-for-multi-column-container\u2460\u2462"},{"id":"ref-for-multi-column-container\u2460\u2463"},{"id":"ref-for-multi-column-container\u2460\u2464"},{"id":"ref-for-multi-column-container\u2460\u2465"}],"title":"4. Column Gaps and Rules"},{"refs":[{"id":"ref-for-multi-column-container\u2460\u2466"},{"id":"ref-for-multi-column-container\u2460\u2467"},{"id":"ref-for-multi-column-container\u2460\u2468"},{"id":"ref-for-multi-column-container\u2461\u24ea"},{"id":"ref-for-multi-column-container\u2461\u2460"}],"title":"6.1. Spanning An Element Across Columns: the column-span property"},{"refs":[{"id":"ref-for-multi-column-container\u2461\u2461"}],"title":"Changes from the Candidate Recommendation (CR) of 12 October 2021"}],"url":"#multi-column-container"}, "multi-column-formatting-context": {"dfnID":"multi-column-formatting-context","dfnText":"multi-column formatting context","external":false,"refSections":[{"refs":[{"id":"ref-for-multi-column-formatting-context"}],"title":"4.1. Gutters Between Columns: the column-gap property"}],"url":"#multi-column-formatting-context"}, "multi-column-layout": {"dfnID":"multi-column-layout","dfnText":"multi-column layout","external":false,"refSections":[{"refs":[{"id":"ref-for-multi-column-layout"}],"title":"2. \nThe Multi-Column Model"}],"url":"#multi-column-layout"}, "multi-column-line": {"dfnID":"multi-column-line","dfnText":"multicol lines","external":false,"refSections":[{"refs":[{"id":"ref-for-multi-column-line"},{"id":"ref-for-multi-column-line\u2460"},{"id":"ref-for-multi-column-line\u2461"},{"id":"ref-for-multi-column-line\u2462"}],"title":"2. \nThe Multi-Column Model"},{"refs":[{"id":"ref-for-multi-column-line\u2463"},{"id":"ref-for-multi-column-line\u2464"},{"id":"ref-for-multi-column-line\u2465"},{"id":"ref-for-multi-column-line\u2466"}],"title":"6.1. Spanning An Element Across Columns: the column-span property"},{"refs":[{"id":"ref-for-multi-column-line\u2467"}],"title":"7.1. Column Balancing: the column-fill property"}],"url":"#multi-column-line"}, "multi-column-spanner": {"dfnID":"multi-column-spanner","dfnText":"multi-column spanner","external":false,"refSections":[{"refs":[{"id":"ref-for-multi-column-spanner"},{"id":"ref-for-multi-column-spanner\u2460"}],"title":"2. \nThe Multi-Column Model"},{"refs":[{"id":"ref-for-multi-column-spanner\u2461"},{"id":"ref-for-multi-column-spanner\u2462"}],"title":"6.1. Spanning An Element Across Columns: the column-span property"},{"refs":[{"id":"ref-for-multi-column-spanner\u2463"}],"title":"7.1. Column Balancing: the column-fill property"}],"url":"#multi-column-spanner"}, "multi-column-spanning-element": {"dfnID":"multi-column-spanning-element","dfnText":"multi-column spanning element","external":false,"refSections":[],"url":"#multi-column-spanning-element"}, "overflow-columns": {"dfnID":"overflow-columns","dfnText":"overflow columns","external":false,"refSections":[],"url":"#overflow-columns"}, "propdef-column-count": {"dfnID":"propdef-column-count","dfnText":"column-count","external":false,"refSections":[{"refs":[{"id":"ref-for-propdef-column-count"}],"title":"2. \nThe Multi-Column Model"},{"refs":[{"id":"ref-for-propdef-column-count\u2460"},{"id":"ref-for-propdef-column-count\u2461"}],"title":"3. \nThe Number and Width of Columns"},{"refs":[{"id":"ref-for-propdef-column-count\u2462"}],"title":"3.1. The Inline Size of Columns: the column-width property"},{"refs":[{"id":"ref-for-propdef-column-count\u2463"},{"id":"ref-for-propdef-column-count\u2464"}],"title":"3.2. The Number of Columns: the column-count property"},{"refs":[{"id":"ref-for-propdef-column-count\u2465"},{"id":"ref-for-propdef-column-count\u2466"},{"id":"ref-for-propdef-column-count\u2467"}],"title":"3.3. The column-width and column-count Shorthand: The columns Property"},{"refs":[{"id":"ref-for-propdef-column-count\u2468"},{"id":"ref-for-propdef-column-count\u2460\u24ea"},{"id":"ref-for-propdef-column-count\u2460\u2460"}],"title":"3.4. The Pseudo-algorithm"},{"refs":[{"id":"ref-for-propdef-column-count\u2460\u2461"},{"id":"ref-for-propdef-column-count\u2460\u2462"}],"title":"Changes from the\nCandidate Recommendation (CR) of 12 April 2011."}],"url":"#propdef-column-count"}, "propdef-column-fill": {"dfnID":"propdef-column-fill","dfnText":"column-fill","external":false,"refSections":[{"refs":[{"id":"ref-for-propdef-column-fill"}],"title":"1. \nIntroduction"},{"refs":[{"id":"ref-for-propdef-column-fill\u2460"}],"title":"7.1. Column Balancing: the column-fill property"},{"refs":[{"id":"ref-for-propdef-column-fill\u2461"},{"id":"ref-for-propdef-column-fill\u2462"},{"id":"ref-for-propdef-column-fill\u2463"}],"title":"Changes from the\nCandidate Recommendation (CR) of 12 April 2011."}],"url":"#propdef-column-fill"}, "propdef-column-rule": {"dfnID":"propdef-column-rule","dfnText":"column-rule","external":false,"refSections":[{"refs":[{"id":"ref-for-propdef-column-rule"},{"id":"ref-for-propdef-column-rule\u2460"},{"id":"ref-for-propdef-column-rule\u2461"},{"id":"ref-for-propdef-column-rule\u2462"}],"title":"1. \nIntroduction"},{"refs":[{"id":"ref-for-propdef-column-rule\u2463"}],"title":"4.5. Column Rule Shorthand: the column-rule property"}],"url":"#propdef-column-rule"}, "propdef-column-rule-color": {"dfnID":"propdef-column-rule-color","dfnText":"column-rule-color","external":false,"refSections":[{"refs":[{"id":"ref-for-propdef-column-rule-color"}],"title":"4.2. The Color of Column Rules: the\ncolumn-rule-color property"},{"refs":[{"id":"ref-for-propdef-column-rule-color\u2460"},{"id":"ref-for-propdef-column-rule-color\u2461"}],"title":"4.5. Column Rule Shorthand: the column-rule property"}],"url":"#propdef-column-rule-color"}, "propdef-column-rule-style": {"dfnID":"propdef-column-rule-style","dfnText":"column-rule-style","external":false,"refSections":[{"refs":[{"id":"ref-for-propdef-column-rule-style"},{"id":"ref-for-propdef-column-rule-style\u2460"}],"title":"4.3. The Style Of Column Rules: the column-rule-style property"},{"refs":[{"id":"ref-for-propdef-column-rule-style\u2461"},{"id":"ref-for-propdef-column-rule-style\u2462"}],"title":"4.5. Column Rule Shorthand: the column-rule property"}],"url":"#propdef-column-rule-style"}, "propdef-column-rule-width": {"dfnID":"propdef-column-rule-width","dfnText":"column-rule-width","external":false,"refSections":[{"refs":[{"id":"ref-for-propdef-column-rule-width"}],"title":"4.3. The Style Of Column Rules: the column-rule-style property"},{"refs":[{"id":"ref-for-propdef-column-rule-width\u2460"}],"title":"4.4. The Width Of Column Rules: the column-rule-width property"},{"refs":[{"id":"ref-for-propdef-column-rule-width\u2461"},{"id":"ref-for-propdef-column-rule-width\u2462"}],"title":"4.5. Column Rule Shorthand: the column-rule property"},{"refs":[{"id":"ref-for-propdef-column-rule-width\u2463"}],"title":"Changes from the\nCandidate Recommendation (CR) of 12 April 2011."}],"url":"#propdef-column-rule-width"}, "propdef-column-span": {"dfnID":"propdef-column-span","dfnText":"column-span","external":false,"refSections":[{"refs":[{"id":"ref-for-propdef-column-span"}],"title":"1. \nIntroduction"},{"refs":[{"id":"ref-for-propdef-column-span\u2460"}],"title":"6. \nSpanning Columns"},{"refs":[{"id":"ref-for-propdef-column-span\u2461"},{"id":"ref-for-propdef-column-span\u2462"},{"id":"ref-for-propdef-column-span\u2463"},{"id":"ref-for-propdef-column-span\u2464"},{"id":"ref-for-propdef-column-span\u2465"},{"id":"ref-for-propdef-column-span\u2466"}],"title":"6.1. Spanning An Element Across Columns: the column-span property"},{"refs":[{"id":"ref-for-propdef-column-span\u2467"}],"title":"Changes from the\nCandidate Recommendation (CR) of 12 April 2011."}],"url":"#propdef-column-span"}, "propdef-column-width": {"dfnID":"propdef-column-width","dfnText":"column-width","external":false,"refSections":[{"refs":[{"id":"ref-for-propdef-column-width"},{"id":"ref-for-propdef-column-width\u2460"}],"title":"2. \nThe Multi-Column Model"},{"refs":[{"id":"ref-for-propdef-column-width\u2461"},{"id":"ref-for-propdef-column-width\u2462"}],"title":"3. \nThe Number and Width of Columns"},{"refs":[{"id":"ref-for-propdef-column-width\u2463"},{"id":"ref-for-propdef-column-width\u2464"},{"id":"ref-for-propdef-column-width\u2465"}],"title":"3.1. The Inline Size of Columns: the column-width property"},{"refs":[{"id":"ref-for-propdef-column-width\u2466"},{"id":"ref-for-propdef-column-width\u2467"}],"title":"3.2. The Number of Columns: the column-count property"},{"refs":[{"id":"ref-for-propdef-column-width\u2468"},{"id":"ref-for-propdef-column-width\u2460\u24ea"},{"id":"ref-for-propdef-column-width\u2460\u2460"}],"title":"3.3. The column-width and column-count Shorthand: The columns Property"},{"refs":[{"id":"ref-for-propdef-column-width\u2460\u2461"},{"id":"ref-for-propdef-column-width\u2460\u2462"}],"title":"3.4. The Pseudo-algorithm"},{"refs":[{"id":"ref-for-propdef-column-width\u2460\u2463"},{"id":"ref-for-propdef-column-width\u2460\u2464"}],"title":"Changes from the\nCandidate Recommendation (CR) of 12 April 2011."}],"url":"#propdef-column-width"}, "propdef-columns": {"dfnID":"propdef-columns","dfnText":"columns","external":false,"refSections":[{"refs":[{"id":"ref-for-propdef-columns"}],"title":"1. \nIntroduction"},{"refs":[{"id":"ref-for-propdef-columns\u2460"}],"title":"3. \nThe Number and Width of Columns"},{"refs":[{"id":"ref-for-propdef-columns\u2461"},{"id":"ref-for-propdef-columns\u2462"}],"title":"3.3. The column-width and column-count Shorthand: The columns Property"},{"refs":[{"id":"ref-for-propdef-columns\u2463"}],"title":"Changes from the\nCandidate Recommendation (CR) of 12 April 2011."}],"url":"#propdef-columns"}, "valdef-column-count-auto": {"dfnID":"valdef-column-count-auto","dfnText":"auto","external":false,"refSections":[],"url":"#valdef-column-count-auto"}, "valdef-column-count-integer-1": {"dfnID":"valdef-column-count-integer-1","dfnText":"<integer [1,\u221e]>","external":false,"refSections":[],"url":"#valdef-column-count-integer-1"}, "valdef-column-fill-auto": {"dfnID":"valdef-column-fill-auto","dfnText":"auto","external":false,"refSections":[],"url":"#valdef-column-fill-auto"}, "valdef-column-fill-balance": {"dfnID":"valdef-column-fill-balance","dfnText":"balance","external":false,"refSections":[],"url":"#valdef-column-fill-balance"}, "valdef-column-fill-balance-all": {"dfnID":"valdef-column-fill-balance-all","dfnText":"balance-all","external":false,"refSections":[],"url":"#valdef-column-fill-balance-all"}, "valdef-column-rule-color-color": {"dfnID":"valdef-column-rule-color-color","dfnText":"<color>","external":false,"refSections":[],"url":"#valdef-column-rule-color-color"}, "valdef-column-span-all": {"dfnID":"valdef-column-span-all","dfnText":"all","external":false,"refSections":[{"refs":[{"id":"ref-for-valdef-column-span-all"},{"id":"ref-for-valdef-column-span-all\u2460"},{"id":"ref-for-valdef-column-span-all\u2461"}],"title":"6.1. Spanning An Element Across Columns: the column-span property"}],"url":"#valdef-column-span-all"}, "valdef-column-span-none": {"dfnID":"valdef-column-span-none","dfnText":"none","external":false,"refSections":[{"refs":[{"id":"ref-for-valdef-column-span-none"}],"title":"6.1. Spanning An Element Across Columns: the column-span property"}],"url":"#valdef-column-span-none"}, "valdef-column-width-auto": {"dfnID":"valdef-column-width-auto","dfnText":"auto","external":false,"refSections":[{"refs":[{"id":"ref-for-valdef-column-width-auto"}],"title":"2. \nThe Multi-Column Model"},{"refs":[{"id":"ref-for-valdef-column-width-auto\u2460"}],"title":"3.1. The Inline Size of Columns: the column-width property"}],"url":"#valdef-column-width-auto"}, "valdef-column-width-length-0": {"dfnID":"valdef-column-width-length-0","dfnText":"<length [0,\u221e]>","external":false,"refSections":[],"url":"#valdef-column-width-length-0"}, }; document.addEventListener("DOMContentLoaded", ()=>{ genAllDfnPanels(); document.body.addEventListener("click", (e) => { // If not handled already, just hide all dfn panels. hideAllDfnPanels(); }); }); window.addEventListener("resize", () => { // Pin any visible dfn panel queryAll(".dfn-panel.on, .dfn-panel.activated").forEach(el=>positionDfnPanel(el)); }); function genAllDfnPanels() { for(const panelData of Object.values(dfnPanelData)) { const dfnID = panelData.dfnID; const dfn = document.getElementById(dfnID); if(!dfn) { console.log(`Can't find dfn#${dfnID}.`, panelData); continue; } dfn.panelData = panelData; insertDfnPopupAction(dfn); } } function genDfnPanel(dfn, { dfnID, url, dfnText, refSections, external }) { const dfnPanel = mk.aside({ class: "dfn-panel on", id: `infopanel-for-${dfnID}`, "data-for": dfnID, "aria-labelled-by":`infopaneltitle-for-${dfnID}`, }, mk.span({id:`infopaneltitle-for-${dfnID}`, style:"display:none"}, `Info about the '${dfnText}' ${external?"external":""} reference.`), mk.a({href:url, class:"dfn-link"}, url), refSections.length == 0 ? [] : mk.b({}, "Referenced in:"), mk.ul({}, ...refSections.map(section=> mk.li({}, ...section.refs.map((ref, refI)=> [ mk.a({ href: `#${ref.id}` }, (refI == 0) ? section.title : `(${refI + 1})` ), " ", ] ), ), ), ), genLinkingSyntaxes(dfn), ); dfnPanel.addEventListener('click', (event) => { if (event.target.nodeName == 'A') { scrollToTargetAndHighlight(event); pinDfnPanel(dfnPanel); } event.stopPropagation(); refocusOnTarget(event); }); dfnPanel.addEventListener('keydown', (event) => { if(event.keyCode == 27) { // Escape key hideDfnPanel({dfnPanel}); event.stopPropagation(); event.preventDefault(); } }); dfnPanel.dfn = dfn; dfn.dfnPanel = dfnPanel; return dfnPanel; } function hideAllDfnPanels() { // Delete the currently-active dfn panel. queryAll(".dfn-panel").forEach(dfnPanel=>hideDfnPanel({dfnPanel})); } function showDfnPanel(dfn) { hideAllDfnPanels(); // Only display one at a time. dfn.setAttribute("aria-expanded", "true"); const dfnPanel = genDfnPanel(dfn, dfn.panelData); // Give the dfn a unique tabindex, and then // give all the tabbable panel bits successive indexes. let tabIndex = 100; dfn.tabIndex = tabIndex++; const tabbable = dfnPanel.querySelectorAll(":is(a, button)"); for (const el of tabbable) { el.tabIndex = tabIndex++; } append(document.body, dfnPanel); positionDfnPanel(dfnPanel); } function positionDfnPanel(dfnPanel) { const dfn = dfnPanel.dfn; const dfnPos = getBounds(dfn); dfnPanel.style.top = dfnPos.bottom + "px"; dfnPanel.style.left = dfnPos.left + "px"; const panelPos = dfnPanel.getBoundingClientRect(); const panelMargin = 8; const maxRight = document.body.parentNode.clientWidth - panelMargin; if (panelPos.right > maxRight) { const overflowAmount = panelPos.right - maxRight; const newLeft = Math.max(panelMargin, dfnPos.left - overflowAmount); dfnPanel.style.left = newLeft + "px"; } } function pinDfnPanel(dfnPanel) { // Switch it to "activated" state, which pins it. dfnPanel.classList.add("activated"); dfnPanel.style.position = "fixed"; dfnPanel.style.left = null; dfnPanel.style.top = null; } function hideDfnPanel({dfn, dfnPanel}) { if(!dfnPanel) dfnPanel = dfn.dfnPanel; if(!dfn) dfn = dfnPanel.dfn; dfn.dfnPanel = undefined; dfnPanel.dfn = undefined; dfn.setAttribute("aria-expanded", "false"); dfn.tabIndex = undefined; dfnPanel.remove() } function toggleDfnPanel(dfn) { if(dfn.dfnPanel) { hideDfnPanel(dfn); } else { showDfnPanel(dfn); } } function insertDfnPopupAction(dfn) { dfn.setAttribute('role', 'button'); dfn.setAttribute('aria-expanded', 'false') dfn.tabIndex = 0; dfn.classList.add('has-dfn-panel'); dfn.addEventListener('click', (event) => { toggleDfnPanel(dfn); event.stopPropagation(); }); dfn.addEventListener('keypress', (event) => { const kc = event.keyCode; // 32->Space, 13->Enter if(kc == 32 || kc == 13) { toggleDfnPanel(dfn); event.stopPropagation(); event.preventDefault(); } }); } function refocusOnTarget(event) { const target = event.target; setTimeout(() => { // Refocus on the event.target element. // This is needed after browser scrolls to the destination. target.focus(); }); } // TODO: shared util // Returns the root-level absolute position {left and top} of element. function getBounds(el, relativeTo=document.body) { const relativeRect = relativeTo.getBoundingClientRect(); const elRect = el.getBoundingClientRect(); const top = elRect.top - relativeRect.top; const left = elRect.left - relativeRect.left; return { top, left, bottom: top + elRect.height, right: left + elRect.width, } } function scrollToTargetAndHighlight(event) { let hash = event.target.hash; if (hash) { hash = decodeURIComponent(hash.substring(1)); const dest = document.getElementById(hash); if (dest) { dest.classList.add('highlighted'); setTimeout(() => dest.classList.remove('highlighted'), 1000); } } } // Functions, divided by link type, that wrap an autolink's // contents with the appropriate outer syntax. // Alternately, a string naming another type they format // the same as. function needsFor(type) { switch(type) { case "descriptor": case "value": case "element-attr": case "attr-value": case "element-state": case "method": case "constructor": case "argument": case "attribute": case "const": case "dict-member": case "event": case "enum-value": case "stringifier": case "serializer": case "iterator": case "maplike": case "setlike": case "state": case "mode": case "context": case "facet": return true; default: return false; } } function refusesFor(type) { switch(type) { case "property": case "element": case "interface": case "namespace": case "callback": case "dictionary": case "enum": case "exception": case "typedef": case "http-header": case "permission": return true; default: return false; } } function linkFormatterFromType(type) { switch(type) { case 'scheme': case 'permission': case 'dfn': return (text) => `[=${text}=]`; case 'abstract-op': return (text) => `[\$${text}\$]`; case 'function': case 'at-rule': case 'selector': case 'value': return (text) => `''${text}''`; case 'http-header': return (text) => `[:${text}:]`; case 'interface': case 'constructor': case 'method': case 'argument': case 'attribute': case 'callback': case 'dictionary': case 'dict-member': case 'enum': case 'enum-value': case 'exception': case 'const': case 'typedef': case 'stringifier': case 'serializer': case 'iterator': case 'maplike': case 'setlike': case 'extended-attribute': case 'event': case 'idl': return (text) => `{{${text}}}`; case 'element-state': case 'element-attr': case 'attr-value': case 'element': return (element) => `<{${element}}>`; case 'grammar': return (text) => `${text} (within a <pre class=prod>)`; case 'type': return (text)=> `<<${text}>>`; case 'descriptor': case 'property': return (text) => `'${text}'`; default: return; }; }; function genLinkingSyntaxes(dfn) { if(dfn.tagName != "DFN") return; const type = dfn.getAttribute('data-dfn-type'); if(!type) { console.log(`<dfn> doesn't have a data-dfn-type:`, dfn); return []; } // Return a function that wraps link text based on the type const linkFormatter = linkFormatterFromType(type); if(!linkFormatter) { console.log(`<dfn> has an unknown data-dfn-type:`, dfn); return []; } let ltAlts; if(dfn.hasAttribute('data-lt')) { ltAlts = dfn.getAttribute('data-lt') .split("|") .map(x=>x.trim()); } else { ltAlts = [dfn.textContent.trim()]; } if(type == "type") { // lt of "<foo>", but "foo" is the interior; // <<foo/bar>> is how you write it with a for, // not <foo/<bar>> or whatever. for(var i = 0; i < ltAlts.length; i++) { const lt = ltAlts[i]; const match = /<(.*)>/.exec(lt); if(match) { ltAlts[i] = match[1]; } } } let forAlts; if(dfn.hasAttribute('data-dfn-for')) { forAlts = dfn.getAttribute('data-dfn-for') .split(",") .map(x=>x.trim()); } else { forAlts = ['']; } let linkingSyntaxes = []; if(!needsFor(type)) { for(const lt of ltAlts) { linkingSyntaxes.push(linkFormatter(lt)); } } if(!refusesFor(type)) { for(const f of forAlts) { linkingSyntaxes.push(linkFormatter(`${f}/${ltAlts[0]}`)) } } return [ mk.b({}, 'Possible linking syntaxes:'), mk.ul({}, ...linkingSyntaxes.map(link => { const copyLink = async () => await navigator.clipboard.writeText(link); return mk.li({}, mk.div({ class: 'link-item' }, mk.button({ class: 'copy-icon', title: 'Copy', type: 'button', _onclick: copyLink, tabindex: 0, }, mk.span({ class: 'icon' }) ), mk.span({}, link) ) ); }) ) ]; } } </script> <script>/* Boilerplate: script-link-titles */ "use strict"; { let linkTitleData = { "https://www.w3.org/TR/css-backgrounds-3/#typedef-line-style": "Expands to: dashed | dotted | double | groove | hidden | inset | none | outset | ridge | solid", "https://www.w3.org/TR/css-backgrounds-3/#typedef-line-width": "Expands to: medium | thick | thin", "https://www.w3.org/TR/css-color-5/#typedef-color": "Expands to: <alpha-value> | accentcolor | accentcolortext | activeborder | activecaption | activetext | aliceblue | antiquewhite | appworkspace | aqua | aquamarine | azure | background | beige | bisque | black | blanchedalmond | blue | blueviolet | brown | burlywood | buttonborder | buttonface | buttonhighlight | buttonshadow | buttontext | cadetblue | canvas | canvastext | captiontext | chartreuse | chocolate | coral | cornflowerblue | cornsilk | crimson | currentcolor | cyan | darkblue | darkcyan | darkgoldenrod | darkgray | darkgreen | darkgrey | darkkhaki | darkmagenta | darkolivegreen | darkorange | darkorchid | darkred | darksalmon | darkseagreen | darkslateblue | darkslategray | darkslategrey | darkturquoise | darkviolet | deeppink | deepskyblue | dimgray | dimgrey | dodgerblue | field | fieldtext | firebrick | floralwhite | forestgreen | fuchsia | gainsboro | ghostwhite | gold | goldenrod | gray | graytext | green | greenyellow | grey | highlight | highlighttext | honeydew | hotpink | inactiveborder | inactivecaption | inactivecaptiontext | indianred | indigo | infobackground | infotext | ivory | khaki | lavender | lavenderblush | lawngreen | lemonchiffon | lightblue | lightcoral | lightcyan | lightgoldenrodyellow | lightgray | lightgreen | lightgrey | lightpink | lightsalmon | lightseagreen | lightskyblue | lightslategray | lightslategrey | lightsteelblue | lightyellow | lime | limegreen | linen | linktext | magenta | mark | marktext | maroon | mediumaquamarine | mediumblue | mediumorchid | mediumpurple | mediumseagreen | mediumslateblue | mediumspringgreen | mediumturquoise | mediumvioletred | menu | menutext | midnightblue | mintcream | mistyrose | moccasin | navajowhite | navy | none | oldlace | olive | olivedrab | orange | orangered | orchid | palegoldenrod | palegreen | paleturquoise | palevioletred | papayawhip | peachpuff | peru | pink | plum | powderblue | purple | rebeccapurple | red | rosybrown | royalblue | saddlebrown | salmon | sandybrown | scrollbar | seagreen | seashell | selecteditem | selecteditemtext | sienna | silver | skyblue | slateblue | slategray | slategrey | snow | springgreen | steelblue | tan | teal | thistle | threeddarkshadow | threedface | threedhighlight | threedlightshadow | threedshadow | tomato | transparent | turquoise | violet | visitedtext | wheat | white | whitesmoke | window | windowframe | windowtext | yellow | yellowgreen", "https://www.w3.org/TR/css-values-4/#length-value": "Expands to: advance measure | cap | ch | cm | dvb | dvh | dvi | dvmax | dvmin | dvw | em | ex | ic | in | lh | lvb | lvh | lvi | lvmax | lvmin | lvw | mm | pc | pt | px | q | rcap | rch | rem | rex | ric | rlh | svb | svh | svi | svmax | svmin | svw | vb | vh | vi | vmax | vmin | vw", }; function setTypeTitles() { for(let el of document.querySelectorAll("a[href]")) { if(el.href in linkTitleData && !el.hasAttribute("title")) { el.setAttribute("title", linkTitleData[el.href]); } } } document.addEventListener("DOMContentLoaded", setTypeTitles); } </script> <script>/* Boilerplate: script-ref-hints */ "use strict"; { let refsData = { "#column-box": {"export":true,"for_":[],"level":"1","normative":true,"shortname":"css-multicol","spec":"css-multicol-1","status":"local","text":"column box","type":"dfn","url":"#column-box"}, "#column-gap": {"export":true,"for_":[],"level":"1","normative":true,"shortname":"css-multicol","spec":"css-multicol-1","status":"local","text":"column gap","type":"dfn","url":"#column-gap"}, "#column-rule": {"export":true,"for_":[],"level":"1","normative":true,"shortname":"css-multicol","spec":"css-multicol-1","status":"local","text":"column rule","type":"dfn","url":"#column-rule"}, "#multi-column-container": {"export":true,"for_":[],"level":"1","normative":true,"shortname":"css-multicol","spec":"css-multicol-1","status":"local","text":"multi-column container","type":"dfn","url":"#multi-column-container"}, "#multi-column-formatting-context": {"export":true,"for_":[],"level":"1","normative":true,"shortname":"css-multicol","spec":"css-multicol-1","status":"local","text":"multi-column formatting context","type":"dfn","url":"#multi-column-formatting-context"}, "#multi-column-layout": {"export":true,"for_":[],"level":"1","normative":true,"shortname":"css-multicol","spec":"css-multicol-1","status":"local","text":"multi-column layout","type":"dfn","url":"#multi-column-layout"}, "#multi-column-line": {"export":true,"for_":[],"level":"1","normative":true,"shortname":"css-multicol","spec":"css-multicol-1","status":"local","text":"multicol line","type":"dfn","url":"#multi-column-line"}, "#multi-column-spanner": {"export":true,"for_":[],"level":"1","normative":true,"shortname":"css-multicol","spec":"css-multicol-1","status":"local","text":"spanner","type":"dfn","url":"#multi-column-spanner"}, "#propdef-column-count": {"export":true,"for_":[],"level":"1","normative":true,"shortname":"css-multicol","spec":"css-multicol-1","status":"local","text":"column-count","type":"property","url":"#propdef-column-count"}, "#propdef-column-fill": {"export":true,"for_":[],"level":"1","normative":true,"shortname":"css-multicol","spec":"css-multicol-1","status":"local","text":"column-fill","type":"property","url":"#propdef-column-fill"}, "#propdef-column-rule": {"export":true,"for_":[],"level":"1","normative":true,"shortname":"css-multicol","spec":"css-multicol-1","status":"local","text":"column-rule","type":"property","url":"#propdef-column-rule"}, "#propdef-column-rule-color": {"export":true,"for_":[],"level":"1","normative":true,"shortname":"css-multicol","spec":"css-multicol-1","status":"local","text":"column-rule-color","type":"property","url":"#propdef-column-rule-color"}, "#propdef-column-rule-style": {"export":true,"for_":[],"level":"1","normative":true,"shortname":"css-multicol","spec":"css-multicol-1","status":"local","text":"column-rule-style","type":"property","url":"#propdef-column-rule-style"}, "#propdef-column-rule-width": {"export":true,"for_":[],"level":"1","normative":true,"shortname":"css-multicol","spec":"css-multicol-1","status":"local","text":"column-rule-width","type":"property","url":"#propdef-column-rule-width"}, "#propdef-column-span": {"export":true,"for_":[],"level":"1","normative":true,"shortname":"css-multicol","spec":"css-multicol-1","status":"local","text":"column-span","type":"property","url":"#propdef-column-span"}, "#propdef-column-width": {"export":true,"for_":[],"level":"1","normative":true,"shortname":"css-multicol","spec":"css-multicol-1","status":"local","text":"column-width","type":"property","url":"#propdef-column-width"}, "#propdef-columns": {"export":true,"for_":[],"level":"1","normative":true,"shortname":"css-multicol","spec":"css-multicol-1","status":"local","text":"columns","type":"property","url":"#propdef-columns"}, "#valdef-column-span-all": {"export":true,"for_":["column-span"],"level":"1","normative":true,"shortname":"css-multicol","spec":"css-multicol-1","status":"local","text":"all","type":"value","url":"#valdef-column-span-all"}, "#valdef-column-span-none": {"export":true,"for_":["column-span"],"level":"1","normative":true,"shortname":"css-multicol","spec":"css-multicol-1","status":"local","text":"none","type":"value","url":"#valdef-column-span-none"}, "#valdef-column-width-auto": {"export":true,"for_":["column-width"],"level":"1","normative":true,"shortname":"css-multicol","spec":"css-multicol-1","status":"local","text":"auto","type":"value","url":"#valdef-column-width-auto"}, "https://www.w3.org/TR/css-align-3/#propdef-column-gap": {"export":true,"for_":[],"level":"3","normative":true,"shortname":"css-align","spec":"css-align-3","status":"snapshot","text":"column-gap","type":"property","url":"https://www.w3.org/TR/css-align-3/#propdef-column-gap"}, "https://www.w3.org/TR/css-align-3/#valdef-row-gap-normal": {"export":true,"for_":["row-gap","column-gap","gap"],"level":"3","normative":true,"shortname":"css-align","spec":"css-align-3","status":"snapshot","text":"normal","type":"value","url":"https://www.w3.org/TR/css-align-3/#valdef-row-gap-normal"}, "https://www.w3.org/TR/css-backgrounds-3/#propdef-border": {"export":true,"for_":[],"level":"3","normative":true,"shortname":"css-backgrounds","spec":"css-backgrounds-3","status":"snapshot","text":"border","type":"property","url":"https://www.w3.org/TR/css-backgrounds-3/#propdef-border"}, "https://www.w3.org/TR/css-backgrounds-3/#typedef-line-style": {"export":true,"for_":[],"level":"3","normative":true,"shortname":"css-backgrounds","spec":"css-backgrounds-3","status":"snapshot","text":"<line-style>","type":"type","url":"https://www.w3.org/TR/css-backgrounds-3/#typedef-line-style"}, "https://www.w3.org/TR/css-backgrounds-3/#typedef-line-width": {"export":true,"for_":[],"level":"3","normative":true,"shortname":"css-backgrounds","spec":"css-backgrounds-3","status":"snapshot","text":"<line-width>","type":"type","url":"https://www.w3.org/TR/css-backgrounds-3/#typedef-line-width"}, "https://www.w3.org/TR/css-backgrounds-3/#valdef-line-style-hidden": {"export":true,"for_":["<line-style>","border-style","border-top-style","border-left-style","border-bottom-style","border-right-style","border"],"level":"3","normative":true,"shortname":"css-backgrounds","spec":"css-backgrounds-3","status":"snapshot","text":"hidden","type":"value","url":"https://www.w3.org/TR/css-backgrounds-3/#valdef-line-style-hidden"}, "https://www.w3.org/TR/css-backgrounds-3/#valdef-line-style-none": {"export":true,"for_":["<line-style>","border-style","border-top-style","border-left-style","border-bottom-style","border-right-style","border"],"level":"3","normative":true,"shortname":"css-backgrounds","spec":"css-backgrounds-3","status":"snapshot","text":"none","type":"value","url":"https://www.w3.org/TR/css-backgrounds-3/#valdef-line-style-none"}, "https://www.w3.org/TR/css-break-3/#propdef-break-after": {"export":true,"for_":[],"level":"3","normative":true,"shortname":"css-break","spec":"css-break-3","status":"snapshot","text":"break-after","type":"property","url":"https://www.w3.org/TR/css-break-3/#propdef-break-after"}, "https://www.w3.org/TR/css-break-3/#propdef-break-before": {"export":true,"for_":[],"level":"3","normative":true,"shortname":"css-break","spec":"css-break-3","status":"snapshot","text":"break-before","type":"property","url":"https://www.w3.org/TR/css-break-3/#propdef-break-before"}, "https://www.w3.org/TR/css-break-3/#propdef-break-inside": {"export":true,"for_":[],"level":"3","normative":true,"shortname":"css-break","spec":"css-break-3","status":"snapshot","text":"break-inside","type":"property","url":"https://www.w3.org/TR/css-break-3/#propdef-break-inside"}, "https://www.w3.org/TR/css-break-3/#propdef-orphans": {"export":true,"for_":[],"level":"3","normative":true,"shortname":"css-break","spec":"css-break-3","status":"snapshot","text":"orphans","type":"property","url":"https://www.w3.org/TR/css-break-3/#propdef-orphans"}, "https://www.w3.org/TR/css-break-4/#fragment": {"export":true,"for_":[],"level":"4","normative":true,"shortname":"css-break","spec":"css-break-4","status":"snapshot","text":"fragment","type":"dfn","url":"https://www.w3.org/TR/css-break-4/#fragment"}, "https://www.w3.org/TR/css-break-4/#fragmentation": {"export":true,"for_":[],"level":"4","normative":true,"shortname":"css-break","spec":"css-break-4","status":"snapshot","text":"fragmentation","type":"dfn","url":"https://www.w3.org/TR/css-break-4/#fragmentation"}, "https://www.w3.org/TR/css-break-4/#fragmentation-container": {"export":true,"for_":[],"level":"4","normative":true,"shortname":"css-break","spec":"css-break-4","status":"snapshot","text":"fragmentation container","type":"dfn","url":"https://www.w3.org/TR/css-break-4/#fragmentation-container"}, "https://www.w3.org/TR/css-break-4/#fragmentation-context": {"export":true,"for_":[],"level":"4","normative":true,"shortname":"css-break","spec":"css-break-4","status":"snapshot","text":"fragmentation context","type":"dfn","url":"https://www.w3.org/TR/css-break-4/#fragmentation-context"}, "https://www.w3.org/TR/css-break-4/#propdef-widows": {"export":true,"for_":[],"level":"4","normative":true,"shortname":"css-break","spec":"css-break-4","status":"snapshot","text":"widows","type":"property","url":"https://www.w3.org/TR/css-break-4/#propdef-widows"}, "https://www.w3.org/TR/css-color-5/#typedef-color": {"export":true,"for_":[],"level":"5","normative":true,"shortname":"css-color","spec":"css-color-5","status":"snapshot","text":"<color>","type":"type","url":"https://www.w3.org/TR/css-color-5/#typedef-color"}, "https://www.w3.org/TR/css-display-3/#anonymous": {"export":true,"for_":["CSS"],"level":"3","normative":true,"shortname":"css-display","spec":"css-display-3","status":"snapshot","text":"anonymous box","type":"dfn","url":"https://www.w3.org/TR/css-display-3/#anonymous"}, "https://www.w3.org/TR/css-display-3/#block-container": {"export":true,"for_":[],"level":"3","normative":true,"shortname":"css-display","spec":"css-display-3","status":"snapshot","text":"block container","type":"dfn","url":"https://www.w3.org/TR/css-display-3/#block-container"}, "https://www.w3.org/TR/css-display-3/#block-formatting-context": {"export":true,"for_":[],"level":"3","normative":true,"shortname":"css-display","spec":"css-display-3","status":"snapshot","text":"block formatting context","type":"dfn","url":"https://www.w3.org/TR/css-display-3/#block-formatting-context"}, "https://www.w3.org/TR/css-display-3/#block-level-box": {"export":true,"for_":[],"level":"3","normative":true,"shortname":"css-display","spec":"css-display-3","status":"snapshot","text":"block-level box","type":"dfn","url":"https://www.w3.org/TR/css-display-3/#block-level-box"}, "https://www.w3.org/TR/css-display-3/#containing-block": {"export":true,"for_":[],"level":"3","normative":true,"shortname":"css-display","spec":"css-display-3","status":"snapshot","text":"containing block","type":"dfn","url":"https://www.w3.org/TR/css-display-3/#containing-block"}, "https://www.w3.org/TR/css-display-3/#containing-block-chain": {"export":true,"for_":[],"level":"3","normative":true,"shortname":"css-display","spec":"css-display-3","status":"snapshot","text":"containing block chain","type":"dfn","url":"https://www.w3.org/TR/css-display-3/#containing-block-chain"}, "https://www.w3.org/TR/css-display-3/#formatting-context": {"export":true,"for_":[],"level":"3","normative":true,"shortname":"css-display","spec":"css-display-3","status":"snapshot","text":"formatting context","type":"dfn","url":"https://www.w3.org/TR/css-display-3/#formatting-context"}, "https://www.w3.org/TR/css-display-3/#independent-formatting-context": {"export":true,"for_":[],"level":"3","normative":true,"shortname":"css-display","spec":"css-display-3","status":"snapshot","text":"independent formatting context","type":"dfn","url":"https://www.w3.org/TR/css-display-3/#independent-formatting-context"}, "https://www.w3.org/TR/css-display-3/#out-of-flow": {"export":true,"for_":[],"level":"3","normative":true,"shortname":"css-display","spec":"css-display-3","status":"snapshot","text":"out of flow","type":"dfn","url":"https://www.w3.org/TR/css-display-3/#out-of-flow"}, "https://www.w3.org/TR/css-display-3/#principal-box": {"export":true,"for_":[],"level":"3","normative":true,"shortname":"css-display","spec":"css-display-3","status":"snapshot","text":"principal box","type":"dfn","url":"https://www.w3.org/TR/css-display-3/#principal-box"}, "https://www.w3.org/TR/css-display-3/#propdef-display": {"export":true,"for_":[],"level":"3","normative":true,"shortname":"css-display","spec":"css-display-3","status":"snapshot","text":"display","type":"property","url":"https://www.w3.org/TR/css-display-3/#propdef-display"}, "https://www.w3.org/TR/css-grid-2/#grid-container": {"export":true,"for_":[],"level":"2","normative":true,"shortname":"css-grid","spec":"css-grid-2","status":"snapshot","text":"grid container","type":"dfn","url":"https://www.w3.org/TR/css-grid-2/#grid-container"}, "https://www.w3.org/TR/css-grid-2/#grid-item": {"export":true,"for_":[],"level":"2","normative":true,"shortname":"css-grid","spec":"css-grid-2","status":"snapshot","text":"grid item","type":"dfn","url":"https://www.w3.org/TR/css-grid-2/#grid-item"}, "https://www.w3.org/TR/css-overflow-3/#propdef-overflow": {"export":true,"for_":[],"level":"3","normative":true,"shortname":"css-overflow","spec":"css-overflow-3","status":"snapshot","text":"overflow","type":"property","url":"https://www.w3.org/TR/css-overflow-3/#propdef-overflow"}, "https://www.w3.org/TR/css-position-3/#absolute-position": {"export":true,"for_":[],"level":"3","normative":true,"shortname":"css-position","spec":"css-position-3","status":"snapshot","text":"absolutely positioned box","type":"dfn","url":"https://www.w3.org/TR/css-position-3/#absolute-position"}, "https://www.w3.org/TR/css-position-3/#propdef-position": {"export":true,"for_":[],"level":"3","normative":true,"shortname":"css-position","spec":"css-position-3","status":"snapshot","text":"position","type":"property","url":"https://www.w3.org/TR/css-position-3/#propdef-position"}, "https://www.w3.org/TR/css-sizing-3/#propdef-height": {"export":true,"for_":[],"level":"3","normative":true,"shortname":"css-sizing","spec":"css-sizing-3","status":"snapshot","text":"height","type":"property","url":"https://www.w3.org/TR/css-sizing-3/#propdef-height"}, "https://www.w3.org/TR/css-sizing-3/#propdef-max-height": {"export":true,"for_":[],"level":"3","normative":true,"shortname":"css-sizing","spec":"css-sizing-3","status":"snapshot","text":"max-height","type":"property","url":"https://www.w3.org/TR/css-sizing-3/#propdef-max-height"}, "https://www.w3.org/TR/css-sizing-3/#propdef-width": {"export":true,"for_":[],"level":"3","normative":true,"shortname":"css-sizing","spec":"css-sizing-3","status":"snapshot","text":"width","type":"property","url":"https://www.w3.org/TR/css-sizing-3/#propdef-width"}, "https://www.w3.org/TR/css-tables-3/#table-wrapper-box": {"export":true,"for_":[],"level":"3","normative":true,"shortname":"css-tables","spec":"css-tables-3","status":"snapshot","text":"table wrapper box","type":"dfn","url":"https://www.w3.org/TR/css-tables-3/#table-wrapper-box"}, "https://www.w3.org/TR/css-transforms-1/#propdef-transform": {"export":true,"for_":[],"level":"1","normative":true,"shortname":"css-transforms","spec":"css-transforms-1","status":"snapshot","text":"transform","type":"property","url":"https://www.w3.org/TR/css-transforms-1/#propdef-transform"}, "https://www.w3.org/TR/css-values-4/#comb-any": {"export":true,"for_":[],"level":"4","normative":true,"shortname":"css-values","spec":"css-values-4","status":"snapshot","text":"||","type":"grammar","url":"https://www.w3.org/TR/css-values-4/#comb-any"}, "https://www.w3.org/TR/css-values-4/#comb-one": {"export":true,"for_":[],"level":"4","normative":true,"shortname":"css-values","spec":"css-values-4","status":"snapshot","text":"|","type":"grammar","url":"https://www.w3.org/TR/css-values-4/#comb-one"}, "https://www.w3.org/TR/css-values-4/#css-wide-keywords": {"export":true,"for_":[],"level":"4","normative":true,"shortname":"css-values","spec":"css-values-4","status":"snapshot","text":"css-wide keywords","type":"dfn","url":"https://www.w3.org/TR/css-values-4/#css-wide-keywords"}, "https://www.w3.org/TR/css-values-4/#integer-value": {"export":true,"for_":[],"level":"4","normative":true,"shortname":"css-values","spec":"css-values-4","status":"snapshot","text":"<integer>","type":"type","url":"https://www.w3.org/TR/css-values-4/#integer-value"}, "https://www.w3.org/TR/css-values-4/#length-value": {"export":true,"for_":[],"level":"4","normative":true,"shortname":"css-values","spec":"css-values-4","status":"snapshot","text":"<length>","type":"type","url":"https://www.w3.org/TR/css-values-4/#length-value"}, "https://www.w3.org/TR/css-values-4/#snap-a-length-as-a-border-width": {"export":true,"for_":[],"level":"4","normative":true,"shortname":"css-values","spec":"css-values-4","status":"snapshot","text":"snap as a border width","type":"dfn","url":"https://www.w3.org/TR/css-values-4/#snap-a-length-as-a-border-width"}, "https://www.w3.org/TR/css-values-4/#typedef-length-percentage": {"export":true,"for_":[],"level":"4","normative":true,"shortname":"css-values","spec":"css-values-4","status":"snapshot","text":"<length-percentage>","type":"type","url":"https://www.w3.org/TR/css-values-4/#typedef-length-percentage"}, "https://www.w3.org/TR/css-writing-modes-4/#block-axis": {"export":true,"for_":[],"level":"4","normative":true,"shortname":"css-writing-modes","spec":"css-writing-modes-4","status":"snapshot","text":"block axis","type":"dfn","url":"https://www.w3.org/TR/css-writing-modes-4/#block-axis"}, "https://www.w3.org/TR/css-writing-modes-4/#inline-base-direction": {"export":true,"for_":[],"level":"4","normative":true,"shortname":"css-writing-modes","spec":"css-writing-modes-4","status":"snapshot","text":"inline base direction","type":"dfn","url":"https://www.w3.org/TR/css-writing-modes-4/#inline-base-direction"}, "https://www.w3.org/TR/mediaqueries-5/#paged-media": {"export":true,"for_":[],"level":"5","normative":true,"shortname":"mediaqueries","spec":"mediaqueries-5","status":"snapshot","text":"paged media","type":"dfn","url":"https://www.w3.org/TR/mediaqueries-5/#paged-media"}, }; function mkRefHint(link, ref) { const linkText = link.textContent; let dfnTextElements = ''; if (ref.text != linkText) { dfnTextElements = mk.li({}, mk.b({}, "Term: "), mk.span({}, ref.text) ); } const forList = ref.for_; let forListElements; if(forList.length == 0) { forListElements = []; } else if(forList.length == 1) { forListElements = mk.li({}, mk.b({}, "For: "), mk.span({}, forList[0]), ); } else { forListElements = mk.li({}, mk.b({}, "For: "), mk.ul({}, ...forList.map(forItem => mk.li({}, mk.span({}, forItem) ), ), ), ); } const url = ref.url; const safeUrl = encodeURIComponent(url); const hintPanel = mk.aside({ class: "ref-hint", id: `ref-hint-for-${safeUrl}`, "data-for": url, "aria-labelled-by": `ref-hint-for-${safeUrl}`, }, mk.ul({}, dfnTextElements, mk.li({}, mk.b({}, "URL: "), mk.a({ href: url, class: "ref" }, url), ), mk.li({}, mk.b({}, "Type: "), mk.span({}, `${ref.type}`), ), mk.li({}, mk.b({}, "Spec: "), mk.span({}, `${ref.spec ? ref.spec : ''}`), ), forListElements ), ); hintPanel.forLink = link; setupRefHintEventListeners(link, hintPanel); return hintPanel; } function hideAllRefHints() { queryAll(".ref-hint").forEach(el=>hideRefHint(el)); } function hideRefHint(refHint) { const link = refHint.forLink; link.setAttribute("aria-expanded", "false"); if(refHint.teardownEventListeners) { refHint.teardownEventListeners(); } refHint.remove(); } function showRefHint(link) { if(link.classList.contains("dfn-link")) return; const url = link.getAttribute("href"); const ref = refsData[url]; if(!ref) return; hideAllRefHints(); // Only display one at this time. const refHint = mkRefHint(link, ref); append(document.body, refHint); link.setAttribute("aria-expanded", "true"); positionRefHint(refHint); } function setupRefHintEventListeners(link, refHint) { if (refHint.teardownEventListeners) return; // Add event handlers to hide the refHint after the user moves away // from both the link and refHint, if not hovering either within one second. let timeout = null; const startHidingRefHint = (event) => { if (timeout) { clearTimeout(timeout); } timeout = setTimeout(() => { hideRefHint(refHint); }, 1000); } const resetHidingRefHint = (event) => { if (timeout) clearTimeout(timeout); timeout = null; }; link.addEventListener("mouseleave", startHidingRefHint); link.addEventListener("mouseenter", resetHidingRefHint); link.addEventListener("blur", startHidingRefHint); link.addEventListener("focus", resetHidingRefHint); refHint.addEventListener("mouseleave", startHidingRefHint); refHint.addEventListener("mouseenter", resetHidingRefHint); refHint.addEventListener("blur", startHidingRefHint); refHint.addEventListener("focus", resetHidingRefHint); refHint.teardownEventListeners = () => { // remove event listeners resetHidingRefHint(); link.removeEventListener("mouseleave", startHidingRefHint); link.removeEventListener("mouseenter", resetHidingRefHint); link.removeEventListener("blur", startHidingRefHint); link.removeEventListener("focus", resetHidingRefHint); refHint.removeEventListener("mouseleave", startHidingRefHint); refHint.removeEventListener("mouseenter", resetHidingRefHint); refHint.removeEventListener("blur", startHidingRefHint); refHint.removeEventListener("focus", resetHidingRefHint); }; } function positionRefHint(refHint) { const link = refHint.forLink; const linkPos = getBounds(link); refHint.style.top = linkPos.bottom + "px"; refHint.style.left = linkPos.left + "px"; const panelPos = refHint.getBoundingClientRect(); const panelMargin = 8; const maxRight = document.body.parentNode.clientWidth - panelMargin; if (panelPos.right > maxRight) { const overflowAmount = panelPos.right - maxRight; const newLeft = Math.max(panelMargin, linkPos.left - overflowAmount); refHint.style.left = newLeft + "px"; } } // TODO: shared util // Returns the root-level absolute position {left and top} of element. function getBounds(el, relativeTo=document.body) { const relativeRect = relativeTo.getBoundingClientRect(); const elRect = el.getBoundingClientRect(); const top = elRect.top - relativeRect.top; const left = elRect.left - relativeRect.left; return { top, left, bottom: top + elRect.height, right: left + elRect.width, } } function showRefHintListener(e) { // If the target isn't in a link (or is a link), // just ignore it. let link = e.target.closest("a"); if(!link) return; // If the target is in a ref-hint panel // (aka a link in the already-open one), // also just ignore it. if(link.closest(".ref-hint")) return; // Otherwise, show the panel for the link. showRefHint(link); } function hideAllHintsListener(e) { // If the click is inside a ref-hint panel, ignore it. if(e.target.closest(".ref-hint")) return; // Otherwise, close all the current panels. hideAllRefHints(); } document.addEventListener("DOMContentLoaded", () => { document.body.addEventListener("mousedown", showRefHintListener); document.body.addEventListener("focus", showRefHintListener); document.body.addEventListener("click", hideAllHintsListener); }); window.addEventListener("resize", () => { // Hide any open ref hint. hideAllRefHints(); }); } </script> <script>/* Boilerplate: script-wpt */ "use strict"; { let wptData = { "paths": ["/css/css-multicol/"], }; document.addEventListener("DOMContentLoaded", async ()=>{ if(wptData.paths.length == 0) return; const runsUrl = "https://wpt.fyi/api/runs?label=master&label=stable&max-count=1&product=chrome&product=firefox&product=safari&product=edge"; const runs = await (await fetch(runsUrl)).json(); let testResults = []; for(const pathPrefix of wptData.paths) { const pathResults = await (await fetch("https://wpt.fyi/api/search", { method:"POST", headers:{ "Content-Type":"application/json", }, body: JSON.stringify({ "run_ids": runs.map(x=>x.id), "query": {"path": pathPrefix}, }) })).json(); testResults = testResults.concat(pathResults.results); } const browsers = runs.map(x=>({name:x.browser_name, version:x.browser_version, passes:0, total: 0})); const resultsFromPath = new Map(testResults.map(result=>{ const testPath = result.test; const passes = result.legacy_status.map(x=>[x.passes, x.total]); return [testPath, passes]; })); const seenTests = new Set(); document.querySelectorAll(".wpt-name").forEach(nameEl=>{ const passData = resultsFromPath.get("/" + nameEl.getAttribute("title")); if(!passData) { console.log("Couldn't find test in results:", nameEl); return } const numTests = passData[0][1]; if(numTests > 1) { nameEl.insertAdjacentElement("beforeend", mk.small({}, ` (${numTests} tests)`)); } if(passData == undefined) return; const resultsEl = mk.span({"class":"wpt-results"}, ...passData.map((p,i) => mk.span( { "title": `${browsers[i].name} ${p[0]}/${p[1]}`, "class": "wpt-result", "style": `background: conic-gradient(forestgreen ${p[0]/p[1]*360}deg, darkred 0deg);`, })), ); nameEl.insertAdjacentElement("afterend", resultsEl); // Only update the summary pass/total count if we haven't seen this // test before, to support authors listing the same test multiple times // in a spec. if (!seenTests.has(nameEl.getAttribute("title"))) { seenTests.add(nameEl.getAttribute("title")); passData.forEach((p,i) => { browsers[i].passes += p[0]; browsers[i].total += p[1]; }); } }); const overview = document.querySelector(".wpt-overview"); if(overview) { overview.appendChild(mk.ul({}, ...browsers.map(formatWptResult))); document.head.appendChild(mk.style({}, `.wpt-overview ul { display: flex; flex-flow: row wrap; gap: .2em; justify-content: start; list-style: none; padding: 0; margin: 0;} .wpt-overview li { padding: .25em 1em; color: black; text-align: center; } .wpt-overview img { height: 1.5em; height: max(1.5em, 32px); background: transparent; } .wpt-overview .browser { font-weight: bold; } .wpt-overview .passes-none { background: #e57373; } .wpt-overview .passes-hardly { background: #ffb74d; } .wpt-overview .passes-a-few { background: #ffd54f; } .wpt-overview .passes-half { background: #fff176; } .wpt-overview .passes-lots { background: #dce775; } .wpt-overview .passes-most { background: #aed581; } .wpt-overview .passes-all { background: #81c784; }`)); } }); function formatWptResult({name, version, passes, total}) { const passRate = passes/total; let passClass = ""; if(passRate == 0) passClass = "passes-none"; else if(passRate < .2) passClass = "passes-hardly"; else if(passRate < .4) passClass = "passes-a-few"; else if(passRate < .6) passClass = "passes-half"; else if(passRate < .8) passClass = "passes-lots"; else if(passRate < 1) passClass = "passes-most"; else passClass = "passes-all"; name = name[0].toUpperCase() + name.slice(1); const shortVersion = /^\d+/.exec(version); const icon = [] if(name == "Chrome") icon.push(mk.img({alt:"", src:"https://wpt.fyi/static/chrome_64x64.png"})); if(name == "Edge") icon.push(mk.img({alt:"", src:"https://wpt.fyi/static/edge_64x64.png"})); if(name == "Safari") icon.push(mk.img({alt:"", src:"https://wpt.fyi/static/safari_64x64.png"})); if(name == "Firefox") icon.push(mk.img({alt:"", src:"https://wpt.fyi/static/firefox_64x64.png"})); return mk.li({"class":passClass}, mk.nobr({'class':'browser'}, ...icon, ` ${name} ${shortVersion}`), mk.br(), mk.nobr({'class':'pass-rate'}, `${passes}/${total}`) ); } } </script>

Pages: 1 2 3 4 5 6 7 8 9 10