Closed Bug 839871 Opened 12 years ago Closed 12 years ago

An absolute position block is invisible when inside a columned block with non-static position

Categories

(Core :: Layout, defect)

18 Branch
x86
Windows Vista
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: j4_james, Unassigned)

References

Details

(Keywords: regression, testcase, Whiteboard: [fixed by Bug 724978])

Attachments

(1 file)

Attached file Test case
User Agent: Mozilla/5.0 (Windows NT 6.0; rv:18.0) Gecko/20100101 Firefox/18.0 Build ID: 20130201065344 Steps to reproduce: I created a div with position:absolute nested inside another div with position:relative with -moz-column-count:1. The outer block doesn't have to be relative positioned - anything other than static (or inherit) produces the same result. And the column-count doesn't specifically have to be 1 - another column-count value or setting the column-width instead will work just as well. Actual results: The content of the nested div was invisible. Inspecting it through the developer console showed a width and height of zero. Specifically setting the width and height of the divs didn't make any difference. Expected results: I would have expected the content of the nested div to be visible and to have a non-zero width and height. It works as expected in Safari and I think it used to work in one of the previous versions of Firefox (although I'm not positive about that).
Attachment #712249 - Attachment mime type: text/plain → text/html
Confirmed using Mozilla/5.0 (Windows NT 6.1; WOW64; rv:21.0) Gecko/20130210 Firefox/21.0 ID:20130210031150 Regression Windows: MC: Last good nightly: 2012-02-10 First bad nightly: 2012-02-11 Pushlog: http://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=fb81c9a433e4&tochange=d71dab82fff4 MI: Last good nightly: 2012-02-10 First bad nightly: 2012-02-11 Pushlog: http://hg.mozilla.org/integration/mozilla-inbound/pushloghtml?fromchange=363fa033d483&tochange=742ae4efad72 ESR 10 Branch: 10.0.2 ESR (good) http://hg.mozilla.org/releases/mozilla-esr10/rev/14af4fac0bc5 10.0.3 ESR (bad) http://hg.mozilla.org/releases/mozilla-esr10/rev/26f11b3e7226 Pushlog: http://hg.mozilla.org/releases/mozilla-esr10/pushloghtml?fromchange=14af4fac0bc5&tochange=26f11b3e7226 => due to a backported Security Fix?!
Component: Untriaged → Layout
Keywords: regression, testcase
Product: Firefox → Core
This change is in all three regression windows above: 053d3cc103cb Scott Johnson — Bug 718516: Replace call of FinishReflowWithAbsoluteFrames() with FinishAndStoreOverflow() for nsColumnSetFrame to prevent crash. [r=ehsan]
Blocks: 718516
I guess it's a variation of bug 724978.
Depends on: 724978
Blocks: 698783
(In reply to Mats Palmgren [:mats] from comment #3) > I guess it's a variation of bug 724978. Confirmed fixed with Mozilla/5.0 (Windows NT 6.1; WOW64; rv:22.0) Gecko/20130325 Firefox/22.0 ID:20130325093524 CSet: 4d3250f3afea
Status: UNCONFIRMED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Whiteboard: [fixed by Bug 724978]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: