Closed Bug 503508 Opened 16 years ago Closed 15 years ago

style and iframe

Categories

(Firefox :: General, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: herve.barrault, Unassigned)

Details

(Whiteboard: [CLOSEME 2011-1-1])

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.9.1) Gecko/20090624 Firefox/3.5 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.9.1) Gecko/20090624 Firefox/3.5 while loading an iframe, Even if css background-color is black it displays background-color as white (defaut color) et applies css after content is loaded. With a dark theme it renders a blinking effect Reproducible: Always Steps to Reproduce: 1. load this sample of ugly code (but it discribes the behavior) <html> <head> <style type="text/css"> * { background-color: black; } button { background-color: white; } p { color: white; } </style> <script type="text/javascript"> function addImage() { element = document.createElement("div"); element.innerHTML = '<iframe src="http://upload.wikimedia.org/wikipedia/commons/2/29/Ubuntu-icon-pd2.png"></iframe>'; document.getElementById("content").appendChild(element); } function addText() { element = document.createElement("div"); element.innerHTML = '<iframe src="http://upload.wikimedia.org/wikipedia/commons/2/29/Ubuntu-icon-pd8.png"></iframe>'; document.getElementById("content").appendChild(element); } function addTextDiv() { element = document.createElement("p"); element.innerHTML = 'azertyuiopqsdfghjklmwxcvbn'; document.getElementById("content").appendChild(element); } </script> </head> <body> <div id="content"> <iframe src="http://upload.wikimedia.org/wikipedia/commons/2/29/Ubuntu-icon-pd2.png"></iframe> </div> <form> <button type="button" onclick="addImage()">Add image iframe</button> <button type="button" onclick="addText()" >Add text iframe</button> <button type="button" onclick="addTextDiv()" >Add text div</button> </form> </body> </html> 2. Click on Add image iframe or Add text iframe Actual Results: background white then black Expected Results: as Add text div : defaut background color always black
Reporter, are you still seeing this issue with Firefox 3.6.12 or later in safe mode? If not, please close. These links can help you in your testing. http://support.mozilla.com/kb/Safe+Mode http://support.mozilla.com/kb/Managing+profiles Also, please consider using the most recent Firefox 4 beta build, your bug may be resolved there.
Whiteboard: [CLOSEME 2011-1-1]
Can't still seeing the issue with firefox 3.6.12
Status: UNCONFIRMED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.