mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Update web-platform-tests to revision 6730dabbcc826e8ccbd6a9ee43d67c65e8626f29
This commit is contained in:
parent
858bb43298
commit
10398f2a98
114 changed files with 2670 additions and 2444 deletions
|
@ -0,0 +1,18 @@
|
|||
// GENERATED CONTENT - DO NOT EDIT
|
||||
// Content was automatically extracted by Reffy into webref
|
||||
// (https://github.com/w3c/webref)
|
||||
// Source: Accelerated Text Detection in Images (https://wicg.github.io/shape-detection-api/text.html)
|
||||
|
||||
[
|
||||
Exposed=(Window,Worker),
|
||||
SecureContext
|
||||
] interface TextDetector {
|
||||
constructor();
|
||||
Promise<sequence<DetectedText>> detect(ImageBitmapSource image);
|
||||
};
|
||||
|
||||
dictionary DetectedText {
|
||||
required DOMRectReadOnly boundingBox;
|
||||
required DOMString rawValue;
|
||||
required FrozenArray<Point2D> cornerPoints;
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue