servo/components/shared
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
..
background_hang_monitor script: add skeleton implementation of FontFace API (#35262) 2025-02-19 05:50:01 +00:00
base deps: Upgrade to webrender@0.66 (#35325) 2025-02-07 11:57:26 +00:00
bluetooth Include WebViewId into EmbedderMsg variants where possible (#35211) 2025-01-30 11:15:35 +00:00
canvas Use surfman with glow bindings (take II) (#35422) 2025-02-13 07:26:38 +00:00
compositing libservo: Expose a single InputEvent type and pass it to script (#35430) 2025-02-12 17:07:15 +00:00
devtools Inform the devtools about shadow roots on a node (#35294) 2025-02-05 13:16:36 +00:00
embedder implement Touchevent prevent default behavior (#35031) 2025-02-17 10:50:04 +00:00
fonts script: add skeleton implementation of FontFace API (#35262) 2025-02-19 05:50:01 +00:00
net script: add skeleton implementation of FontFace API (#35262) 2025-02-19 05:50:01 +00:00
profile script: add skeleton implementation of FontFace API (#35262) 2025-02-19 05:50:01 +00:00
script Make WebBluetooth an optional feature. (#35479) 2025-02-18 04:13:43 +00:00
script_layout deps: Remove some unused Cargo.toml (#35466) 2025-02-14 15:33:14 +00:00
webrender libservo: Expose SoftwareRenderingContext and WindowRenderingContext (#35501) 2025-02-18 14:50:41 +00:00
webxr deps: Remove some unused Cargo.toml (#35466) 2025-02-14 15:33:14 +00:00