From 318a5e6af9bf68105e8141f05dd45b5d4924128f Mon Sep 17 00:00:00 2001
From: Tristan Fraipont
Date: Tue, 1 Feb 2022 05:18:01 +0900
Subject: [PATCH] Fixups to canvas text and state
Fix some typos in the canvas text styles section that were introduced in4d93c06fa604021b7c582940e1a419378237bf44.
Use the current filter and current composition operator in the canvas state section, instead of the public getters, per https://github.com/whatwg/html/pull/7378#issuecomment-1023922075.
---
source | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/source b/source
index 8718457b0b6..a2fb0bdf235 100644
--- a/source
+++ b/source
@@ -61826,8 +61826,10 @@ context.fillRect(100,0,50,50); // only this square remains
The current clipping region.
The current letter
spacing, word
- spacing, fill style, and
- stroke style.
+ spacing, fill style,
+ stroke style, filter, and composition operator.
The current values of the following attributes: globalAlpha
, lineWidth
,
data-x="dom-context-2d-shadowOffsetY">shadowOffsetY
, shadowBlur
, shadowColor
, filter
, globalCompositeOperation
, font
, textAlign
, textBaseline
,
data-x="dom-context-2d-direction">direction
attribute must initially have the value "inherit
".
- Objects implement the CanvasTextDrawingStyles
interface have attributes tha
+
Objects that implement the CanvasTextDrawingStyles
interface have attributes that
control the spacing between letters and words. Such objects have associated letter spacing and word spacing values, which are CSS