overflow: auto overdraws an absolute-positioned DIV

RESOLVED WORKSFORME

Status

()

Core
Layout
RESOLVED WORKSFORME
12 years ago
9 years ago

People

(Reporter: Patrick Geiller, Assigned: Daniel.S)

Tracking

Trunk
mozilla1.9.2a1
Points:
---
Bug Flags:
in-testsuite +

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(3 attachments)

(Reporter)

Description

12 years ago
User-Agent:       Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en) AppleWebKit/418.9.1 (KHTML, like Gecko) Safari/419.3
Build Identifier: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8.1) Gecko/20061010 Firefox/2.0

I have 2 divs on a page, each taking 50% height (set via Javascript). Each div displays more information than 50% page height and has overflow: auto enabled. The top DIV has a control acting like a combo box, using another DIV with position: absolute. This combo-DIV is overdrawn by the bottom DIV.

I get the same results on Mac, Linux, Windows.

Reproducible: Always
(Reporter)

Comment 1

12 years ago
Created attachment 248532 [details]
Test case

Comment 2

12 years ago
Based on the test case, this is working correctly in my trunk build.

Comment 3

11 years ago
We have the same problem with div that uses overflow:hidden and <textarea/>
Please see out test case.

Comment 4

11 years ago
Created attachment 288491 [details]
Another Test case

http://jira.jboss.com/jira/browse/RF-1245?page=all

Mozilla/5.0 (Windows; U; Windows NT 5.1; ru; rv:1.8.1.9) Gecko/20071025 Firefox/2.0.0.9
(Assignee)

Comment 5

10 years ago
Buggy in Fx2, but works in Firefox 3 and higher.
Status: UNCONFIRMED → RESOLVED
Last Resolved: 10 years ago
Resolution: --- → WORKSFORME
(Assignee)

Comment 6

9 years ago
Created attachment 361052 [details] [diff] [review]
reftests
[Checkin: Comment 8]

In test 1 we look wether the word FAIL shines through the absPos element. in the reference the word simply isn't there.

Test 2 looks wether the absPos element covers both elements below. This doesn't happen in Fx2 only if overflow is set.
Attachment #361052 - Flags: superreview?(dbaron)
Attachment #361052 - Flags: review?(dbaron)
Comment on attachment 361052 [details] [diff] [review]
reftests
[Checkin: Comment 8]

r+sr=dbaron
Attachment #361052 - Flags: superreview?(dbaron)
Attachment #361052 - Flags: superreview+
Attachment #361052 - Flags: review?(dbaron)
Attachment #361052 - Flags: review+
(Assignee)

Updated

9 years ago
Flags: in-testsuite?
Keywords: checkin-needed
Comment on attachment 361052 [details] [diff] [review]
reftests
[Checkin: Comment 8]


http://hg.mozilla.org/mozilla-central/rev/908e140c3606
Attachment #361052 - Attachment description: reftests → reftests [Checkin: Comment 8]
Assignee: nobody → crazy-daniel
Flags: in-testsuite? → in-testsuite+
Keywords: checkin-needed
Target Milestone: --- → mozilla1.9.2a1
You need to log in before you can comment on or make changes to this bug.