Skills 2026-09-01 20:50 UTC
system-atlas
Committed by garshythoel. Update Category: Bug Fixes & Stability Improvements. Commit details: fix(atlas): add the doctype so the map renders in standards mode. This update resolves known runtime errors and enhances system reliability.
CommitRaw commit message
fix(atlas): add the doctype so the map renders in standards mode The template began at <meta charset="utf-8">, so every published atlas rendered in quirks mode — document.compatMode reported BackCompat. Measured before changing anything: of 179 elements, 6 differ between the two modes, all from one cause. A line box holding only inline-blocks does not reserve the baseline descender in quirks mode, so the "New in this chapter" chip row is 23.5px rather than 26px and everything under it sits 2.5px higher. The box model itself never differed — the controls are <button> elements, which are border-box by default in both modes. So this is not a bug fix so much as closing a latent trap. The current CSS is unaffected, but quirks mode silently changes the rules for CSS written later: a future width on a padded div would behave one way here and another way in every other document its author has worked in. Verified after: compatMode is CSS1Compat, all four chapters walk with no runtime errors, click-to-pin still pins, and the page is visually unchanged. Guarded in build.test.mjs, which fails if the doctype is ever dropped, and SKILL.md now says why both opening lines have to stay and in what order. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>