mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-11-12 14:20:14 +02:00
The elements under <body> are treat as content append, so their frames will be construct by nsCSSFrameConstructor::ContentAppended. This patch fixed only the simple "append" case which is appending to the last continuation of ::moz-column-content. For other more complex appending or inserting cases, we might need to reframe (bug 1504053). Differential Revision: https://phabricator.services.mozilla.com/D16076 --HG-- extra : moz-landing-system : lando
27 lines
669 B
HTML
27 lines
669 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<meta charset="utf-8">
|
|
<title>CSS Multi-column Layout Test Reference: Append a block containing a spanner kid. The spanner kid should correctly span across all columns.</title>
|
|
<link rel="author" title="Ting-Yu Lin" href="tlin@mozilla.com">
|
|
<link rel="author" title="Mozilla" href="http://www.mozilla.org/">
|
|
|
|
<style>
|
|
#column {
|
|
column-count: 3;
|
|
column-rule: 6px solid;
|
|
width: 400px;
|
|
outline: 1px solid black;
|
|
}
|
|
h3 {
|
|
column-span: all;
|
|
outline: 1px solid blue;
|
|
}
|
|
</style>
|
|
|
|
<body>
|
|
<article id="column">
|
|
<div>block1</div>
|
|
<div><h3>spanner</h3>block2</div>
|
|
</article>
|
|
</body>
|
|
</html>
|