News for hackers. Stuff that matters.
Re:XUL Layout has been removed from Firefox by c-smile on Sunday April 02, 2023 @09:28PM (#35417433)
That's generally impossible as native UI widgets are windows. Consider this:

   <div style="overflow:hidden">
     <input type="text" />
   </div>
In order to clip out that input in case overflow the container must be a window too. This leads to situation when all DOM elements must be windows. That's too much.
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.
Re:XUL Layout has been removed from Firefox by rafram on Monday April 03, 2023 @10:45AM (#35424489)
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.