Closed
Bug 399420
Opened 18 years ago
Closed 18 years ago
float does not work on HTML elements which are direct childrens of XUL elements
Categories
(Core :: Layout: Floats, defect)
Tracking
()
RESOLVED
INVALID
People
(Reporter: zdenek.hrib, Unassigned)
Details
(Keywords: testcase)
Attachments
(1 file)
|
473 bytes,
application/vnd.mozilla.xul+xml
|
Details |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; cs; rv:1.8.1.7) Gecko/20070914 Firefox/2.0.0.7
Build Identifier:
if there is and HTML element directly inside a XUL element, setting float CSS property does NOT work properly.
<xul:window>
<div style="float: right">this will not float</div>
</xul:window>
if there is one more HTML element between floating HTML element and XUL element, setting float CSS property WILL work properly.
<xul:window>
<div>
<div style="float: right">this will float</div>
</div>
</xul:window>
Reproducible: Always
Steps to Reproduce:
1.open the example.xul testcase
Actual Results:
elements are not floating
Expected Results:
elements should be floating
| Reporter | ||
Comment 1•18 years ago
|
||
Comment 2•18 years ago
|
||
This might be intentional. See e.g. bug 322436 and bug 366128.
Keywords: testcase
Comment 3•18 years ago
|
||
Floating is only defined in a block formatting context. So yes, this is intentional. There's no sane way to interpret the markup in comment 0 example 1.
Status: UNCONFIRMED → RESOLVED
Closed: 18 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•