Closed Bug 43722 Opened 25 years ago Closed 25 years ago

Slew of CSS in XUL bugs, tree, html:div, treecell, more

Categories

(Core :: XUL, defect, P3)

x86
Windows 2000
defect

Tracking

()

VERIFIED INVALID

People

(Reporter: murphy, Assigned: hyatt)

Details

Attachments

(2 files)

I have attached 2 files. One XUL, and one HTML for comparison, except for the tree part of it. I have commented the XUL file, but here are the probs. 1. html: element all have a border around them that should not be there! 2. html:div relatively displayed have height of 100%! 3. absolute positioning not displayed at all. 4. treecells of 100% not doable, used to be 5. tree problems overall of doing 100% 6. etc, etc. Also, I have colored the boxes to make it easier to compare. I am trying to do some nice designs in XUL, but these are holding me up big time. Thanks!
Attached file test.xul
Attached file test.html
All with June 24th build.
The green border is intended to point out cases where HTML elements are used, rather than the preferred XUL equivalent. This is deliberate. Convert your html widgets to their XUL counterparts and you won't have that problem. There are many bugs on the absolute positioning problem. Bug 39082 comes to mind (see the testcase URL there). These are all separate issues, and independent of each other. They really should be split up into separate bug reports. Reassigning to hyatt since most of the remaining problems deal with trees, but I assume john will be able to explain further (or give dups of) the remaining bugs that I didn't mention.
Assignee: trudelle → hyatt
:-( on the HTML elements with a green border. box just does not behave like html:div. I think we should be able to use either, what is the difference? The main prob (for me) with box is that it does not work with absolute or fixed positioning. Is this a bug? Then there are the tree issues...
? Wow, just straight <div> seems to work in XUL? Fine with me, it that is the way it is supposed to be... haha
XUL is not HTML. It has its own spring-and-strut layout system that uses flex rather than percentages. Trees are no longer based off of HTML tables (which is why percentages coincidentally worked for you before), and are now properly based off boxes. The green border around HTML in XUL is intended for debugging purposes to ensure that we minimize the use of HTML in our XUL files (since XUL is much more efficient and simpler than HTML because it uses a simplified layout system). So nothing I've heard is really a bug here except for the absolute/relative positioning problems, and there are many bugs already filed on those issues.
Status: UNCONFIRMED → RESOLVED
Closed: 25 years ago
Resolution: --- → INVALID
vrfy invalid
Status: RESOLVED → VERIFIED
Component: XP Toolkit/Widgets: XUL → XUL
QA Contact: jrgmorrison → xptoolkit.widgets
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: