Closed
Bug 75718
Opened 24 years ago
Closed 23 years ago
background-color:transparent not supported for iframes
Categories
(Core Graveyard :: GFX, defect)
Tracking
(Not tracked)
Future
People
(Reporter: dsuljoti, Assigned: kmcclusk)
References
Details
(Keywords: css1, testcase)
Attachments
(2 files)
This style property is not supported for iframes, and based on CSS2 specs all
elements should support it. Netscape 6 doesn't render the background of the
iframe transparent.
Ex.
iframe.html
<html>
<body bgcolor="black">
<iframe src="framesource.html" width="400" height="400" frameborder=0
allowtransparency="yes" style="background-color:transparent"></iframe>
framesource.html
<html>
<body>
<p>
this is a test
Comment 1•24 years ago
|
||
Please try a recent Mozilla build. I believe that this has been fixed since NS6
was released.
Reporter | ||
Comment 2•24 years ago
|
||
I actually looked at it with the new build (2001032319) and I am still not
seeing it behave correctly. Maybe I am using the tags wrong, is there another
on/off switch for transparancy or just based on the style tag?
Comment 3•24 years ago
|
||
Hmm. you're right. This seems to not be working properly (tested with the
2001-04-11 Linux build).
Reassigning and status -> new. Will attach a testcase.
Assignee: jst → kmcclusk
Status: UNCONFIRMED → NEW
Component: DOM Style → Compositor
Ever confirmed: true
Keywords: css1
OS: Windows NT → All
QA Contact: ian → petersen
Comment 4•24 years ago
|
||
Comment 5•24 years ago
|
||
Comment 6•24 years ago
|
||
The iframe should have a black background... it does not. ccing hixie for
standards explications if any.
Reporter | ||
Comment 7•24 years ago
|
||
the iframe should have black background, or if the parent window has an image
as background, it should be see through...... transparent.
The IE implementation on IE 5.5 uses an extra tag, but is a good example of
what is supposed to happen.
http://msdn.microsoft.com/workshop/author/dhtml/reference/properties/allowTransp
arency.asp
Comment 8•24 years ago
|
||
The iframe is painting with the correct (black) background color, but when the
document loads it flashes to white. Something in the document load is causing
it to repaint to white.
If you use <iframe style="background-color:red !important"> it does the same
thing... it initially draws red but then flashes to white when the document loads.
Hard to tell, is this related to bug 49779? (referenced in html.css on frame and
iframe rules)
Assignee | ||
Updated•24 years ago
|
Status: NEW → ASSIGNED
Target Milestone: --- → Future
Comment 9•23 years ago
|
||
Looking at the testcase on win2k/2001020404 I see the flicker happening, but it
doesn't go to white, it goes to my default window color - a middle grey. Don't
know if this info helps, or of you cought it already.
Comment 10•23 years ago
|
||
*** Bug 85134 has been marked as a duplicate of this bug. ***
Comment 11•23 years ago
|
||
some status info.
a few days ago i bumped into this problem, too. (on 0.9.1)
just downloaded moz 0.9.2/win2k (Build ID : 2001062815) and verified that the
problem still exists. (displaying a white background)
Comment 12•23 years ago
|
||
Chnaging QA contact since it deals with iframe.
QA Contact: petersen → amar
Comment 13•23 years ago
|
||
Marking as a duplicate of bug 50263. It shouldn't even be necessary to specify a
transparent background, since the default value of background-color *is*
transparent.
*** This bug has been marked as a duplicate of 50623 ***
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
Comment 14•23 years ago
|
||
It should be pointed out that "allowtransparency" is a Microsoft-proprietary
HTML element attribute, and as such its' use is deprecated in favor of CSS
"background-color: transparent". Implementing new proprietary extensions is
counterindicated when a standardized method is available.
Updated•16 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•