182 bytes, text/html
341 bytes, application/vnd.mozilla.xul+xml
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.
Created attachment 60507 [details] Testcase #2: XUL version of test displaying apparently incorrect behavior.
Is this valid? There is no intention to support floating and positioning in box layout, as far as I know.
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.
You may use dir instead,example:<hbox dir="rtl"><box/><box/><box/></hbox>