Closed
Bug 275778
Opened 20 years ago
Closed 20 years ago
invalid rendering of html:p element
Categories
(Core :: Web Painting, defect)
Tracking
()
RESOLVED
INVALID
People
(Reporter: surkov, Assigned: roc)
Details
Attachments
(3 files)
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8a5) Gecko/20041122 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8a5) Gecko/20041122 <bindings id="testBindings" xmlns="http://www.mozilla.org/xbl" xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" xmlns:xbl="http://www.mozilla.org/xbl" xmlns:html="http://www.w3.org/1999/xhtml"> <binding id="binding1"> <content> <html:p> <xul:toolbarbutton label="hello" image="chrome://global/skin/preview.gif"/> </html:p> </content> </binding> <binding id="binding2"> <content> <xul:binding1/> </content> </binding> <binding id="binding3"> <content> <binding2/> </content> </binding> </bindings> If I create binding3 element then toolbarbutton image is not displayed. It's right when I specify prefix xul in binding2 content and I don't specify any prefix in binding3 content. In instance image will be displayed if I remove prefix from binding2 or add prefix in binding3. Reproducible: Always Steps to Reproduce:
Comment 1•20 years ago
|
||
Could you perhaps show or attach a testcase that shows what the problem is?
| Reporter | ||
Comment 2•20 years ago
|
||
| Reporter | ||
Comment 3•20 years ago
|
||
| Reporter | ||
Comment 4•20 years ago
|
||
Comment 5•20 years ago
|
||
This is invalid (and has nothing to do with view rendering). The <binding2> element in the XBL namespace gets display:inline, and when you try to stick boxes and blocks into it, things fail. This sort of thing is just not supported in XUL at the moment, sorry.
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → INVALID
| Reporter | ||
Comment 6•20 years ago
|
||
Is there plans to support such things? It doesn't seem to me it is right behaviour because xul programmer will be confused when it will be confronted with such thing. It is needed to aware programmer (in instance element should shout when it cannot be displayed correct into inline parent) or to support such things.
Updated•6 years ago
|
Component: Layout: View Rendering → Layout: Web Painting
You need to log in
before you can comment on or make changes to this bug.
Description
•