Closed
Bug 687345
Opened 13 years ago
Closed 13 years ago
-moz-column-count messes up when used with position: relative + padding
Categories
(Core :: Layout, defect)
Core
Layout
Tracking
()
RESOLVED
DUPLICATE
of bug 454749
People
(Reporter: mathias, Unassigned)
Details
(Keywords: testcase)
Attachments
(2 files)
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_1) AppleWebKit/535.2 (KHTML, like Gecko) Chrome/15.0.874.5 Safari/535.2
Steps to reproduce:
When using `position: relative;` and `padding: 42px;` on an element, and there’s a child element with e.g. `position: absolute; left: 0;`, everything works as expected, i.e. the child element appears at the left edge of the parent element (disregards the padding).
However, when you apply `-moz-column-count` to the same (parent) element, the padding gets respected even though it shouldn’t, i.e. it’s as if you’d written `position: absolute; left: 42px;`.
It’s hard to describe it in words, so I created a simple test case: http://jsfiddle.net/mathias/RdE6j/ Remove the `-moz-column-count` declaration and everything works as expected.
Opera supports `column-count` unprefixed and WebKit has `-webkit-column-count`, but neither of those browsers have this issue, so I assume it’s a bug.
Updated•13 years ago
|
Component: General → Layout
Product: Firefox → Core
QA Contact: general → layout
Reporter | ||
Comment 1•13 years ago
|
||
Attachment #560791 -
Attachment mime type: text/plain → text/html
![]() |
||
Comment 3•13 years ago
|
||
dupe of bug 454749 ?
Yes, seems pretty clear
Status: UNCONFIRMED → RESOLVED
Closed: 13 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•