Closed Bug 287385 Opened 19 years ago Closed 19 years ago

Div of the PARENT DOCUMENT positioned absolute over an IFRAME are displayed under the iframe scrollbar

Categories

(Core Graveyard :: Widget: Mac, defect)

PowerPC
macOS
defect
Not set
major

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 191265

People

(Reporter: maurizio.merli, Assigned: jaas)

References

Details

(Keywords: testcase)

Attachments

(2 files)

User-Agent:       Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)
Build Identifier: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7.6) Gecko/20050225 Firefox/1.0.1

If you create a DIV in a document and position it with absolute style over an 
IFRAME of that document THE content is diplayed over the content of IFRAME but 
under the scrollbar of the IFRAME if are present.
The same thing instead WORK WITH SUCCESS under Firefox and Windows

Reproducible: Always

Steps to Reproduce:
Can you please attach a minimized testcase showing this issue?
https://bugzilla.mozilla.org/attachment.cgi?bugid=287385&action=enter
No the code is private of my Company and I can't publish it. But for you is 
simple to try:
create 2 file
- in the first create a div with absolute position over a SCROLLBAR IFRAME
- link the second file in the IFRAME of the first file
- in the second file create many lines that is more long than the scrollHeight 
of the first file
OK here is the bug

put the two file in tha same folder and open main.html
with firefox and windows it's ok
but with firefoc and mac tha div is under the scrollbar

THAT'S THE BUG



--- MAIN FILE : main.html -----

<html>
<body>
<div style="position: absolute; top: 50px; left: 75px; background-color: 
#7799cc">My TEXT My TEXT<br>My TEXT My TEXT<br>My TEXT My TEXT<br>My TEXT My 
TEXT</div>
<iframe src="iframe.html" style="width: 100px; height: 100px;"></iframe>
</body>
</html>



--- INNER FILE : iframe.html -----


<html>
<body>
IFRAME IFRAME IFRAME IFRAME<BR>
IFRAME IFRAME IFRAME IFRAME<BR>
IFRAME IFRAME IFRAME IFRAME<BR>
IFRAME IFRAME IFRAME IFRAME<BR>
IFRAME IFRAME IFRAME IFRAME<BR>
IFRAME IFRAME IFRAME IFRAME<BR>
IFRAME IFRAME IFRAME IFRAME<BR>
IFRAME IFRAME IFRAME IFRAME<BR>
IFRAME IFRAME IFRAME IFRAME<BR>
IFRAME IFRAME IFRAME IFRAME<BR>
IFRAME IFRAME IFRAME IFRAME<BR>
IFRAME IFRAME IFRAME IFRAME<BR>
IFRAME IFRAME IFRAME IFRAME<BR>
IFRAME IFRAME IFRAME IFRAME<BR>
IFRAME IFRAME IFRAME IFRAME<BR>
IFRAME IFRAME IFRAME IFRAME<BR>
IFRAME IFRAME IFRAME IFRAME<BR>
IFRAME IFRAME IFRAME IFRAME<BR>
IFRAME IFRAME IFRAME IFRAME<BR>
IFRAME IFRAME IFRAME IFRAME<BR>
</body>
</html>



Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8b2) Gecko/20050330
Firefox/1.0+

I am certainly seeing the same.

What should happen? The content be over the <iframe>? Is this a specification
or a platform-related thing?

What if some people expected widgets to be drawn on top of content ... ?
That's a BUG: is simple!!!!!
The DIV have to be display OVER the content of the iframe and over the 
scrollbars.


(In reply to comment #4)
> Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8b2) 
Gecko/20050330
> Firefox/1.0+
> I am certainly seeing the same.
> What should happen? The content be over the <iframe>? Is this a specification
> or a platform-related thing?
> What if some people expected widgets to be drawn on top of content ... ?

(In reply to comment #4)
> Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8b2) 
Gecko/20050330
> Firefox/1.0+
> I am certainly seeing the same.
> What should happen? The content be over the <iframe>? Is this a specification
> or a platform-related thing?
> What if some people expected widgets to be drawn on top of content ... ?

Assignee: firefox → nobody
Component: General → Layout
Product: Firefox → Core
QA Contact: general → layout
Version: unspecified → 1.0 Branch
So no one tell me nothig about this bug?
Attached file Reporters testcase
Scrollbars appear above the div on mac os x. Works fine on windows.
Severity: normal → major
Keywords: testcase
Version: 1.0 Branch → Trunk
Attached image Screenshot
Confirming this (OS X only), didnt not find a dupe but there must be one? Also
setting requesting blocking 1.8b3
Status: UNCONFIRMED → NEW
Ever confirmed: true
Flags: blocking1.8b3?
Sounds like an OSX widgetry issue.
Assignee: nobody → joshmoz
Component: Layout → Widget: Mac
QA Contact: layout → mac
*** Bug 295939 has been marked as a duplicate of this bug. ***
Flags: blocking1.8b3? → blocking1.8b3-
This not only affects an iframe but any element that generates a scrollbar
(textarea, block level element with overflow:auto,...).

There is also bug 234830 which shows the same problems.

*** This bug has been marked as a duplicate of 191265 ***
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → DUPLICATE
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: