servo/components/malloc_size_of
Mukilan Thiyagarajan 56840e0a35
script: add skeleton implementation of FontFace API (#35262)
This patch implements the `FontFace` interface, but with some caveats

1. The interface is only exposed on `Window`. Support for Workers will
   be handled in the future.
2. The concept of `css-connected` `FontFace` is not implemented, so
   `@font-face` rules in stylesheets will not be represented in the DOM.
3. The constructor only supports using `url()` strings as source
   and `ArrayBuffer` and `ArrayBufferView` are not supported yet.

A skeleton implementation of the `load` method of `FontFaceSet` is also
implemented in this patch. The intention is to support some web pages
that don't load without this method.

Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com>
2025-02-19 05:50:01 +00:00
..
Cargo.toml deps: Remove some unused Cargo.toml (#35466) 2025-02-14 15:33:14 +00:00
lib.rs script: add skeleton implementation of FontFace API (#35262) 2025-02-19 05:50:01 +00:00
LICENSE-APACHE Fork Stylo's malloc_size_of into Servo (#34332) 2024-11-22 14:57:55 +00:00
LICENSE-MIT Fork Stylo's malloc_size_of into Servo (#34332) 2024-11-22 14:57:55 +00:00