3 ms·
XUL wasn’t used for the DOM. It was used for the UI interfaces of the browser itself—the url bar, the history pane, the menu bar, etc.
by adastra22 4y ago
XUL wasn’t used for the DOM. It was used for the UI interfaces of the browser itself—the url bar, the history pane, the menu bar, etc.
- rafram 4y agoIt still is. The entire Firefox UI exists in the DOM -- the URL bar is an HTML input, the toolbar buttons are XUL <toolbarbutton>s. The box model can even be used from normal web pages! Just add this CSS to an element: display: -moz-box; and then you can -moz-box-flex it to your heart's content. The box model will no longer function once the patches that this blog post describes make it into a release, but XUL elements themselves are still around.