Visit Mozilla.org

Talk:XUL Reference

From MDC

[edit] Request for topic

I do not know where the guidelines for using CSS with XUL and using HTML with XUL should go, But I think someplace in the XUL reference makes sense. (It should go in the section on Themes - Enn) My understanding is that we should document what we have. If what was conceived, like using CSS with align and flex rules is ambiguous, then we should document what works and use that as a baseline for describing what we wish for.


I have been experimenting on using CSS with XUL. It appears to me that any and all width and height attributes do not work exactly the same as the would in html because of the flexible box model.

CSS that do not work the same in xul as they do in html

 width, height, min-height, min-width, max-width, max-height

CSS that does work the same way in xul as in html

 font, color, background-color, etc.

What about "box layout with CSS" and using "HTML with XUL" in the periodic table?