absolutly positionned element in relatively positionned fieldset displayed way down the page

RESOLVED WORKSFORME

Status

()

Core
Layout: R & A Pos
RESOLVED WORKSFORME
14 years ago
14 years ago

People

(Reporter: Rémi Zara, Unassigned)

Tracking

({testcase})

Trunk
x86
Windows 2000
testcase
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Reporter)

Description

14 years ago
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.0; fr-FR; rv:1.7.3) Gecko/20040910
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; fr-FR; rv:1.7.3) Gecko/20040910

When trying to absolutely position an element in a fieldset (whose position is
set to relative), setting the bottom property makes the element be displayed way
down the page. The Dom inspector reports an y position of 71582754.

Reproducible: Always
Steps to Reproduce:




Expected Results:  
the element is positionned at the bottom of the fieldset
(Reporter)

Comment 1

14 years ago
Created attachment 164732 [details]
testcase

fairly reduced test case

Removing the doctype to switch to quircks mode does not solve the problem
(Reporter)

Comment 2

14 years ago
same problem on Camino (2004110508 (v0.8+))
(Reporter)

Comment 3

14 years ago
Same problem on FireFox RC2 Mac

Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7.5) Gecko/20041103 Firefox/1.0RC2
In a debug build, I see:

###!!! ASSERTION: containing block height must be constrained:
'containingBlockHeight != NS_AUTOHEIGHT', file
/home/bzbarsky/mozilla/xlib/mozilla/layout/html/base/src/nsHTMLReflowState.cpp,
line 911

So I bet we use NS_AUTOHEIGHT as the offset....

Updated

14 years ago
Keywords: testcase
(Reporter)

Comment 5

14 years ago
This bug is still present in Mozilla 1.7.6
Mozilla/5.0 (Windows; U; Windows NT 5.0; fr-FR; rv:1.7.6) Gecko/20050319
1.7.6 is using a Gecko from April 2004....  Not really worth testing layout bugs in.

The testcase works fine in a current trunk build, with no asserts.
Status: UNCONFIRMED → RESOLVED
Last Resolved: 14 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.