News for hackers. Stuff that matters.
Re:Web Browser Engineering by pavpanchekha on Tuesday October 15, 2024 @11:45AM (#41849762)
Wow, thanks, you always suspect no one has actually read the papers :) That was a crazy project... I eventually got it passing almost all of the WPT css2 fragment.

I'm still working on CSS layout, with hopefully another paper coming soon.

Re:Web Browser Engineering by tannhaeuser on Tuesday October 15, 2024 @12:19PM (#41850151)
In that case, you've got at least one avid reader ;)
Re:Web Browser Engineering by bloopernova on Tuesday October 15, 2024 @12:24PM (#41850212)
For what it's worth, I'm just a devops person and I found that article on How CSS Floats Work to be very understandable :) Thank you for writing all this great stuff!
Re:Web Browser Engineering by userbinator on Wednesday October 16, 2024 @03:56PM (#41863170)
Since you're still working on it, have you considered this edge-case with floats: if a float is added long after the last breakpoint, and the current line grows long enough that it (with the float) reaches the right edge, do you take that breakpoint (and thus the float that came after moves to the next line due to the rule that a float cannot be put higher than its occurrence in the flow), or "defer" the float to the next line, freeing more space on the current line? All the browsers I've tested recently seem to do the former, but if you read the CSS rules for floats carefully, the rule that says floats are to be placed as high as possible suggests that deferring the current float, and thus possibly allowing more content on the current line, may result in future floats being higher than if the current float was not deferred, despite the current float ending up at the same height.