Plus that linked comment doesn't even say it's "nothing more than a non-functional wrapper for Servo". It disputes the "from scratch" claim.
Most people aren't interested in a nuanced take though. Someone said something plausible sounding and was voted to top by other people? Good enough for me, have another vote. Then twist and exaggerate a little and post it to another comment section. Get more votes. Rinse and repeat.
/// The quirks mode of the document.
#[inline]
pub fn quirks_mode(&self) -> QuirksMode {
self.quirks_mode
}
https://github.com/wilsonzlin/fastrender/blob/3e5bc78b075645...And then this:
/// The quirks mode of the document.
pub fn quirks_mode(&self) -> QuirksMode {
self.stylist.quirks_mode()
}
https://github.com/servo/stylo/blob/71737ad5c8b29c143a6c992a...It seems ChatGPT is still copying segments of code almost verbatim, although sometimes it does weird things, compare these for example:
https://github.com/wilsonzlin/fastrender/blob/3e5bc78b075645...
https://github.com/servo/stylo/blob/71737ad5c8b29c143a6c992a...
Which is also kinda crazy since superficially there was very little similar between the 2 images, but I guess AI models used for image search converge on similar embedding than the ones used for AI generation.
https://github.com/wilsonzlin/fastrender/blob/3e5bc78b075645...
In reality this project does indeed implement a functioning custom JS Engine, Layout engine, painting etc. It does borrow the CSS selectors package from Servo but that’s about it.