LibWeb: Split PredefinedColorSpace into its own IDL file
This matches the structure of the HTML spec where this is split out.
This commit is contained in:
parent
040d7c38cf
commit
566746c276
3 changed files with 3 additions and 2 deletions
|
|
@ -1,7 +1,5 @@
|
|||
// https://html.spec.whatwg.org/multipage/canvas.html#imagedata
|
||||
|
||||
enum PredefinedColorSpace { "srgb", "display-p3" };
|
||||
|
||||
dictionary ImageDataSettings {
|
||||
PredefinedColorSpace colorSpace;
|
||||
};
|
||||
|
|
|
|||
2
Libraries/LibWeb/HTML/PredefinedColorSpace.idl
Normal file
2
Libraries/LibWeb/HTML/PredefinedColorSpace.idl
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
// https://html.spec.whatwg.org/multipage/canvas.html#predefinedcolorspace
|
||||
enum PredefinedColorSpace { "srgb", "srgb-linear", "display-p3", "display-p3-linear" };
|
||||
|
|
@ -616,6 +616,7 @@ libweb_support_idl(HTML/NavigatorDeviceMemory)
|
|||
libweb_support_idl(HTML/NavigatorID)
|
||||
libweb_support_idl(HTML/NavigatorLanguage)
|
||||
libweb_support_idl(HTML/NavigatorOnLine)
|
||||
libweb_support_idl(HTML/PredefinedColorSpace)
|
||||
libweb_support_idl(HTML/PopoverTargetAttributes)
|
||||
libweb_support_idl(HTML/Scripting/Fetching)
|
||||
libweb_support_idl(HTML/UniversalGlobalScope)
|
||||
|
|
|
|||
Loading…
Reference in a new issue