LibWeb: Expose TextMetrics to Worker

This commit is contained in:
Jamie Mansfield 2024-08-23 22:14:16 +01:00 committed by Sam Atkins
parent 4133177895
commit f02ca0c431
Notes: github-actions[bot] 2024-08-24 10:26:10 +00:00

View file

@ -1,5 +1,5 @@
// https://html.spec.whatwg.org/multipage/canvas.html#textmetrics
[Exposed=Window]
[Exposed=(Window,Worker)]
interface TextMetrics {
// x-direction
readonly attribute double width; // advance width