Closed Bug 346433 Opened 19 years ago Closed 19 years ago

Iframe inherits parent background properties.

Categories

(Firefox :: General, defect)

x86
Windows XP
defect
Not set
minor

Tracking

()

RESOLVED DUPLICATE of bug 346398

People

(Reporter: Mentaloid, Unassigned)

References

()

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.5) Gecko/20060719 Firefox/1.5.0.5 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.5) Gecko/20060719 Firefox/1.5.0.5 Pages in an iframe with no bgcolor specified in the body or assigned via css will inherity the parent documents bgcolor. The parents bgcolor may be specified by either CSS body { background-color: rgb(127,127,127);} or <body bgcolor=grey>. I believe this isn't really supposed to be the way it works as the pages in an iframe aren't supposed to inherit anything from the parent. Reproducable with release versions of firefox on winXP, The newest daily build (mozilla/5.0 (windows; u; windows nt 5.1; en-us; rv:1.9a1) gecko/20060728 minefield/3.0a1) as well as latest release of mozilla & firefox for linux (tested on various flavors of linux, all x86 based). Reproducible: Always Steps to Reproduce: 1. Load URL above. 2. Peer deeply into the screen. 3. Read the information on the URL supplied. Actual Results: Background color in iframe was inherited from parent. Expected Results: Background color in iframe to be default.
*** This bug has been marked as a duplicate of 346398 ***
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.