servo/components/config
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
..
macro api: Flatten and simplify Servo preferences (#34966) 2025-01-14 13:54:06 +00:00
Cargo.toml deps: Remove some unused Cargo.toml (#35466) 2025-02-14 15:33:14 +00:00
lib.rs api: Flatten and simplify Servo preferences (#34966) 2025-01-14 13:54:06 +00:00
opts.rs servoshell: Move initial_window_size and screen_size_override into ServoShellPreferences from Opts (#35407) 2025-02-10 20:48:48 +00:00
pref_util.rs api: Flatten and simplify Servo preferences (#34966) 2025-01-14 13:54:06 +00:00
prefs.rs script: add skeleton implementation of FontFace API (#35262) 2025-02-19 05:50:01 +00:00