Open
Bug 553272
Opened 14 years ago
Updated 2 years ago
in chrome, iframes content-targetable are displayed above everything
Categories
(Core :: XUL, defect)
Tracking
()
NEW
People
(Reporter: jhpommier, Unassigned)
Details
(Whiteboard: DUPEME)
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US) AppleWebKit/532.5 (KHTML, like Gecko) Chrome/4.0.249.89 Safari/532.5 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 6.0; fr; rv:1.9.2) Gecko/20100115 Firefox/3.6 (.NET CLR 3.5.30729) When you window.open('...', '', 'chrome') (...) <box style="overflow:scroll"><iframe type="content-targetable"> (...) then the iframe is rendered above every other xul elements. if you remove type="content-targetable", an awfull flickering effect occurs during scroll. Reproducible: Always Steps to Reproduce: 1. save the following code in your chrome path, ex : test.xul <?xml version="1.0"?> <?xml-stylesheet href="chrome://global/skin/" type="text/css"?> <window id="iframeTest" title="iframeTest" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" width="400" height="410" > <vbox anonid="filbox" style="overflow-x:none; overflow-y:scroll;background-color:blue;" height="200"> <iframe type="content-targetable" style="margin:4px 4px 0px 4px;padding:5px;border: 1px solid #aaa;" id="iframeTest" src="about:blank" width="500" height="350"/> </vbox> <splitter /> <vbox style="background-color:green;" flex="1"> <label>texte qui est recouvert</label> <label>texte qui est recouvert</label> <label>texte qui est recouvert</label> <label>texte qui est recouvert</label> </vbox> </window> 2. open it (using jsconsole for example) : window.open('chrome://(...)/content/test.xul', 'test', "chrome", null); Actual Results: the iframe (white square) is rendered above the vbox (green square) Expected Results: the iframe (white square) should pass below the vbox (green square) This bug doesn't occur with FFox 3.5.x ! It occurs with FFox 3.7 alpha and the latest nightly build. Same problem under linux.
Comment 1•14 years ago
|
||
The "above everything" thing is due to the widgets those iframes have. I have no idea why the behavior was different in 3.5. I assume type="content" would have the same issue, yes?
Status: UNCONFIRMED → NEW
Ever confirmed: true
Whiteboard: DUPEME
In 3.5 the scrollable box had its own widget, which probably helped somehow. In 3.6, it doesn't. In 3.7, bug 130078 will fix this. I don't think we'll be able to fix it for 3.6.
Reporter | ||
Comment 3•14 years ago
|
||
(In reply to comment #1) > The "above everything" thing is due to the widgets those iframes have. I have > no idea why the behavior was different in 3.5. > > I assume type="content" would have the same issue, yes? yes, same issue using type="content".
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•