servo/components/script_bindings
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
..
codegen script: add skeleton implementation of FontFace API (#35262) 2025-02-19 05:50:01 +00:00
webidls script: add skeleton implementation of FontFace API (#35262) 2025-02-19 05:50:01 +00:00
build.rs script: Move code generation and webidl files to new script_bindings crate. (#35157) 2025-01-24 20:47:43 +00:00
callback.rs Move various reflector types and traits to script_bindings (#35279) 2025-02-04 06:58:08 +00:00
Cargo.toml Make WebBluetooth an optional feature. (#35479) 2025-02-18 04:13:43 +00:00
conversions.rs dom: Always replace unpaired surrogates when handling page text (#35381) 2025-02-09 08:56:05 +00:00
inheritance.rs Move more foundational types to script_bindings (#35280) 2025-02-04 10:36:30 +00:00
lib.rs Move more foundational types to script_bindings (#35280) 2025-02-04 10:36:30 +00:00
reflector.rs Move various reflector types and traits to script_bindings (#35279) 2025-02-04 06:58:08 +00:00
script_runtime.rs Move more foundational types to script_bindings (#35280) 2025-02-04 10:36:30 +00:00
str.rs dom: Always replace unpaired surrogates when handling page text (#35381) 2025-02-09 08:56:05 +00:00
trace.rs bindings: Move string-related bindings code to script_bindings. (#35172) 2025-01-29 07:40:25 +00:00
utils.rs Move more foundational types to script_bindings (#35280) 2025-02-04 10:36:30 +00:00