mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-26 12:17:52 +00:00
LibWeb: Stub CanvasRenderingContext2D.clip
This is primarily required by Google Maps Street View, but the map view works without this.
This commit is contained in:
parent
27cc8742ce
commit
89c4e011e4
Notes:
sideshowbarker
2024-07-17 14:11:01 +09:00
Author: https://github.com/Lubrsi
Commit: 89c4e011e4
Pull-request: https://github.com/SerenityOS/serenity/pull/13604
3 changed files with 11 additions and 0 deletions
|
@ -60,4 +60,9 @@ interface CanvasRenderingContext2D {
|
|||
undefined setTransform(double a, double b, double c, double d, double e, double f);
|
||||
undefined resetTransform();
|
||||
|
||||
// undefined clip(optional CanvasFillRule fillRule = "nonzero");
|
||||
// undefined clip(Path2D path, optional CanvasFillRule fillRule = "nonzero");
|
||||
// FIXME: Replace this with the two definitions above.
|
||||
undefined clip();
|
||||
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue