Closed
Bug 876471
Opened 13 years ago
Closed 13 years ago
Layout: CSS -moz-column-* : leftmost column does not start at line 1
Categories
(Core :: Layout, defect)
Tracking
()
RESOLVED
INVALID
People
(Reporter: support, Unassigned)
Details
Attachments
(1 file)
|
124.46 KB,
image/png
|
Details |
User Agent: Mozilla/5.0 (Windows NT 5.1; rv:21.0) Gecko/20100101 Firefox/21.0 (Beta/Release)
Build ID: 20130511120803
Steps to reproduce:
Bug in der Renderengine with CSS feature: -moz-column-*
Example:
.textspalten {
-moz-column-count: 2;
-moz-column-gap: 40px;
-moz-column-rule: 1px solid #AAAAAA;
margin-top: 10px;
text-align: justify;
}
Note: The margin-top does not affect the layout problem, it's correctly assigned to the entire element.
Examplepage:
http://cloud-foo.de/SSL-Zertfikate
PS: i don't know who long the page will be in this state, don't wait too long to take a look ;)
Actual results:
The rendered text in the leftmost column does not always start in line 1 . Experiments with firebug revealed, that a padding on the left side, can force it to be correct. This workaround is not always working.
Expected results:
All columns should vertical aligned to the top.
It would be nice to have a new CSS option like:
-moz-column-vertical-align: {top|middle|bottom|auto}
Comment 1•13 years ago
|
||
Rendering looks same in all browser( ComodoDragon26.22.0, Opera12.15, Fireofx21.0 )
Updated•13 years ago
|
Component: Untriaged → Layout
OS: Windows XP → All
Product: Firefox → Core
Comment 3•13 years ago
|
||
I'm fairly sure this is invalid.
As noted all browsers have the same rendering. And it is the expected behaviour. The first child of the multi-col block is a <p>, the 'gap' or 'misalignment' is caused by the (default) margin-top for the p element.
p { margin-top: 0 } would remove that 'gap'.
Comment 4•13 years ago
|
||
Yep.
Status: UNCONFIRMED → RESOLVED
Closed: 13 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•