Merge nucleic/mellow-umber-tapir-3e0n into main
Mirrored from corpo 0d273c8.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user