servo/tests
Martin Robinson 14286d913d
fonts: Remove web fonts when their stylsheet is removed (#32346)
This is the first part of ensuring that unused fonts do not leak. This
change makes it so that when a stylesheet is removed, the corresponding
web fonts are removed from the `FontContext`.

Note: WebRender assets are still leaked, which was the situation before
for all fonts. A followup change will fix this issue.

Fixes #15139.

Signed-off-by: Martin Robinson <mrobinson@igalia.com>
Co-authored-by: Mukilan Thiyagarajan <mukilan@igalia.com>
2024-05-23 06:49:31 +00:00
..
dromaeo
html fonts: Use FontInstanceFlags::EMBEDDED_BITMAPS for color fonts on MacOS (#32203) 2024-05-02 06:50:59 +00:00
jquery Remove __future__ imports that are no longer necessary (#30661) 2023-11-02 12:01:10 +00:00
power Remove __future__ imports that are no longer necessary (#30661) 2023-11-02 12:01:10 +00:00
unit Move non-gfx things out of gfx_traits and create a base crate (#32296) 2024-05-17 12:28:58 +00:00
wpt fonts: Remove web fonts when their stylsheet is removed (#32346) 2024-05-23 06:49:31 +00:00