diff --git a/WIP.Screenshots.md b/WIP.Screenshots.md
index 5ad94df16..258f1e44a 100644
--- a/WIP.Screenshots.md
+++ b/WIP.Screenshots.md
@@ -273,9 +273,7 @@ Exit codes: 0 every picture written or unchanged, 1 a picture failed, 2 the tool
Added and deleted PNGs, one beyond noise, and one whose SVG alone changed are left alone.
`--dry-run` lists; the IDE options (`--ide`, `--jobs`, `--svg`, `--bundles`, `--diffs`,
`--against-disk`) are refused with it. One noise rule: the capture's `nearly`, `--cleanup`
- and `sheet.mjs --against`'s within-noise section all call `withinNoise`
- (`scripts/lib/shot-change.mjs`), and the sheet shows the `--cleanup` command beside its
- `git checkout` one. On the BETA 1033 retake its dry run puts back none of the 329 modified
+ and the review tool all call `withinNoise` (`scripts/lib/shot-change.mjs`). On the BETA 1033 retake its dry run puts back none of the 329 modified
pictures.
- **Setups**: one IDE each --- `no-project` (menus, dialogs, panels), `help` (the add-in's nine,
`test/addin/helpdemo`), `project`, `sample`, the `settings` setups, `glyphs`, `global-search`
@@ -1147,33 +1145,6 @@ the PNG was just captured from, and the build shows it in place of the PNG
which is what the filter's own merge paints. One SVG serves screen and book, since the
bake is exact. Blurred shadows stay bitmaps in
the PDF, which loses nothing.
-- **The sheet of the pictures with no SVG** (owner): `scripts/svgshot/sheet.mjs --out
`
- writes `index.html` and a `pictures/` folder, openable from `file://`: each PNG with no SVG
- beside it (`--all`: every PNG) that has a bundle is drawn again and judged as replay does,
- worst first, PNG, render and difference map side by side; then the ones with no bundle as
- thumbnails. A bundle whose PNG has changed is drawn anyway, with a note (`redraw`'s `stale`).
- The sheet is for the owner alone, so it is drawn with `checkUserName: false` and may show the
- user name (owner); `outputRefusal` keeps it out of `docs/` and out of any path git does not
- ignore, and an existing folder must hold an earlier sheet. What it shares with replay is
- `scripts/svgshot/redraw.mjs` (`redraw`, `writeJudged`, `runShards`/`inBrowser`, the
- `judgedFiles` names: `.svg-diff.png` and `.svg` as `--diffs` names them); its pages are
- `scripts/svgshot/sheets.mjs`, made of the pieces in `scripts/lib/shot-views.mjs`.
- `shoot_docs.mjs --diffs` is to call `sheetHtml` over its diffs folder in a later commit.
- A sheet of the pictures with no SVG takes seconds; `--all`, over some 550 pictures, about a
- minute.
-- **The sheet of changes against a revision** (owner): `sheet.mjs --out --against `
- reviews what a screenshot run rewrote: each PNG under `--docs` that git (run in that folder,
- so its repository answers) reports changed against the revision, working tree against commit,
- untracked PNGs added, as old / new / difference map (`scripts/lib/shot-change.mjs`; sizes that
- differ are compared aligned at the top left, the map shows the larger). Order: changed, most
- changed first (share of pixels more than 16 levels off); then the pictures within the noise
- rule (`withinNoise`, the rule `shoot_docs.mjs` moved there: 16 levels, 0.5% of the pixels),
- which shoot_docs never writes over a file, so they are most likely rewritten in error (owner),
- with one `git checkout -- ` and the `shoot_docs.mjs --cleanup` command, which the
- page only shows; then added, then deleted. The revision's pictures are read in one `git
- cat-file --batch` (`readRevisionFiles`, `scripts/lib/shot-revision.mjs`). PNG
- against PNG, no browser: 337 pictures in about 30 s. On the BETA 1033 retake none was within
- noise.
- **The bar** (`SVG_FAITHFUL` in `scripts/lib/shot-policy.mjs`): an SVG with more than 0.25% of its pixels 96
grey levels or more off is not written, and an older one is removed. Anything not drawn falls
to it. A picture's entry in `test/shots/manifest.json` can move it, to any level and share,
diff --git a/WIP.ShotReview.md b/WIP.ShotReview.md
index bb95b11de..4ab2d580e 100644
--- a/WIP.ShotReview.md
+++ b/WIP.ShotReview.md
@@ -5,14 +5,14 @@ picture, overriding it, starting retakes and replays, and committing the result.
agreed with the owner on 2026-10-31; all nine steps of [the order of work](#order-of-work) are
done: the tool runs as `node scripts/shot_review.mjs`, applies each verdict under `docs/` as it
arrives, takes a review's decisions and allowances, starts and stops its runs from its runs
-page, and commits the session's own files from its commit page; `sheet.mjs` judges and shows
-each picture's allowances; the tool is documented in `Tools-IDE.md` and its tests are a gate of
-`test.bat`.** The mockups it was agreed
+page, and commits the session's own files from its commit page; the tool is documented in
+`Tools-IDE.md` and its tests are a gate of `test.bat`.** The mockups it was agreed
on were inline in that session and are not kept: the pages are described below instead.
The tool covers everything the command-line screenshot tools do, interactively, with a person
-deciding where a threshold cannot (owner). The command-line tools stay, and both reach the
-same result for the same inputs: see [Factoring](#factoring).
+deciding where a threshold cannot (owner). The tools that take and draw the pictures stay, and
+both reach the same result for the same inputs: see [Factoring](#factoring). The tool's pages are
+the one place to look at the pictures: there is no static page of them (owner, 2026-11-06).
## Why
@@ -55,8 +55,7 @@ Two decisions are made by fixed thresholds, and neither threshold holds for ever
- **A capture that differs from one already decided goes back to the queue**, showing the
last decision, instead of having that decision applied to it.
- **The queue is persistent**, with backward and forward navigation; an overview page shows
- every picture at once, as the `sheet.mjs --against` page does, and opens a detail page for
- any of them; the detail page moves backward and forward through the queue.
+ every picture at once, and opens a detail page for any of them; the detail page moves backward and forward through the queue.
- **The tool starts and stops its own retakes and replays**, and their results show as they
arrive. A picture can be decided as soon as it arrives, while the run goes on.
- **Which build a picture was taken on is recorded**, in a committed manifest.
@@ -72,10 +71,7 @@ Two decisions are made by fixed thresholds, and neither threshold holds for ever
2026-10-31), so that a page's and a picture's address can be kept; not a port from `tbbroker`.
- **The overview also lists the pictures under `docs/` that differ from the baseline but that
no run of the session reported** (a retake from a terminal, an edit), as a group of their own
- (owner, 2026-10-31): HEAD's picture against the file, with no verdict to override. The
- overview then covers what `sheet.mjs --against` covers.
-- **The static sheets show a picture's allowances** (owner, 2026-10-31), as the overview does:
- `sheet.mjs` reads the manifest, as the command-line tools already do.
+ (owner, 2026-10-31): HEAD's picture against the file, with no verdict to override.
- **When HEAD moves under an open session** (a commit made outside the tool), the session keeps
its baseline and the overview warns, as step 5 does; and the overview offers to **move the
session to the new HEAD on demand** (owner, 2026-10-31). Moving makes the new HEAD the
@@ -114,8 +110,7 @@ has it). Grouped, in this order:
9. **Failed**.
A row of counts at the top, filters (all, needs a look, overridden, no SVG), and **Resume at
-*n* of *m*** to go back to where the queue was left. The two pages of `sheet.mjs` become views
-of this one: `--against` is the overview itself, the pictures with no SVG a filter.
+*n* of *m*** to go back to where the queue was left.
### All pictures
@@ -134,6 +129,15 @@ bundles**, a replay with `--recheck` of those with a bundle: option 2 on demand.
picture's page of verdicts when the session has one, else a plain page: the baseline's picture,
the file, its SVG, why it has none, and Retake and Replay, previous and next in this page's order.
+**The images no shot takes** (owner, 2026-11-06) are on the page too, in a group *No automated
+capture*, before the collapsed *With an SVG*: every image under docs (`imagesUnder`) that is not a
+shot's PNG, SVG or light picture. They are there to look at: a card has no selection, and the plain
+page has no run, no chip of a build, no size, and shows the file at its own size (a shot is 2x and
+is shown at half), the baseline's copy only when it differs. Left out (`NOT_LISTED`, owner): what a
+script makes, a diagram's SVG beside its DOT, the build's Gantt chart and a video's poster frame,
+and the favicon. The file routes and the plain page take any image type; a review's actions still
+take only a PNG or an SVG (`isDocsPath`).
+
### Detail
One picture: previous and next (in the order of the overview, within the filter it was opened
@@ -375,7 +379,6 @@ and the writes are inline in `shoot_docs.mjs` (`keep`, `keepSvg`, `restoreSvg`,
| Writing a verdict | `keep`, `keepSvg`, `restoreSvg`, `dropLight` in `shoot_docs.mjs`; `replay` in `replay.mjs` | `applyPicture` / `applySvg` in a new `scripts/lib/shot-apply.mjs` (PNG, SVG, bundle, the SVG going back with its PNG through `svgFate`), called by `shoot_docs.mjs`, `replay.mjs`, `--cleanup` and the tool |
| How far an SVG is off | `diff.mjs` counts pixels at 8, 32 and 96 levels in the page | also returns the strength map (a byte per pixel, the one-pixel shift allowed), from which any level's share, rectangles left out and regions are worked out in Node, without drawing again; `pct8`/`pct32`/`pct96` derived from it |
| Regions | none | `changeRegions(strength, {level, close, erode, rects})` in `shot-change.mjs`, for PNG and SVG alike |
-| The sheets' HTML | `sheetHtml`, `changeSheetHtml` and their pieces in `redraw.mjs` | the pieces (card, figure, meter, page) in a views module shared by `sheet.mjs` and the tool; a static sheet is the overview without its actions |
| `redraw.mjs`'s other contents | git change listing (`changedPictures`, `parseNameStatus`, ...) beside drawing | the git listing to `shot-revision.mjs`; `redraw.mjs` keeps drawing and the shards |
| A child's report | `reportShard` / `runShards`, the `@@svgshot-result` line | one module for the prefixed-line protocol, used by the shards and by `--events` |
| Server-sent events | `sseHandler` inside `builder/serve.mjs` | lifted to `lib/`, used by `serve.mjs` and the tool |
@@ -392,7 +395,7 @@ uses it. `shoot_docs.mjs` cannot run in a gate, so a move is checked by its test
Each step ends tested and usable on its own.
1. **The moves**, no behaviour changed: the table's *After* column, with `shoot_docs.mjs`,
- `replay.mjs` and `sheet.mjs` calling the shared modules. Done (the commit helper with step
+ `replay.mjs` calling the shared modules. Done (the commit helper with step
8): see [Where the work stands](#where-the-work-stands).
2. **The manifest**: read and written by one module; `shoot_docs.mjs` and `replay.mjs` judge
with its allowances, honour its decisions and record `build`. Done.
@@ -405,7 +408,7 @@ Each step ends tested and usable on its own.
the session to a new HEAD ([Decisions](#decisions-owner)). Done.
7. **The runs page**: retake, replay, clean up, stop. Done.
8. **The commit panel**. Done.
-9. **`sheet.mjs` on the shared views**, showing each picture's allowances; the tool's entry in `Tools-IDE.md`, its node in
+9. **The documentation**: the tool's entry in `Tools-IDE.md`, its node in
`Tools-Groups.dot` (its command-line cases are in `scripts/lib/cli-cases.mjs` since step 5), its tests in
`test.bat` (and so in Tools.md's list and the `run-gates` action), and the row in
WIP.md's *Which file to open*. Done.
@@ -428,7 +431,7 @@ On `staging` since 2026-10-31, steps 1 to 9. Each move kept the command-line too
| Writing a verdict | `scripts/lib/shot-apply.mjs`: `applyPicture(outRoot, out, decision, revision, {svg, bundlesRoot})` (for "dark", with `svg`, and for "once", the light file's SVG and bundle go too, through `dropPicture`: the "dark" verdict's two calls of step 5 made one), `applySvg(outRoot, svgOut, svg or null)`, `restorePictures(outRoot, revision, outs, {dryRun})` (the PNGs and their SVGs, the SVGs by one `git restore`; `--cleanup` and a `restored` picture both use it), `dropPicture(outRoot, out, bundlesRoot)`, `writeSvg`, `svgOf`. What stays in `shoot_docs.mjs`'s `keep` and `keepSvg`: the counts, the lines it prints, the `--diffs` pictures, the bundle written, the user-name check, and the rule that an SVG stays as it is when its PNG was not written |
| The git listing | `changedPictures`, `parseNameStatus`, `parseUntracked` in `scripts/lib/shot-revision.mjs` |
| A child's report | `scripts/lib/record-lines.mjs`: `recordLine`, `writeRecord`, `parseRecord`, `readRecords(stream, kinds, {onRecord, onLine})`; `runShards` reads `svgshot-result` records with it, and `--events` writes `shot-event` records the same way (a shard's pass through its parent as lines) |
-| The sheets' HTML | the pieces in `scripts/lib/shot-views.mjs`: `pageHtml({generator, title, intro, summary, contents, body})`, `cardHtml({out, meta, meter, figures})`, `figuresIn(folder)` (`href`, `figure`, `thumb`), `meterHtml`, `tocItem`, `esc`, `anchor`, `sizeText`, `pctText`. The two pages, their rows, their order, their commands and the output-folder rules (`mayWriteSheet`, `SHEET_GENERATOR`) are in `scripts/svgshot/sheets.mjs`, and `outputRefusal`, which the stage shares, in `shot-revision.mjs`; `redraw.mjs` keeps drawing and the shards |
+| The pages' HTML | the pieces in `scripts/lib/shot-views.mjs`: `pageHtml({generator, title, intro, summary, contents, body, head})`, `chipHtml`, `allowancesOf`, `esc`, `anchor`, `sizeText`; `outputRefusal`, which the stage uses, in `shot-revision.mjs`; `redraw.mjs` keeps drawing and the shards |
| Server-sent events | `createSseChannel()` in `lib/sse.mjs`: `handle(req, res)`, `send(event, data)`, `close()`; `builder/serve.mjs` uses one |
| The installs | `listIdes()` in `scripts/lib/tb-install.mjs`, newest first, `[{build, exe}]` |
| Commit | `workingChanges(root)` (`{top, changes}`, `parseStatus` of `git status --porcelain=v1 -z --no-renames --untracked-files=all`) and `commitPaths(root, {paths, added, message})` in `shot-revision.mjs`: `git add` of the paths git does not track, then `git commit --only` of every path named, literal pathspecs on stdin, hooks run; git's own words in the Error when it refuses |
@@ -450,7 +453,7 @@ What step 6 added:
|---|---|
| Applying the verdicts | `createApplier({session, docsRoot, bundlesRoot, revision(), manifest()})` in `scripts/lib/shot-verdicts.mjs`: `arrive(n, out, part)` applies a part of a run's verdict as its event arrives, as the run decided it (the server queues each arrival and applies one per turn of its event loop, so that it answers between them: applied as their events were read, a replay's, each 0.1 s or more for its bundle copied into the cache, held every request up for as long as the replay ran, owner, 2026-11-01; a run that has exited stays live until its arrivals are applied, and `close()` applies what is left); `pending()` applies what was reported and not applied (the tool opened again); `rejudge(out, from)` applies every layer of a picture again from the run `from` on, judged anew with the manifest as it is and against the baseline; `reviewed(n, out)`, `heldPng(n, out)`, `errors`. Its header has the rules. What it applied is the stage's `review/` (`readReviewed`, `writeReviewed`, `reviewedFiles` in `shot-stage.mjs`), which the server shows in place of the run's own verdicts; a verdict judged again whose reference changed has its strength map measured again into `review/maps/` |
| What a picture held | before a run's verdict on a picture is applied, `holdPicture(dir, outRoot, out, bundlesRoot, build)` keeps its PNG, SVG, bundle and manifest build in `runs//held/`; `unholdPicture` puts them back (each removed that was not there) and returns the build; `heldOf`. Putting a picture back as its first layer found it undoes that layer and every later one, which is how a decision is applied and a run removed (`heldPictures(dir)` lists what a run held) |
-| A bundle into the cache | `copyBundle(fromRoot, toRoot, out, png)` in `svgshot/bundle.mjs`, naming the PNG the file holds once a review has decided (the run named the one it expected); `BUNDLE_CACHE` there, the one default for `shoot_docs.mjs`, `replay.mjs`, `sheet.mjs` and the tool |
+| A bundle into the cache | `copyBundle(fromRoot, toRoot, out, png)` in `svgshot/bundle.mjs`, naming the PNG the file holds once a review has decided (the run named the one it expected); `BUNDLE_CACHE` there, the one default for `shoot_docs.mjs`, `replay.mjs` and the tool |
| The SVG with its PNG | `svgFollowsPng({written, svgOnDisk})` in `shot-policy.mjs`, which `shoot_docs.mjs`'s `keepSvg` and the applier both ask. With `--stage`, `keepSvg` judges and stages the SVG of a picture whose PNG is not written too ("unchanged", `why` its reason, no look), and of one restored or the dark one's, so that a review that takes the capture can write the SVG as judged; the lines printed are the same, and without `--stage` nothing changed |
| The noise rule over files | `pngsNear(a, b, rule)` in `shot-change.mjs`, `shoot_docs.mjs`'s `nearly` |
| The manifest's setter | `setPart(out, part, key, value)` on `openManifest`'s object: a decision or an allowance set, or removed with `undefined`, checked as `parseManifest` checks an entry |
@@ -520,24 +523,9 @@ What step 9 added:
| Part | Where it is |
|---|---|
| A picture's allowances as text | `allowancesOf(entry)` in `shot-views.mjs`, `{png, svg}`: the rule each allowance makes, with the defaults filled in from `pngRule` and `svgRule`, or null. The overview's cards and a picture's page show each as a chip, `PNG: allowance` and `SVG: allowance`, the rule as its tooltip (`chipsOf(p, entry)`; `overviewHtml` takes `entry(out)` from the server) |
-| The sheet of pictures with no SVG | `sheet.mjs` reads the manifest when `--docs` is `docs` (as `shoot_docs.mjs` and `replay.mjs` do for their `--out`) and passes each picture's entry to `judgeSvg`, so an SVG is judged by its own bar and a review's decision. A row has `by`, `allowance` and `own` ({share, bar}: the share off at its bar's levels with its rectangles left out, and its bar); its card shows the allowance with that share, or "accepted/refused by a review's decision", and its meter is drawn against its own bar |
-| The sheet of changes | `compareRevisionPicture(item, before, after, entry)` compares by `pngRule(entry)` (`compareImages(A, B, rule)` takes the rule: its `levels` split beyond from faint, and `noiseOnly` is `withinNoise` with the whole rule) and files a picture as noise by `cleanupResets`, so the group is exactly what the `--cleanup` command it shows puts back. A row has `by`, `share` and `allowance`; the card says "kept old" or "taken new by a review's decision", and the meter's mark is the rule's share. `meterHtml` clamps a mark past the meter's full width to its end (an allowance of 100% is past the 10% the bar shows) |
| The commit's status | the commit form has `data-busy="committing..."`, and the page script's `post` says the `data-busy` text of the form or control that sent an action, else "applying..." |
| The tests | the review tool's four suites moved from `test/svgshot.test.mjs` into `test/shot-review.test.mjs` (session, pages, writes under docs, server), each file keeping the imports it uses; the modules the tool shares with the command-line tools stay tested in `svgshot.test.mjs`. The new file is a step of `test.bat`, of the `run-gates` action, of Tools.md's list (31 steps; `check_gate_lists.mjs` now reads number words up to forty) and of Building.md's command, with an entry of its own in `Tools-Toolchain-Tests.md` and a row in WIP.md's roster |
-| The documentation | `shot_review.mjs` in `Tools-IDE.md` (after `sheet.mjs`, which now says how it reads the manifest), node `i10` in `Tools-Groups.dot` and `t29` for its tests (the next row's edge to the samples moved to it), the landing page's line, and WIP.md's *Which file to open* row naming the tool |
-
-Step 9 was checked with the tests (121 in `svgshot.test.mjs`, 22 in `shot-review.test.mjs`:
-the allowances as text and as chips, the overview's chips after an allowance through the server,
-the change sheet with an allowance, a rectangle left out and a decision each way, the no-SVG
-sheet's card with its own bar and a decision, the clamped mark, and the commit form's
-`data-busy` and the script that reads it), with `build.bat`, `check.bat` and `test.bat`, and by
-running both sheets with an entry put in the manifest for the run and taken out after (`git
-checkout` of it): `--against 16765345^ --only IDE/Menu/` filed `Menu_View.light.png`, with a PNG
-allowance of 255 levels and 100%, under noise (0 changed beyond noise, its card naming the rule)
-and `Menu_Edit.png`, with a "keep old" decision on its file, as kept old by a review although its
-size changed; `--all --only Menu_Add-Ins` judged `Menu_Add-Ins.png` by an SVG bar of 32 levels
-and 5% (0.081% off by it, the same as its `pct32`), and its light picture, with no entry, by the
-default bar.
+| The documentation | `shot_review.mjs` in `Tools-IDE.md`, node `i10` in `Tools-Groups.dot` and `t29` for its tests (the next row's edge to the samples moved to it), the landing page's line, and WIP.md's *Which file to open* row naming the tool |
**The commit runs without blocking** (owner, 2026-11-01, after step 9):
@@ -679,5 +667,5 @@ MutationObserver (`tabCloseIcon`).
## Open
Nothing: the questions open after step 5 (the port, pictures changed outside the session,
-allowances in the static sheets, HEAD moving under a session) were answered by the owner on
+HEAD moving under a session) were answered by the owner on
2026-10-31 and are under [Decisions](#decisions-owner).
diff --git a/WIP.md b/WIP.md
index 08cb92889..9a8110251 100644
--- a/WIP.md
+++ b/WIP.md
@@ -81,7 +81,7 @@ The rest of this file is the maintenance guide for updating existing pages or ad
> **Two rules come from this package.** First, **never widen an `exclude:` entry in
> `_config.yml` to a bare underscore prefix.** The twinBASIC interface is named `_App`
> (the COM hidden-interface convention), so a blanket `**/_*/**` would drop all 37
- > pages under `_App/`. The exclude is scoped to `**/_Images/**` (plus `**/*.af`).
+ > pages under `_App/`. The underscore entries match at the source root only.
> Second, a UTF-8 BOM in front of a page's `---` hides its frontmatter: `discover`
> would file the page as a *static file* and serve the raw markdown. Editors on
> Windows add a BOM unasked. `lib/frontmatter.mjs` strips a leading BOM before parsing.
@@ -592,7 +592,7 @@ Why the report separates the wedged task from the merely blocked ones, and why
- `addin-test.bat` — tests IDE add-ins by operating an IDE: every lane in `test/addin/lanes.mjs` builds the add-ins it tests into a private copy of the install, opens a project and checks what the add-in does. Outside every gate and outside CI for the same reasons as `examples.bat`; the eighteen lanes: Samples 10 and 15, the fourteen probe lanes behind the answers in [WIP.HelpAddin.md](WIP.HelpAddin.md) (`keys-help` is `keys` with the help add-in loaded), and the help add-in in `add-in/` twice, built with its committed copy of the symbol index, `add-in/Resources/SYMBOLS/symbols.json`, which a local build rewrites whenever the index changes. The `help` lane serves the built `docs/_site` on localhost to the add-in's pane; `help-offline` builds the add-in with a help archive of `docs/_site-offline` and the pane's pages come from the add-in's own server. So run `build.bat` first. Exit 0 every lane passed and the registry is as it was found, 1 a lane failed, 2 the harness failed, 3 the registry or a work folder was not put back. See [Driving the twinBASIC compiler](#driving-the-twinbasic-compiler) for its rules.
- `ide-test.bat` --- the same runner for scenarios that operate the IDE itself rather than an add-in: every lane in `test/ide/lanes.mjs`. Same exit codes, same standing outside every gate and outside CI, same rules.
- `try-help-addin.bat` --- opens one IDE on the user's desktop with the help add-in built and loaded, to try it by hand, and puts the registry back once it is closed (see [Driving the twinBASIC compiler](#driving-the-twinbasic-compiler)). Needs `build.bat` first. Exit 0 closed and put back, 1 the add-in or the project did not compile, 2 the tool could not run, 3 not put back.
-- `node scripts/shoot_docs.mjs` --- writes the documentation's IDE screenshots (plan and owner's decisions: [WIP.Screenshots.md](WIP.Screenshots.md)). Each picture is a shot in a table, `out` its path under `docs/` (`--only` matches it), in a setup (the main three below; the full list is in WIP.Screenshots.md), each one IDE on a **private** desktop started only when a shot in it is selected: `help` (builds the add-in as `try-help-addin.bat` does, opens `test/addin/helpdemo`, `TB_DOCS_HELP_REAL_TITLEBAR=0`: the nine `docs/IDE/AddIns/Images/Help_.png`), `no-project` (`Lane.openNoProject` with `includeProjects`: the menus, cut out with alpha, the dialogs that need no project, and the empty panels, each floated on its own, after the dialogs) and `project` (the demo without the add-in: About, which needs the compiler's licence answer, and IDE Options, whose font lists need a project). One setup is not an IDE: `web` starts puppeteer's Chrome through `launchOnDesktop` on a private desktop of its own (never headless, never on the user's desktop; native-window occlusion and occluded-window backgrounding switched off, or a capture waits forever or comes back blank) for the two public pages the FAQ shows, taken once; it needs the network, as do `webpage` (the Webpage pane on `https://docs.twinbasic.com/`, its page frozen from the pane's own DevTools target and shown in a frame of the IDE's page at the pane's place, as Help_Window's docs frame is shown by srcdoc, so that the SVG can draw both: `scripts/lib/shot-freeze.mjs`) and the package-server setups, which never publish. Every IDE gets `--force-device-scale-factor=1` (`Lane`'s `browserArgs`), else the page follows the display's scaling; the page is overridden to 1280x880 at 2x, and `PAGE_DEFAULTS` puts the IDE's options, panel layouts and keyboard groups to their defaults and the recent lists to the tool's own **in the page only**, nothing written because the IDE has `IDE_FLAGS` (the one recent-list call they do not guard, `RemoveRecentsList`, is replaced first). Each picture is a `Page.captureScreenshot` with a `clip`; a page showing it gives it `{:width height}` of half its pixel size. **Every picture is taken in two themes by one IDE**: dark as `X.png`, then, after `backToPrepared` and `tbTheme_SwitchToLightMode`, Light (not Classic) as `X.light.png` beside it, which the build pairs by name ([WIP.Build.md](WIP.Build.md#pictures-in-two-themes)); a light picture with the dark one's pixels is not kept, and one more than 32 device pixels off the dark one's size fails (a wrong state, not the theme). So does a picture whose two themes say different things (`themeTextDifference`, `scripts/lib/shot-policy.mjs`): the page's text inside the clip is read at each pass's capture, white space ignored, and text one theme shows whole and the other shows none of fails it, naming the words on each side, with or without `--svg`, so that a line cut by the clip's edge is no difference; a shot whose text must differ names the words in `themeWords`. A label's pill follows the theme unless the shot names a `tone`. A shot's `annotate` list (arrows, rings, badges...) is drawn by `scripts/svgshot/annotate.mjs` as one SVG layer over the page before the capture and removed after it, the clip growing to hold it. A picture is rewritten only when its bytes differ, and a second run reports every one `unchanged`; a capture is not byte-stable, so `capture` captures back to back, with no rest, until one equals the file on disk or two agree, and, when the two that agree are not the file, goes on capturing further apart, for 5.5 s at most, until one is, keeping the last two that agreed, and a picture that differs from the file only by a capture's noise (16 grey levels, 0.5% of its pixels) is left as it is. **The reference is the picture at git `HEAD` first, then the file** (owner): compared with the file alone, a picture drifted from `HEAD` over the runs of one retake, each step within noise of the file before it. A capture equal to or within noise of `HEAD`'s picture leaves the file as `HEAD` has it, its SVG too (`HEAD`'s, or none), reported `restored` when it held anything else; one that is not, but is within noise of the file, leaves the file (an earlier run's real change); a picture `HEAD` lacks is compared with the file only (`pictureFate`, `scripts/lib/shot-revision.mjs`; the run's pictures at `HEAD` read in one `git cat-file --batch`). `--against ` takes another revision, `--against-disk` the file only. **`--cleanup`** (`--dry-run` to list) starts no IDE: it resets every PNG git reports modified that is within noise of `HEAD`'s, with its SVG, so that only real changes stay; one noise rule, `withinNoise` in `scripts/lib/shot-change.mjs`, for the capture, `--cleanup` and `sheet.mjs --against`. **The manifest, `test/shots/manifest.json`** (`scripts/lib/shot-manifest.mjs`; [WIP.ShotReview.md](WIP.ShotReview.md#remembered-overrides)), records the build of each picture a run writes, and holds each picture's allowances (its noise rule's limits and rectangles left out, its SVG's bar) and a review's decisions, each tied to the bytes it was made on; `decidePicture` and `decideSvg` (`scripts/lib/shot-policy.mjs`) judge with them, in a run, in `--cleanup` and in `replay.mjs`, so a run from a terminal and one from the review tool come out the same. It is read and written only for the default `--out`. **`--stage `** (a new or empty folder git ignores) writes nothing under `docs/`, to the bundle cache or to the manifest, and puts each capture, its SVG, bundle, difference pictures, strength maps and verdict there (`scripts/lib/shot-stage.mjs`), for the review tool to apply; **`--events`** prints a `@@shot-event` line per event, and then a line `stop` on stdin ends the run as at its normal end; `replay.mjs` takes both ([WIP.ShotReview.md](WIP.ShotReview.md#runs)). `--jobs N` (default 6) runs the setups at once, each in a slot of its own from `tbbroker`, a full run with `--svg` in about 12 minutes on BETA 1010 (`--jobs 1`: one at a time); `--diffs ` writes the old picture, the new one and an amplified difference map for each that changed, named with its theme. Settle by a condition, never a fixed sleep, and a picture that shows some state sets it itself rather than relying on the shots before it. The page's animations and carets are switched off through a style sheet put into the document and every shadow root; a picture that holds DEBUG CONSOLE lines has their times (and a CodeLens run's time taken) set in the page once the real ones show. **A running program's window** (setup `programs`, fixture `test/shots/programs`) is taken **once** (`once: true`, the dark pass only) with `captureWindow`, cropped to its visible frame, at the display's DPI, shown at its size at 96 DPI; its shot says `window: true` in the table, and a shot whose take and table disagree fails. **`--list`** starts no IDE: it prints the table as one line of JSON (`[{out, setup, once, window}]`), which the review tool's page of every picture reads. **The Windows user name must never be in a published picture**: the visible text of the page, text boxes included, is searched for it before the first capture and again when a capture is chosen, with the picture's SVG under `--svg` (a page can draw again in between: Project Settings puts a real path back over the one the shot set), and for a program's window the texts of the window and its children, and the run fails when it is there. **A path a picture shows on the tool's own folder is virtual** (owner): the real folder is `.claude\tbshots` (`PACKAGE_ROOT`, gitignored, removed at the end of a run), every picture shows it as `C:\tbshots`, which is never created, and `scripts/lib/shot-root.mjs` rewrites it in the page from the moment the lane attaches, with the same kind of guard as the user name's. The tool finds each name it presses F1 on by searching the demo's source, not by line. The add-in's detached window has a port from the broker (the help setup's slot carries one), since the add-in is told it before it binds it. **`--svg`** also draws each picture as SVG from the page as it stands at the capture (`scripts/svgshot/`: a DOM snapshot converted, its text set in per-picture subsets of the fonts the IDE drew it with, cut by `scripts/subset_font.py`, which needs Python with fontTools), compares it with the PNG, and writes `X.svg` or `X.light.svg` beside it only when no more than 0.25% of its pixels are far off; otherwise an older SVG is removed and the page shows the PNG; the SVG of a picture whose PNG is not rewritten stays as it is, with its bundle, unless a review accepts the new one (owner), but its bundle goes to the cache when the SVG drawn is the file's to the byte (owner, `bundleFollowsSvg`), and the SVG is written with it when the cached bundle cannot draw the picture again (owner, `staleBundle`) ([WIP.Build.md](WIP.Build.md#pictures-as-svg)). With `--svg` each picture's *bundle*, what its SVG is drawn from, is saved in the gitignored `.svgshot-bundles/` (`--bundles`; never under `docs/`, a bundle holds the user name), and **after a change to the converter, `node scripts/svgshot/replay.mjs` draws every SVG again from the bundles, with no IDE**, in about 20 s for the 370 (an SVG the same as its file is not compared again, `--recheck` compares all; the fonts' cuts are kept in `.svgshot-bundles/subsets/`; one browser per process, GPU off); it lists the pictures whose bundle cannot answer what the converter now asks, with the `--only` command that retakes them ([WIP.Screenshots.md](WIP.Screenshots.md#pictures-as-svg)). `node scripts/svgshot/sheet.mjs --out ` writes a page of the pictures with no SVG (`--all`: every picture), each drawn again from its bundle beside its PNG and difference map, worst first; it is drawn without the user-name check (owner: the sheet is the owner's alone), so `--out` is refused under `docs/` and anywhere git does not ignore; what it and replay share is `scripts/svgshot/redraw.mjs`, and its pages are `scripts/svgshot/sheets.mjs`, made of the pieces in `scripts/lib/shot-views.mjs`. `node scripts/svgshot/bench.mjs` tests the converter's replicas of what Chromium draws outside the DOM (scrollbars, drop-down lists) in Edge, with no IDE ([WIP.Screenshots.md](WIP.Screenshots.md#pictures-as-svg)). No wrapper; outside every gate and outside CI, as `try-help-addin.bat` is. Exit 0 every picture written or unchanged, 1 a picture failed, 2 the tool could not run, 3 not put back. Run `build.bat` first.
+- `node scripts/shoot_docs.mjs` --- writes the documentation's IDE screenshots (plan and owner's decisions: [WIP.Screenshots.md](WIP.Screenshots.md)). Each picture is a shot in a table, `out` its path under `docs/` (`--only` matches it), in a setup (the main three below; the full list is in WIP.Screenshots.md), each one IDE on a **private** desktop started only when a shot in it is selected: `help` (builds the add-in as `try-help-addin.bat` does, opens `test/addin/helpdemo`, `TB_DOCS_HELP_REAL_TITLEBAR=0`: the nine `docs/IDE/AddIns/Images/Help_.png`), `no-project` (`Lane.openNoProject` with `includeProjects`: the menus, cut out with alpha, the dialogs that need no project, and the empty panels, each floated on its own, after the dialogs) and `project` (the demo without the add-in: About, which needs the compiler's licence answer, and IDE Options, whose font lists need a project). One setup is not an IDE: `web` starts puppeteer's Chrome through `launchOnDesktop` on a private desktop of its own (never headless, never on the user's desktop; native-window occlusion and occluded-window backgrounding switched off, or a capture waits forever or comes back blank) for the two public pages the FAQ shows, taken once; it needs the network, as do `webpage` (the Webpage pane on `https://docs.twinbasic.com/`, its page frozen from the pane's own DevTools target and shown in a frame of the IDE's page at the pane's place, as Help_Window's docs frame is shown by srcdoc, so that the SVG can draw both: `scripts/lib/shot-freeze.mjs`) and the package-server setups, which never publish. Every IDE gets `--force-device-scale-factor=1` (`Lane`'s `browserArgs`), else the page follows the display's scaling; the page is overridden to 1280x880 at 2x, and `PAGE_DEFAULTS` puts the IDE's options, panel layouts and keyboard groups to their defaults and the recent lists to the tool's own **in the page only**, nothing written because the IDE has `IDE_FLAGS` (the one recent-list call they do not guard, `RemoveRecentsList`, is replaced first). Each picture is a `Page.captureScreenshot` with a `clip`; a page showing it gives it `{:width height}` of half its pixel size. **Every picture is taken in two themes by one IDE**: dark as `X.png`, then, after `backToPrepared` and `tbTheme_SwitchToLightMode`, Light (not Classic) as `X.light.png` beside it, which the build pairs by name ([WIP.Build.md](WIP.Build.md#pictures-in-two-themes)); a light picture with the dark one's pixels is not kept, and one more than 32 device pixels off the dark one's size fails (a wrong state, not the theme). So does a picture whose two themes say different things (`themeTextDifference`, `scripts/lib/shot-policy.mjs`): the page's text inside the clip is read at each pass's capture, white space ignored, and text one theme shows whole and the other shows none of fails it, naming the words on each side, with or without `--svg`, so that a line cut by the clip's edge is no difference; a shot whose text must differ names the words in `themeWords`. A label's pill follows the theme unless the shot names a `tone`. A shot's `annotate` list (arrows, rings, badges...) is drawn by `scripts/svgshot/annotate.mjs` as one SVG layer over the page before the capture and removed after it, the clip growing to hold it. A picture is rewritten only when its bytes differ, and a second run reports every one `unchanged`; a capture is not byte-stable, so `capture` captures back to back, with no rest, until one equals the file on disk or two agree, and, when the two that agree are not the file, goes on capturing further apart, for 5.5 s at most, until one is, keeping the last two that agreed, and a picture that differs from the file only by a capture's noise (16 grey levels, 0.5% of its pixels) is left as it is. **The reference is the picture at git `HEAD` first, then the file** (owner): compared with the file alone, a picture drifted from `HEAD` over the runs of one retake, each step within noise of the file before it. A capture equal to or within noise of `HEAD`'s picture leaves the file as `HEAD` has it, its SVG too (`HEAD`'s, or none), reported `restored` when it held anything else; one that is not, but is within noise of the file, leaves the file (an earlier run's real change); a picture `HEAD` lacks is compared with the file only (`pictureFate`, `scripts/lib/shot-revision.mjs`; the run's pictures at `HEAD` read in one `git cat-file --batch`). `--against ` takes another revision, `--against-disk` the file only. **`--cleanup`** (`--dry-run` to list) starts no IDE: it resets every PNG git reports modified that is within noise of `HEAD`'s, with its SVG, so that only real changes stay; one noise rule, `withinNoise` in `scripts/lib/shot-change.mjs`, for the capture, `--cleanup` and the review tool. **The manifest, `test/shots/manifest.json`** (`scripts/lib/shot-manifest.mjs`; [WIP.ShotReview.md](WIP.ShotReview.md#remembered-overrides)), records the build of each picture a run writes, and holds each picture's allowances (its noise rule's limits and rectangles left out, its SVG's bar) and a review's decisions, each tied to the bytes it was made on; `decidePicture` and `decideSvg` (`scripts/lib/shot-policy.mjs`) judge with them, in a run, in `--cleanup` and in `replay.mjs`, so a run from a terminal and one from the review tool come out the same. It is read and written only for the default `--out`. **`--stage `** (a new or empty folder git ignores) writes nothing under `docs/`, to the bundle cache or to the manifest, and puts each capture, its SVG, bundle, difference pictures, strength maps and verdict there (`scripts/lib/shot-stage.mjs`), for the review tool to apply; **`--events`** prints a `@@shot-event` line per event, and then a line `stop` on stdin ends the run as at its normal end; `replay.mjs` takes both ([WIP.ShotReview.md](WIP.ShotReview.md#runs)). `--jobs N` (default 6) runs the setups at once, each in a slot of its own from `tbbroker`, a full run with `--svg` in about 12 minutes on BETA 1010 (`--jobs 1`: one at a time); `--diffs ` writes the old picture, the new one and an amplified difference map for each that changed, named with its theme. Settle by a condition, never a fixed sleep, and a picture that shows some state sets it itself rather than relying on the shots before it. The page's animations and carets are switched off through a style sheet put into the document and every shadow root; a picture that holds DEBUG CONSOLE lines has their times (and a CodeLens run's time taken) set in the page once the real ones show. **A running program's window** (setup `programs`, fixture `test/shots/programs`) is taken **once** (`once: true`, the dark pass only) with `captureWindow`, cropped to its visible frame, at the display's DPI, shown at its size at 96 DPI; its shot says `window: true` in the table, and a shot whose take and table disagree fails. **`--list`** starts no IDE: it prints the table as one line of JSON (`[{out, setup, once, window}]`), which the review tool's page of every picture reads. **The Windows user name must never be in a published picture**: the visible text of the page, text boxes included, is searched for it before the first capture and again when a capture is chosen, with the picture's SVG under `--svg` (a page can draw again in between: Project Settings puts a real path back over the one the shot set), and for a program's window the texts of the window and its children, and the run fails when it is there. **A path a picture shows on the tool's own folder is virtual** (owner): the real folder is `.claude\tbshots` (`PACKAGE_ROOT`, gitignored, removed at the end of a run), every picture shows it as `C:\tbshots`, which is never created, and `scripts/lib/shot-root.mjs` rewrites it in the page from the moment the lane attaches, with the same kind of guard as the user name's. The tool finds each name it presses F1 on by searching the demo's source, not by line. The add-in's detached window has a port from the broker (the help setup's slot carries one), since the add-in is told it before it binds it. **`--svg`** also draws each picture as SVG from the page as it stands at the capture (`scripts/svgshot/`: a DOM snapshot converted, its text set in per-picture subsets of the fonts the IDE drew it with, cut by `scripts/subset_font.py`, which needs Python with fontTools), compares it with the PNG, and writes `X.svg` or `X.light.svg` beside it only when no more than 0.25% of its pixels are far off; otherwise an older SVG is removed and the page shows the PNG; the SVG of a picture whose PNG is not rewritten stays as it is, with its bundle, unless a review accepts the new one (owner), but its bundle goes to the cache when the SVG drawn is the file's to the byte (owner, `bundleFollowsSvg`), and the SVG is written with it when the cached bundle cannot draw the picture again (owner, `staleBundle`) ([WIP.Build.md](WIP.Build.md#pictures-as-svg)). With `--svg` each picture's *bundle*, what its SVG is drawn from, is saved in the gitignored `.svgshot-bundles/` (`--bundles`; never under `docs/`, a bundle holds the user name), and **after a change to the converter, `node scripts/svgshot/replay.mjs` draws every SVG again from the bundles, with no IDE**, in about 20 s for the 370 (an SVG the same as its file is not compared again, `--recheck` compares all; the fonts' cuts are kept in `.svgshot-bundles/subsets/`; one browser per process, GPU off); it lists the pictures whose bundle cannot answer what the converter now asks, with the `--only` command that retakes them ([WIP.Screenshots.md](WIP.Screenshots.md#pictures-as-svg)). `node scripts/svgshot/bench.mjs` tests the converter's replicas of what Chromium draws outside the DOM (scrollbars, drop-down lists) in Edge, with no IDE ([WIP.Screenshots.md](WIP.Screenshots.md#pictures-as-svg)). No wrapper; outside every gate and outside CI, as `try-help-addin.bat` is. Exit 0 every picture written or unchanged, 1 a picture failed, 2 the tool could not run, 3 not put back. Run `build.bat` first.
- **The six GitHub pictures of `Documentation/Building.md` are taken by the Chrome extension in `scripts/svgshot/` and by no session** (owner: only the owner signs in to GitHub; no session opens a pull request, posts anything on GitHub or uses the owner's account); `node scripts/svgshot/chromeshot.mjs ` turns what it saves into `X.png`, `X.light.png`, their SVGs and their bundles, a capture of the whole window trimmed first to the area `chrome/shots.mjs` names (`trim.mjs`), and `chrome_try.mjs` tries the extension on a public page in a Chrome of its own ([WIP.Screenshots.md](WIP.Screenshots.md#pictures-from-a-signed-in-chrome)). **The folder `scripts/svgshot/` is the extension's root, and Chrome loads nothing from outside it and no Node module**: `capture.mjs`, `annotate.mjs`, `private-words.mjs`, `snapshot-svg.mjs`, `snapshot-trim.mjs`, `font-rules.mjs`, `colour-filter.mjs`, `gradient.mjs`, `util.mjs` and `chrome/` import nothing else, which `test/svgshot.test.mjs` checks by following the imports. **A capture or a bundle never goes under `docs/`**, and what is published is checked for the Windows user name, git's `user.name` and `user.email` and each `find` of `scripts/svgshot/private.json`, which git ignores: by `chromeshot.mjs` before it writes anything, and by `replay.mjs`.
- **The help add-in's project file is written by every build, CI's included.** The `addinProject` task (`builder/addin-project.mjs`) packs `add-in/` into `tB/IDE/AddIns/downloads/tbDocsHelp.twinproj` in the **online tree only**, which the Help Add-In page offers as a download; `_config.yml`'s `addin_project` declares both ends, so a fixture config gets none. It waits for the `helpArchive` task. It packs the files `git ls-files` lists there, read from the working folder, never a `Resources/HELP/` file from the disk, with CRLF made LF outside `Resources/` (so a Windows and a Linux build write the same bytes), the `tB/symbols.json` the same build wrote in place of the committed copy, and **the zip that build's archive task wrote** as `Resources/HELP/site.zip`, passed in memory (a build that wrote none --- `--no-help-archive`, `--serve`, another `--dest`, a fixture --- packs without it, and the summary line says `without the offline archive`). The download is about 61 MB with the archive, 1 MB without. The offline tree holds no copy (the project carries that tree's archive, so a copy there would be circular), and its links to the file are rewritten to the website by the general rule in `offline-rewrite.mjs`: a URL the offline tree lacks but the online tree has becomes `site.url` + path, and is no miss (`computeWebsiteUrl`; the offline link check's `forbidExempt` excuses exactly those links, `isWebsiteOnlyLink`). The pack is `packFiles` from `scripts/impexp.mjs`, in memory (never staged through `%TEMP%`), the one module under `scripts/` that `builder/` may import (`biome.jsonc`); `check_tree_fresh.mjs` watches it and `add-in/` for that reason. The publish allowlist exempts the one path in the trees only (`publishPolicyFor`'s `generated`); a `.twinproj` anywhere else, or in `docs/`, is refused. `--serve` writes it into its one tree; `--dry-run` writes nothing. A failure (no git) fails the build with exit 1 and the index audit names the missing file. **Don't build the DLLs in CI from it**: that needs a twinBASIC install; the download is the project, and the reader builds it. Why each of these: [WIP.Build.md](WIP.Build.md#the-help-add-ins-project-file); `test/addin-project.test.mjs` is the gate.
- **The help archive is the `helpArchive` task of the build's graph.** `builder/help-archive-step.mjs` writes `add-in/Resources/HELP/site.zip` from `docs/_site-offline` through `lib/help-archive.mjs`, once every task that writes into the offline tree has finished (`flushJoin`, `scss`, `searchIndex`, `writeOffline`; the archive task lists exactly those) and **before** the Gantt injection. **The archive leaves out `HELP_ARCHIVE_SKIP`** (`builder/help-archive-step.mjs`): the Documentation Development section (`BuildInfo.html` and `assets/images/gantt.svg` with it, so the chart never reaches the zip), Videos and their poster frames, Challenges, and **every download, which stays online** (owner): a file readers download goes in a `downloads` folder beside its page, and the step fails the build when the Downloads page offers a file the archive would hold. The add-in's server redirects any file the archive lacks to the website, because pages link to all of these; a new entry needs nothing else. It reads the file back to verify it. A mismatch fails the build (exit 1). After the Gantt injection `recheckHelpArchive` checks that the offline tree on disk lists the same files as the archive and differs from it only in `BuildInfo.html` and `gantt.svg`; a task that wrote into the offline tree late fails the build there. The help add-in embeds the zip as a resource and serves the pages from it with its own server; a build of the add-in without it uses the live site. The file is gitignored (about 60 MB, 10 MB of it the search index's `search-index.js`, deflated), so a build of the add-in from a clean clone is the online one until `build.bat` has run. The download carries the same zip (previous bullet). **`--no-help-archive` turns the step off, and neither CI workflow may pass it** (`check_ci_workflows.mjs` refuses it, in `ALLOWED.forbiddenBuildFlags`), because CI's published download would then hold no archive. It runs only for the guarded source tree (`docs`) built into the default `docs/_site-offline` (not another `--dest`, so `compare_trees` and `check_links_diff` leave it alone), never under `--serve` or `--dry-run`, never without an offline tree, and not keyed on `$CI`. There is no command-line tool for the archive: the `help-offline` lane makes its own with `writeHelpArchive`. The zip's format is fixed by the add-in's reader, which does no inflating ([WIP.HelpAddin.md](WIP.HelpAddin.md), Stage 4, increment 5).
@@ -673,7 +673,7 @@ wrapper:
| `test.bat` | `test/render.test.mjs` | `builder/render.mjs`'s markdown-it plugins, one at a time, on inputs no page holds --- today the ellipsis plugin's dot counting. Run by `node --test` |
| `test.bat` | `test/strftime.test.mjs` | `builder/strftime.mjs`'s `formatDate`, which no build calls because no page sets `last_modified_date`. Run by `node --test` |
| `test.bat` | `test/compact-image.test.mjs` | what an embedded image keeps (`compactImage` and `stripFile` in `scripts/lib/compact-image.mjs`): an editor's metadata goes, a notice of whose the picture is and on what terms stays (the IDE's lock icon carries a CC BY-NC-SA attribution), an sRGB profile goes and any other stays, a JPEG or a GIF is labelled by its bytes, and an image inside an SVG inside a CSS file is reached and keeps its encoding. Its second half runs `scripts/imagestrip/` over a CSS file and SVG files of every image the test builds and over the IDE's own stylesheets, and compares output, summary and reports with `stripFile` byte for byte; it is skipped unless `IMAGESTRIP_EXE` names the built exe. Run by `node --test` |
-| `test.bat` | `test/svgshot.test.mjs` | an SVG screenshot is written on one line (`oneLine` in `scripts/svgshot/snapshot-svg.mjs`), a break in a tag as a space and one in text as a character reference, so that a CRLF checkout changes only its last line ending; an underline is placed and sized by the figures fitted in Edge (`underlineBand`) under the boxes that set one (`decoratingBoxes`); a background image is sized by its bytes, a JPEG the IDE calls `image/png` included (`naturalSize`); an iframe's document is decoded and placed at the iframe's content box, less its scroll, scaled when zoomed, over its canvas colour (`frameGeometry`, `frameView`, `unzoom`, `viewportScroller`, `canvasColor`); a run's web font is the `@font-face` rule CSS matching picks (`webFontFiles`), and a variable WOFF2 is read and cut per weight; a family split by `unicode-range` gives each character to the rule whose range holds it (`parseUnicodeRange`, `webRulesFor`); an inline `