3 ms·
> If you know JavaScript or HTML/CSS, you can contribute to the front-end of Firefox Huh? I'm interested in that, but I'd think most of the GUI's behavior is i
by aasasd 7y ago
> If you know JavaScript or HTML/CSS, you can contribute to the front-end of Firefox
Huh? I'm interested in that, but I'd think most of the GUI's behavior is in C++ and hopefully threaded for responsiveness? And only the top ‘fluff’ layer is styleable, possibly being made with XUL.
Alas, links in that post don't seem to lead to architectural overviews of the components.
- nbpname 7y agoI am no expert in the front-end of Firefox, but a search highlight files such as "tabbrowser.css" and "tabbrowser.js". Have fun: https://searchfox.org/mozilla-central/search?q=&case=false®exp=false&path=browser%2F*%2F*%2F*.%7Bjs%2Cjs%2Ccss%7D https://searchfox.org/mozilla-central/search?q=&case=false&r...
- zbraniecki 7y agoThat's not true. Majority of the front end is in html+js+css these days. Most of it is /browser and /toolkit directories. The rest is Gecko engine and it's written in a mix of Rust, C++ and JS. We're moving more to Rust with the back end but staying with JS on the front end. You can develop almost any feature of Firefox without ever leaving JS.
- aasasd 7y agoInteresting, thanks! Will try poking things in there. Though this might explain why parts of the GUI sometimes get held up by each other... Is there, by any chance, an intro to the moving parts in the GUI code, for newcomers?