LibWeb: Expose TextMetrics to Worker
This commit is contained in:
parent
4133177895
commit
f02ca0c431
Notes:
github-actions[bot]
2024-08-24 10:26:10 +00:00
Author: https://github.com/jamierocks Commit: https://github.com/LadybirdBrowser/ladybird/commit/f02ca0c4318 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/1174
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue