Closed Bug 454749 Opened 13 years ago Closed 10 years ago

Absolute positioned child of -moz-column is incorrectly placed

Categories

(Core :: Layout: Positioned, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla10

People

(Reporter: phiw2, Assigned: ehsan)

References

()

Details

(Whiteboard: [fixed by bug 10209])

Attachments

(3 files)

Attached file test case
An absolute positioned child of an element with -moz-column and position:relative is positioned inside the padding-box instead of the border-box.

Affected: Gecko 1.8.1, Gecko 1.9.0, 1.9.1 b1pre
Flags: wanted1.9.1?
Attached file test case 2
With 'right:0;' the element is actually dragged outside of the parent box (by the same amount as the value for padding).
But 'bottom:0;' puts it in the padding-box (vertically)
OS: Mac OS X → All
Hardware: PC → All
Added the PrinceXML demo page for @fontface in hte URL field. Various examples use absolute positioning and look bad on Gecko.

(the issue is not visible on the equivalent ALA pages, where -moz-column is not specified)
Flags: wanted1.9.1?
Flags: wanted1.9.1-
Flags: blocking1.9.1-
Blocks: 655191
Depends on: 455338
Duplicate of this bug: 687345
The infrastructure for this has landed in bug 10209.
Both Testcases WFM with Bug 10209 fixed using Mozilla/5.0 (Windows NT 5.1; rv:10.0a1) Gecko/20110930 Firefox/10.0a1 ID:20110930172132 (Built from http://hg.mozilla.org/mozilla-central/rev/325e330499b4)
Yeah, works fine now, both attached test cases, the test cases in the duped bug and some others I have on my dev server. Marking as fixed by bug 10209. Thanks Ehsan.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Resolution: FIXED → WORKSFORME
@Ms2ger why WFM ? FIXED seems way more appropriate.
Resolution: WORKSFORME → FIXED
This is fixed now, I just need to write a reftest for it...
Assignee: nobody → ehsan
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Attached patch Patch (v1)Splinter Review
Attachment #565348 - Flags: review?(roc)
https://hg.mozilla.org/integration/mozilla-inbound/rev/08d0b387aab3
Status: REOPENED → ASSIGNED
Flags: in-testsuite+
Whiteboard: [fixed by bug 10209]
Target Milestone: --- → mozilla10
Test: https://hg.mozilla.org/mozilla-central/rev/08d0b387aab3
Status: ASSIGNED → RESOLVED
Closed: 10 years ago10 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.