Files
ladybird/Libraries/LibWeb/CSS/FontFaceSet.cpp
Andreas Kling 76298a7f0c LibWeb: Only switch FontFaceSet to loaded when a loading font is removed
FontFaceSet::delete_() was calling switch_to_loaded() whenever the
loading fonts list was empty after removing a font, even if the font
was never in the loading list to begin with. Per spec, we should only
switch to loaded if the font was the last item in the loading list.
2026-03-23 09:03:57 +01:00

17 KiB