mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-30 05:35:31 +00:00
97ce0e7053
After bug 1258657 landed, summary element is rendered by nsBlockFrame, so it supports css columns for free. MozReview-Commit-ID: 2RPSYk81BHy --HG-- extra : rebase_source : 9b8e2be476319d938cfd06e876c68a18f8995bce
31 lines
665 B
HTML
31 lines
665 B
HTML
<!DOCTYPE html>
|
|
<!-- Any copyright is dedicated to the Public Domain.
|
|
- http://creativecommons.org/publicdomain/zero/1.0/ -->
|
|
|
|
<html>
|
|
<style>
|
|
.summary-columns {
|
|
-moz-column-count: 3;
|
|
-moz-column-rule: 1px solid lightgray;
|
|
-webkit-column-count: 3;
|
|
-webkit-column-rule: 1px solid lightgray;
|
|
border: 1px solid lightblue;
|
|
background-color: lightgreen;
|
|
}
|
|
</style>
|
|
<body>
|
|
<div>
|
|
<div class="summary-columns">
|
|
<p>line</p>
|
|
<p>line</p>
|
|
<p>line</p>
|
|
<p>line</p>
|
|
<p>line</p>
|
|
<p>line</p>
|
|
<p>line</p>
|
|
</div>
|
|
<p>This is the details.</p>
|
|
</div>
|
|
</body>
|
|
</html>
|