Re:XUL Layout has been removed from Firefox
by adastra22 on Sunday April 02, 2023 @09:56PM
(#35417621)
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.
[ Parent
| on HN ]
It 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.