mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-09-29 08:11:13 +00:00
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,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…
Reference in a new issue