card harness dynamic changes

This commit is contained in:
2026-09-11 21:19:08 -07:00
parent 8fcda5f2b7
commit 56f010a71e
25 changed files with 1055 additions and 126 deletions

View File

@@ -27,6 +27,10 @@ export class TestCanvas extends EventTarget {
return {
fillRect() {}, strokeRect() {}, fillText() {}, save() {}, restore() {},
translate() {}, rotate() {}, createLinearGradient() { return { addColorStop() {} } },
beginPath() {}, closePath() {}, moveTo() {}, lineTo() {}, bezierCurveTo() {},
quadraticCurveTo() {}, arc() {}, ellipse() {}, rect() {}, roundRect() {},
fill() {}, stroke() {}, clip() {}, scale() {}, setLineDash() {},
measureText(text) { return { width: text.length * 22 } },
}
}
getBoundingClientRect() { return { left: 0, top: 0, width: this.width, height: this.height } }