Bug 715203 - Fix ua.css to include moz-column-fill as inherited property for scrolled content. [r=bz]

This commit is contained in:
Scott Johnson 2012-01-09 16:15:10 -06:00
parent de715c6c21
commit 94736220a5
4 changed files with 49 additions and 0 deletions

View File

@ -0,0 +1,21 @@
<!DOCTYPE HTML>
<html>
<head>
<title>Bug 715203: Multicolumn support in scrolled columns</title>
<style>
.columns {
font-size: 12pt;
line-height: 1.1;
-moz-column-width: 40em;
-moz-column-fill: auto;
}
</style>
</head>
<body>
<div class="columns">
<li>one
<li>two
<li>three
</div>
</body>
</html>

View File

@ -0,0 +1,22 @@
<!DOCTYPE HTML>
<html>
<head>
<title>Bug 715203: Multicolumn support in scrolled columns</title>
<style>
.columns {
font-size: 12pt;
line-height: 1.1;
-moz-column-width: 40em;
-overflow-x:auto;
-moz-column-fill: auto;
}
</style>
</head>
<body>
<div class="columns">
<li>one
<li>two
<li>three
</div>
</body>
</html>

View File

@ -16,10 +16,15 @@
== column-balancing-002.html column-balancing-002.ref.html
== column-balancing-003.html column-balancing-000.ref.html
== column-balancing-004.html column-balancing-004.ref.html
# These next tests need to be a http tests because they use the ahem font,
# located in layout/reftests/fonts.
HTTP(..) == columnfill-balance.html columnfill-balance-ref.html
HTTP(..) == columnfill-auto.html columnfill-auto-ref.html
HTTP(..) == columnfill-change.html columnfill-change-ref.html
== columnrule-basic.html columnrule-basic-ref.html
== columnrule-complex.html columnrule-complex-ref.html
!= columnrule-linestyles.html columnrule-linestyles-notref.html
== columnrule-padding.html columnrule-padding-ref.html
== columnfill-overflow-style.html columnfill-overflow-style-ref.html

View File

@ -162,6 +162,7 @@
-moz-column-width: inherit;
-moz-column-gap: inherit;
-moz-column-rule: inherit;
-moz-column-fill: inherit;
/* Do not change these. nsCSSFrameConstructor depends on them to create a good
frame tree. */
position: static !important;