The user's MCP servers page drew Linear's, Context7's and GitHub's
logos (GitHub avatars, opaque) with a white fringe at each of the four
corners. The tile (.mk-icon) had a white background under the picture,
and its rounded clip's soft edge let that white through. The white now
sits on a plate 1px inside the tile (::before, border-radius inherit),
which the clip never reaches, so an opaque logo meets the row's own
background at its corners. A logo with see-through parts (an .svg) still
sits on white, an initial keeps its grey (no plate), and the skeleton
looks as before. The same tile is the library rows' 26px/24px logo, the
market cards' 36px and the market sheet's 44px.
Tried first in a page of the three real avatars at 2x in WebKit and
Chromium: background:none removed the fringe, clip-path inset(round)
beside or instead of overflow:hidden did not.
New: internal/gui/tests/market-icon-corners.test.cjs, dark theme, 2x,
every language, both engines. It reads the tile's own pixels: no corner
of an opaque black logo is brighter than the card plus 30, an svg tile
is white along its edges, and an initial's tile is not white.
Run (mote, at this commit's tree on origin/main ca499953e):
- market-icon-corners: 8/8 ok.
- Broken by hand: the old library.css with the new test, 8/8 red
("corner at 0,0: 76 against the card's 35" in Chromium, 75 in WebKit).
- Every GUI file that loads the library page, its market or MCP views,
plus i18n and the font files: 60 files, 1018 tests, 1017 ok. The one
red, i18n-keys "a plugin's words are its own", is red the same at a
fresh origin/main 6104e88aa (#4053, a masking.go comment).
- go test ./internal/gui: TestMainWindowCorners/macOS_26_SDK red, the
same at origin/main 6104e88aa (#3949, macOS 27); everything else ok.
Rebased after the run onto 6104e88aa, which changes internal/usage only.
Not run: the whole GUI suite (the change is one plugin's stylesheet;
the files above are every one that loads it or reads .mk-icon); the
real app on Linux WebKitGTK.