Merge nucleic/mellow-umber-tapir-3e0n into main

Mirrored from corpo 0d273c8.
This commit is contained in:
2026-08-20 23:08:16 -07:00
parent ef4a19a89b
commit fe7d083d21
7 changed files with 98 additions and 46 deletions
+4 -3
View File
@@ -45,10 +45,11 @@ const problems = await page.evaluate(() => {
const height = 630;
// The statement hangs its box outside the padding by a deliberate optical inset,
// so the R's printed edge — not its box — lands on the padding. That slack is a
// so the S's printed edge — not its box — lands on the padding. That slack is a
// CONSTANT on purpose: reading it back off the element under test would let any
// margin-left, however wrong, widen the very bound meant to catch it.
const opticalSlack = 12;
// margin-left, however wrong, widen the very bound meant to catch it. 0.05em at
// 125px is 6.25px; the 2px over that is rounding room, not licence to drift.
const opticalSlack = 8;
const found = [];
const label = (element) => element.className || element.tagName;