mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 01:35:08 +02:00
The spec is a bit awkward here: A few algorithms create an "empty" SourceSet, and then assign its source-size value a few steps later, so we have a temporary state with no length. In order to avoid complicating the types with Optional, I've chosen to just assign it to 0px. Previously we used `auto`, but `auto` is not a valid value here - it is used inside the "parse a sizes attribute" algorithm, but that always returns an actual length (or calc).
74 KiB
74 KiB