Closed Bug 57380 Opened 24 years ago Closed 24 years ago

Wrong placement of text

Categories

(Core :: Layout, defect, P3)

defect

Tracking

()

VERIFIED DUPLICATE of bug 52421

People

(Reporter: tony.haglof, Assigned: clayton)

References

()

Details

(Keywords: testcase)

Attachments

(1 file)

From Bugzilla Helper: User-Agent: Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0) BuildID: 20001018 In the page at http://www.idg.se some text is rendered at the wrong place and over some images. Displays correctly in both Internet Explorer and Netscape 4.x. Problem exists in both Unix and Windows Mozilla builds and this "bug" have existed a long time. (And still exists in build 20001018) Reproducible: Always Steps to Reproduce: 1.Go to http://www.idg.se 2. 3. Actual Results: Wrong rendering of text. Expected Results: Render the text correctly as IE and NS4.x does.
Page uses layers everywhere...
Attached file Testcase (deleted) —
Keywords: testcase
Hmm, I *think* that this is how it should be. The testcase has position:absolute, but no top defined. Absolutely possitioned things are totally out of the normal flow of text, so since no top is defined, it defaults to 0. Quote from W3: http://www.w3.org/TR/REC-CSS2/visuren.html#absolute-positioning In the absolute positioning model, a box is explicitly offset with respect to its containing block. It is removed from the normal flow entirely (it has no impact on later siblings). An absolutely positioned box establishes a new containing block for normal flow children and positioned descendants. However, the contents of an absolutely positioned element do not flow around any other boxes. They may or may not obscure the contents of another box, depending on the stack levels of the overlapping boxes.
Status: UNCONFIRMED → RESOLVED
Closed: 24 years ago
Resolution: --- → INVALID
The initial value for 'top' is 'auto' not '0'. An absolutely positioned element with no explicit 'top' would simply float above where it would have been, and all content under it would move up (since, as you correctly said, it is taken out of flow).
Status: RESOLVED → UNCONFIRMED
Resolution: INVALID → ---
This is a dup of 52421 really. Marking as such. 52421 is "evangelist wanted" *** This bug has been marked as a duplicate of 52421 ***
Status: UNCONFIRMED → RESOLVED
Closed: 24 years ago24 years ago
Resolution: --- → DUPLICATE
Verfied duplicate of bug 52421.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: