You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 778a65b
Browse filesBrowse the repository at this point in the historyBrowse files
fix(css): keep the arc two opposite hues state, and draw the corpus the seed names
Four findings from the review, one of them a color an engine reads differently.
Both seeded generators wrote `(seed * 1103515245 + 12345) % 2147483648`, whose
product passes 2^53 — so the rounding collapsed the sequence to about 12,900
values however many were drawn. `Math.imul` and a mask make it the recurrence it
reads as, and the corpus it draws found the rest:
- `_hueEndpoints` read a half turn the conversion left a hair over as the arc
the other way round. Two opposite hues have no shorter arc, and CSS Color 4
§12.4 breaks the tie by which is greater — but a color reaches its own space
through sRGB, and the trip back moves the hue just enough to wrap. So
`color-mix(in hsl,hsl(200 50% 40%),hsl(20 50% 40%))` folded to a purple where
Chromium paints green. The arc stands unless it passes a half turn by more
than the trip costs; 12 spellings, both tie orderings, every hue method and a
near-tie either side were painted in Chromium against the value they replace.
- `_CONVERSION_ERROR` is re-derived from the corpus the fixed generator draws:
the worst a matrix costs is 9.53e-4 of the color's magnitude, not the 9.46e-4
measured before, so the margin is 1.52e-3. `_TRANSFER_ERROR` already covers
what this run reports and stands.
- the color measurement closes its browser whatever the run did.
And the changeset is one sentence under the length the guide asks for.
Co-Authored-By: Claude Opus 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_018tNx7sU4SbnKFhFeofDVr5
0 commit comments