mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 19:17:44 +00:00
LibWeb: Add Canvas Context2D basic font property support
This commit is contained in:
parent
b05fe22d39
commit
bba14f6014
7 changed files with 181 additions and 27 deletions
|
@ -9,7 +9,7 @@ enum CanvasTextRendering { "auto", "optimizeSpeed", "optimizeLegibility", "geome
|
|||
|
||||
// https://html.spec.whatwg.org/multipage/canvas.html#canvastextdrawingstyles
|
||||
interface mixin CanvasTextDrawingStyles {
|
||||
// FIXME: attribute DOMString font; // (default 10px sans-serif)
|
||||
attribute DOMString font; // (default 10px sans-serif)
|
||||
attribute CanvasTextAlign textAlign; // (default: "start")
|
||||
attribute CanvasTextBaseline textBaseline; // (default: "alphabetic")
|
||||
// FIXME: attribute CanvasDirection direction; // (default: "inherit")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue