Email or username:

Password:

Forgot your password?
Servo

Floats are now supported in the new Servo nightly!

This is one of the trickiest parts of CSS2, and while there are still some outstanding issues, the pass rate is already far better than it ever was in legacy layout 🎉

Compare 31 August with 1 September:

servo wikipedia page rendered in the 2023-08-31 nightly, with the article text overlapping the floating infobox
servo wikipedia page rendered in the 2023-09-01 nightly, with the article text flowing around the floating infobox
4 comments
WerySkok :verified_think:

@usul I think @servo is planned as just an engine and now they're targeting to become embedded engine just like CEF

Tshepang Mbambo

@servo how did Firefox do it, seeing that it depends on Stylo

bjorn3

@tshepang @servo My understanding is that rendering of web pages happens in four steps: Style (compute effective css properties of every element), layout (compute the location and size of every element), paint (draw the individual elements) and composite (composite the painted elements to present to the user). Stylo only handles the style step. Floats were already supported in this step by Stylo, but Servo didn't support it in the layout step for their new layout engine yet.

Go Up