mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-30 20:59:16 +00:00
LibWeb/HTML: Add CanvasColorType
We don't implement the affected algorithms, and so the only change to
apply here is adding the dictionary member to IDL.
Corresponds to a5853ca8fa
This commit is contained in:
parent
875a7141a3
commit
0a805fe7a5
Notes:
github-actions[bot]
2025-02-11 09:40:43 +00:00
Author: https://github.com/AtkinsSJ
Commit: 0a805fe7a5
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/3530
1 changed files with 2 additions and 0 deletions
|
@ -17,11 +17,13 @@
|
|||
#import <HTML/Canvas/CanvasUserInterface.idl>
|
||||
|
||||
enum PredefinedColorSpace { "srgb", "display-p3" };
|
||||
enum CanvasColorType { "unorm8", "float16" };
|
||||
|
||||
dictionary CanvasRenderingContext2DSettings {
|
||||
boolean alpha = true;
|
||||
boolean desynchronized = false;
|
||||
PredefinedColorSpace colorSpace = "srgb";
|
||||
CanvasColorType colorType = "unorm8";
|
||||
boolean willReadFrequently = false;
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue