Closed Bug 89282 Opened 24 years ago Closed 23 years ago

Two IFRAMEs which are partially overlapped will display incorrectly

Categories

(Core :: Layout: Images, Video, and HTML Frames, defect)

x86
Windows 2000
defect
Not set
major

Tracking

()

VERIFIED INVALID

People

(Reporter: rondo, Assigned: pollmann)

Details

From Bugzilla Helper: User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; 0.8.1) Gecko/20010323 BuildID: 20010323 If two IFRAMEs are partially overlapped, the display will be incorrect. The IFRAME with lower order will display instead of the IFRAME with higher order in the overlapped region. Although the display is incorrect, the EVENT system is correct. in the overlapped region, the IFRAME with higher order will receive EVENT, and the orther IFRAME will not receive EVENT, even if the display is incorrect. Reproducible: Always Steps to Reproduce: I write a typical example, it is in the 'Additional Information' Actual Results: Display is incorrect! Expected Results: In the overlapped region, the IFRAME with higher order must be displayed. I wrote an example below: Open index.htm and move the cursor to the overlapped region, You will find that the EVENT system is correct, but the display is incorrect!! .......index.htm......... <HTML> <BODY> <IFRAME STYLE="position:absolute;top:10px;left:10px;width:100px;height:100px" SRC="a.htm"></IFRAME> <IFRAME STYLE="position:absolute;top:60px;left:60px;width:100px;height:100px" SRC="b.htm"></IFRAME> </BODY> </HTML> ........a.htm........... <HTML> <BODY BGCOLOR="red" onMouseMove="parent.status='red'"> </BODY> </HTML> .............b.htm............ <HTML> <BODY BGCOLOR="blue" onMouseMove="parent.status='blue'"> </BODY> </HTML>
See also bug 41799, drawing problems with overlapping iframes.
The fix for bug 43410 should address this problem - the iframes will now clip each other correctly, and not paint overlapped. *** This bug has been marked as a duplicate of 43410 ***
Status: UNCONFIRMED → RESOLVED
Closed: 24 years ago
Resolution: --- → DUPLICATE
Fixing the bugs # 41799, 43410 did not fix the problem described in this bug. look at the given tescase.In the overlapped region, the IFRAME with lower order is displayed(blue) instead of higher order(red). Reopening this bug. Build ID: 2002011503 Platform : WIN2K
Status: RESOLVED → UNCONFIRMED
Resolution: DUPLICATE → ---
In the example code attached, there is no z-index setting. So both z-indices are auto and the iframes should just be z-ordered based on order in document, the second on top. This is exactly what happens. The blue frame is on top, the blue frame gets the mousemove events. This bug is invalid as stated.
Status: UNCONFIRMED → RESOLVED
Closed: 24 years ago23 years ago
Resolution: --- → INVALID
Verified Invalid.
Status: RESOLVED → VERIFIED
Product: Core → Core Graveyard
Component: Layout: HTML Frames → Layout: Images
Product: Core Graveyard → Core
You need to log in before you can comment on or make changes to this bug.