In XUL, "float: right;" doesn't appear to work

NEW
Assigned to

Status

()

Core
XUL
16 years ago
4 years ago

People

(Reporter: Samir Gehani, Assigned: Eric Vaughan)

Tracking

(Blocks: 1 bug)

Trunk
x86
Windows 2000
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(2 attachments)

(Reporter)

Description

16 years ago
Will attach two test cases: 

Testcase #1 will be the HTML version with two buttons declared in a div.  The
first button correctly appears on the right of the second because the of the
"float: right" style declaration on the first button.

Testcase #2 shows the problem in XUL.  This testcase is the XUL port of testcase
#1.  The first button remains on the left of the second button as though "float:
right" was being ignored.  The DOM inspector shows that the "float: right" style
is applied to the node under the "computed style" view of the node.
(Reporter)

Comment 1

16 years ago
Created attachment 60506 [details]
Testcase #1: correctly functioning HTML version of test.
->evaughan
Assignee: dbaron → evaughan
Component: Style System → XP Toolkit/Widgets: XUL
(Reporter)

Comment 3

16 years ago
Created attachment 60507 [details]
Testcase #2: XUL version of test displaying apparently incorrect behavior.

Comment 4

16 years ago
Is this valid? There is no intention to support floating and positioning 
in box layout, as far as I know.
(Reporter)

Updated

16 years ago
Blocks: 150256
I agree that this bug is essentially invalid.  There is, however, a possibility
that our current behavior isn't compliant with 9.7 of CSS2, and we should change
what overrides what.

Updated

10 years ago
Component: XP Toolkit/Widgets: XUL → XUL
QA Contact: ian → xptoolkit.widgets

Comment 6

4 years ago
You may use dir instead,example:<hbox dir="rtl"><box/><box/><box/></hbox>
You need to log in before you can comment on or make changes to this bug.