diff --git a/packages/webui/docs/verification/browser-suite.md b/packages/webui/docs/verification/browser-suite.md
index 82f13e458..5b33cd4df 100644
--- a/packages/webui/docs/verification/browser-suite.md
+++ b/packages/webui/docs/verification/browser-suite.md
@@ -164,10 +164,12 @@ pnpm test:webui-browser
The font files under `packages/webui/test/browser/fonts/` are committed to this repository.
The fixture server exposes those files as web fonts under the client's first sans and monospace
family names, and `openApp` waits for both faces and the initial layout observation before a test
-measures geometry. This also pins macOS and Windows, whose font engines do not use fontconfig.
-On Linux, `scripts/lib/webui-font-environment.mjs` additionally sets `FONTCONFIG_FILE` to expose
-only the committed files and selects grayscale antialiasing. Native rasterization can still differ,
-so screenshot baselines are platform-specific; review actual native captures before adding them.
+measures geometry. The typeface is therefore the same on every platform, macOS and Windows included,
+whose font engines do not use fontconfig. On Linux, `scripts/lib/webui-font-environment.mjs` additionally
+sets `FONTCONFIG_FILE` to expose only the committed files and selects grayscale antialiasing. What the
+typeface pin does not fix is the rasterizer: every platform draws the same outlines on its own pixels,
+and two machines of one platform still differ by a handful, so screenshot baselines are platform-specific
+and the pixel budget stays tight; review actual native captures before adding them.
Chromium uses its normal frame scheduling and graphics path. Live Markdown coalescing
is measured at the browser's paint opportunities rather than an artificially unbounded frame rate.
diff --git a/packages/webui/src/client/features/sessions/ui/ProjectList.tsx b/packages/webui/src/client/features/sessions/ui/ProjectList.tsx
index b0b278bfe..dcdc591c6 100644
--- a/packages/webui/src/client/features/sessions/ui/ProjectList.tsx
+++ b/packages/webui/src/client/features/sessions/ui/ProjectList.tsx
@@ -300,7 +300,7 @@ export function ProjectList({
className="webui-pinned-session-card text-text_default_primary"
>
-
+
{sessionLabel(session)}
onSessionContextMenu(event, session)}
className="webui-project-session-card text-text_default_primary"
>
-
+
{sessionLabel(session)}
-
+
{sessionLabel(child)}
span:first-of-type {
- clip-path: inset(0 0 0 0);
+ padding-right: 0;
}
.webui-pinned-session-card:hover,
.webui-pinned-session-row:hover .webui-pinned-session-card {
@@ -145,10 +145,24 @@
}
.webui-pinned-session-row:hover .webui-pinned-session-card > span:first-of-type,
.webui-pinned-session-row:has(:focus-visible) .webui-pinned-session-card > span:first-of-type {
- clip-path: inset(0 88px 0 0);
+ /* Reserve the row actions with padding, not clip-path: a clip cuts the
+ * text away outright, so a title narrower than the reserve (88px) was
+ * erased entirely and only the floating buttons were left. */
+ padding-right: 88px;
}
.webui-project-section-content { min-width: 0; }
.webui-project-section-content-inner { min-height: 0; overflow: hidden; }
+ /* The base layer sets `scrollbar-gutter: stable` on every div/ul/section,
+ * so each of these nested rail containers reserved a 17px scrollbar slot.
+ * Five levels of nesting ate 85px and squeezed the session list down to
+ * 123px — narrower than the three inline row actions (90px), which left
+ * the session name nowhere to go. These levels never scroll, so the slot
+ * is pure loss; opt out the way the plugin and transcript panels do. */
+ .webui-disclosure-content,
+ .webui-project-section-content,
+ .webui-project-section-content-inner {
+ scrollbar-gutter: auto;
+ }
[data-webui-pinned-sessions="true"] { margin-bottom: var(--spacing_4); }
/* The section header is a full-width disclosure row, so its label belongs at
* the start of the row. The shared button base centres its content, and
@@ -309,11 +323,14 @@
padding: 0 var(--spacing_8);
}
.webui-project-session-card > span:first-child {
- clip-path: inset(0 0 0 0);
+ padding-right: 0;
}
.webui-project-session-row:hover .webui-project-session-card > span:first-child,
.webui-project-session-row:has(:focus-visible) .webui-project-session-card > span:first-child {
- clip-path: inset(0 88px 0 0);
+ /* Reserve the row actions with padding, not clip-path: a clip cuts the
+ * text away outright, so a title narrower than the reserve (88px) was
+ * erased entirely and only the floating buttons were left. */
+ padding-right: 88px;
}
.webui-pinned-session-row:hover .webui-rail-session-meta,
.webui-pinned-session-row:has(:focus-visible) .webui-rail-session-meta,
@@ -343,11 +360,13 @@
text-align: left;
}
.webui-project-child-session-title {
- clip-path: inset(0 0 0 0);
+ padding-right: 0;
}
.webui-project-child-session-row:hover .webui-project-child-session-title,
.webui-project-child-session-row:has(:focus-visible) .webui-project-child-session-title {
- clip-path: inset(0 28px 0 0);
+ /* Reserve the row action with padding, not clip-path: a clip cuts the
+ * text away outright instead of letting it end in an ellipsis. */
+ padding-right: 28px;
}
.webui-project-child-session-card:hover,
.webui-project-child-session-row:hover .webui-project-child-session-card,
diff --git a/packages/webui/src/client/styles/motion.css b/packages/webui/src/client/styles/motion.css
index b8d6e4513..9ae217a17 100644
--- a/packages/webui/src/client/styles/motion.css
+++ b/packages/webui/src/client/styles/motion.css
@@ -47,6 +47,11 @@
transition-timing-function: var(--webui-motion-ease-standard);
}
.webui-motion-feedback-clip { transition: clip-path var(--webui-motion-duration-feedback) var(--webui-motion-ease-standard); }
+ /* A title that reserves the row actions' room with padding rather than with a
+ * clip: the padding sits inside the title's own box, so the text ends in an
+ * ellipsis, a short title keeps its words, and the row does not move while it
+ * answers a hover. */
+ .webui-motion-feedback-padding { transition: padding-right var(--webui-motion-duration-feedback) var(--webui-motion-ease-standard); }
.webui-motion-feedback-opacity { transition: opacity var(--webui-motion-duration-feedback) var(--webui-motion-ease-standard); }
/* Shared progress motion for geometry-driven meters in any feature. */
.webui-motion-progress {
diff --git a/packages/webui/src/client/ui/page.tsx b/packages/webui/src/client/ui/page.tsx
index 48031a088..c15924497 100644
--- a/packages/webui/src/client/ui/page.tsx
+++ b/packages/webui/src/client/ui/page.tsx
@@ -223,6 +223,7 @@ export type WebuiMotionSlotKind =
| "feedback"
| "feedback-clip"
| "feedback-opacity"
+ | "feedback-padding"
| "panel-layout"
| "progress";
@@ -239,6 +240,7 @@ const WEBUI_MOTION_SLOT_CLASSES: Record = {
feedback: "webui-motion-feedback",
"feedback-clip": "webui-motion-feedback-clip",
"feedback-opacity": "webui-motion-feedback-opacity",
+ "feedback-padding": "webui-motion-feedback-padding",
"panel-layout": "webui-motion-panel-layout",
progress: "webui-motion-progress",
};
diff --git a/packages/webui/test/browser/README.md b/packages/webui/test/browser/README.md
index d6fa86b26..12ecd2872 100644
--- a/packages/webui/test/browser/README.md
+++ b/packages/webui/test/browser/README.md
@@ -8,8 +8,11 @@ pnpm build:webui # the suite drives the built client
pnpm test:webui-browser # uses the already installed Playwright Chromium; no system-package installation
```
-The screenshot comparisons read the fonts in `fonts/`, not the ones the machine has installed, so
-they produce the same result on any host. `LICENSE.noto-fonts` covers those files.
+The screenshot comparisons read the fonts in `fonts/`, not the ones the machine has installed: the
+fixture serves them as web fonts under the client's first family names, so the typeface is the same
+everywhere. The pixels are not: every platform rasterizes those outlines its own way, so the
+baselines are per-platform (`-darwin`, `-linux`, `-win32`) and a capture has to be recorded on the
+platform whose baseline it replaces. `LICENSE.noto-fonts` covers those files.
How the fixture works, what the suite proves and what it does not, and which environment variables
change its server behaviour are documented in
diff --git a/packages/webui/test/browser/harness.mjs b/packages/webui/test/browser/harness.mjs
index 129142eb3..a7af431b4 100644
--- a/packages/webui/test/browser/harness.mjs
+++ b/packages/webui/test/browser/harness.mjs
@@ -33,12 +33,16 @@ export async function attachJsonEvidence(name, value) {
*
* The committed baselines are recorded under the pinned font environment in
* `packages/webui/test/browser/fonts/`, so the glyphs are the same on every
- * machine. What remains is the rasterizer's own rounding at a rounded
- * corner: a bubble's right edge lands on a fractional pixel, and whether that
- * edge rounds up or down shifts a handful of antialiased pixels from run to
- * run. Measured over repeated runs of the browser suite, the widest such
- * shift is seven pixels on the transcript surface and one on the plugin
- * management list.
+ * machine. The pixels are not: every platform rasterizes those glyphs its own
+ * way, so each baseline is recorded on the platform that compares it, and two
+ * machines of one platform still differ by a handful of pixels.
+ *
+ * Within a platform, what remains is the rasterizer's own rounding at a
+ * rounded corner: a bubble's right edge lands on a fractional pixel, and
+ * whether that edge rounds up or down shifts a handful of antialiased pixels
+ * from run to run. Measured over repeated runs of the browser suite, the
+ * widest such shift is seven pixels on the transcript surface and one on the
+ * plugin management list.
*
* The budget is therefore seven pixels plus a little headroom, on a capture
* of well over a million pixels — under 0.001% of the image. A real layout
diff --git a/packages/webui/test/browser/plugin-catalogue-layout.spec.mjs-snapshots/Agent-add-form-is-centered-fields-are-aligned-and-backdrop-dismissal-works-1-darwin.png b/packages/webui/test/browser/plugin-catalogue-layout.spec.mjs-snapshots/Agent-add-form-is-centered-fields-are-aligned-and-backdrop-dismissal-works-1-darwin.png
index 35e29586c..560b4746a 100644
Binary files a/packages/webui/test/browser/plugin-catalogue-layout.spec.mjs-snapshots/Agent-add-form-is-centered-fields-are-aligned-and-backdrop-dismissal-works-1-darwin.png and b/packages/webui/test/browser/plugin-catalogue-layout.spec.mjs-snapshots/Agent-add-form-is-centered-fields-are-aligned-and-backdrop-dismissal-works-1-darwin.png differ
diff --git a/packages/webui/test/browser/plugin-catalogue-layout.spec.mjs-snapshots/Agent-add-form-is-centered-fields-are-aligned-and-backdrop-dismissal-works-1-linux.png b/packages/webui/test/browser/plugin-catalogue-layout.spec.mjs-snapshots/Agent-add-form-is-centered-fields-are-aligned-and-backdrop-dismissal-works-1-linux.png
index 12c7f0dc4..d39d1b2ea 100644
Binary files a/packages/webui/test/browser/plugin-catalogue-layout.spec.mjs-snapshots/Agent-add-form-is-centered-fields-are-aligned-and-backdrop-dismissal-works-1-linux.png and b/packages/webui/test/browser/plugin-catalogue-layout.spec.mjs-snapshots/Agent-add-form-is-centered-fields-are-aligned-and-backdrop-dismissal-works-1-linux.png differ
diff --git a/packages/webui/test/browser/plugin-catalogue-layout.spec.mjs-snapshots/Agent-add-form-is-centered-fields-are-aligned-and-backdrop-dismissal-works-1-win32.png b/packages/webui/test/browser/plugin-catalogue-layout.spec.mjs-snapshots/Agent-add-form-is-centered-fields-are-aligned-and-backdrop-dismissal-works-1-win32.png
index 12ae65b28..9c57be7bb 100644
Binary files a/packages/webui/test/browser/plugin-catalogue-layout.spec.mjs-snapshots/Agent-add-form-is-centered-fields-are-aligned-and-backdrop-dismissal-works-1-win32.png and b/packages/webui/test/browser/plugin-catalogue-layout.spec.mjs-snapshots/Agent-add-form-is-centered-fields-are-aligned-and-backdrop-dismissal-works-1-win32.png differ
diff --git a/packages/webui/test/browser/plugin-catalogue-layout.spec.mjs-snapshots/Git-plugin-import-form-is-an-accessible-viewport-overlay-and-previews-local-fixture-data-1-darwin.png b/packages/webui/test/browser/plugin-catalogue-layout.spec.mjs-snapshots/Git-plugin-import-form-is-an-accessible-viewport-overlay-and-previews-local-fixture-data-1-darwin.png
index 8e68dc911..081f0c514 100644
Binary files a/packages/webui/test/browser/plugin-catalogue-layout.spec.mjs-snapshots/Git-plugin-import-form-is-an-accessible-viewport-overlay-and-previews-local-fixture-data-1-darwin.png and b/packages/webui/test/browser/plugin-catalogue-layout.spec.mjs-snapshots/Git-plugin-import-form-is-an-accessible-viewport-overlay-and-previews-local-fixture-data-1-darwin.png differ
diff --git a/packages/webui/test/browser/plugin-catalogue-layout.spec.mjs-snapshots/Git-plugin-import-form-is-an-accessible-viewport-overlay-and-previews-local-fixture-data-1-linux.png b/packages/webui/test/browser/plugin-catalogue-layout.spec.mjs-snapshots/Git-plugin-import-form-is-an-accessible-viewport-overlay-and-previews-local-fixture-data-1-linux.png
index dd9c2a1b4..5b969b845 100644
Binary files a/packages/webui/test/browser/plugin-catalogue-layout.spec.mjs-snapshots/Git-plugin-import-form-is-an-accessible-viewport-overlay-and-previews-local-fixture-data-1-linux.png and b/packages/webui/test/browser/plugin-catalogue-layout.spec.mjs-snapshots/Git-plugin-import-form-is-an-accessible-viewport-overlay-and-previews-local-fixture-data-1-linux.png differ
diff --git a/packages/webui/test/browser/plugin-catalogue-layout.spec.mjs-snapshots/Git-plugin-import-form-is-an-accessible-viewport-overlay-and-previews-local-fixture-data-1-win32.png b/packages/webui/test/browser/plugin-catalogue-layout.spec.mjs-snapshots/Git-plugin-import-form-is-an-accessible-viewport-overlay-and-previews-local-fixture-data-1-win32.png
index 18a3517dd..40bc0f221 100644
Binary files a/packages/webui/test/browser/plugin-catalogue-layout.spec.mjs-snapshots/Git-plugin-import-form-is-an-accessible-viewport-overlay-and-previews-local-fixture-data-1-win32.png and b/packages/webui/test/browser/plugin-catalogue-layout.spec.mjs-snapshots/Git-plugin-import-form-is-an-accessible-viewport-overlay-and-previews-local-fixture-data-1-win32.png differ
diff --git a/packages/webui/test/browser/plugin-catalogue-layout.spec.mjs-snapshots/MCP-add-form-validates-inputs-switches-transport-and-sends-advanced-HTTP-config-1-darwin.png b/packages/webui/test/browser/plugin-catalogue-layout.spec.mjs-snapshots/MCP-add-form-validates-inputs-switches-transport-and-sends-advanced-HTTP-config-1-darwin.png
index 6b08e454e..e0e516843 100644
Binary files a/packages/webui/test/browser/plugin-catalogue-layout.spec.mjs-snapshots/MCP-add-form-validates-inputs-switches-transport-and-sends-advanced-HTTP-config-1-darwin.png and b/packages/webui/test/browser/plugin-catalogue-layout.spec.mjs-snapshots/MCP-add-form-validates-inputs-switches-transport-and-sends-advanced-HTTP-config-1-darwin.png differ
diff --git a/packages/webui/test/browser/plugin-catalogue-layout.spec.mjs-snapshots/MCP-add-form-validates-inputs-switches-transport-and-sends-advanced-HTTP-config-1-linux.png b/packages/webui/test/browser/plugin-catalogue-layout.spec.mjs-snapshots/MCP-add-form-validates-inputs-switches-transport-and-sends-advanced-HTTP-config-1-linux.png
index 286e968a5..46e1acbdf 100644
Binary files a/packages/webui/test/browser/plugin-catalogue-layout.spec.mjs-snapshots/MCP-add-form-validates-inputs-switches-transport-and-sends-advanced-HTTP-config-1-linux.png and b/packages/webui/test/browser/plugin-catalogue-layout.spec.mjs-snapshots/MCP-add-form-validates-inputs-switches-transport-and-sends-advanced-HTTP-config-1-linux.png differ
diff --git a/packages/webui/test/browser/plugin-catalogue-layout.spec.mjs-snapshots/MCP-add-form-validates-inputs-switches-transport-and-sends-advanced-HTTP-config-1-win32.png b/packages/webui/test/browser/plugin-catalogue-layout.spec.mjs-snapshots/MCP-add-form-validates-inputs-switches-transport-and-sends-advanced-HTTP-config-1-win32.png
index cde2daa13..affb68050 100644
Binary files a/packages/webui/test/browser/plugin-catalogue-layout.spec.mjs-snapshots/MCP-add-form-validates-inputs-switches-transport-and-sends-advanced-HTTP-config-1-win32.png and b/packages/webui/test/browser/plugin-catalogue-layout.spec.mjs-snapshots/MCP-add-form-validates-inputs-switches-transport-and-sends-advanced-HTTP-config-1-win32.png differ
diff --git a/packages/webui/test/browser/plugin-catalogue-layout.spec.mjs-snapshots/Skill-add-form-is-centered-usable-and-submits-through-plugin-management-1-darwin.png b/packages/webui/test/browser/plugin-catalogue-layout.spec.mjs-snapshots/Skill-add-form-is-centered-usable-and-submits-through-plugin-management-1-darwin.png
index 6b671ec64..1404a4f4d 100644
Binary files a/packages/webui/test/browser/plugin-catalogue-layout.spec.mjs-snapshots/Skill-add-form-is-centered-usable-and-submits-through-plugin-management-1-darwin.png and b/packages/webui/test/browser/plugin-catalogue-layout.spec.mjs-snapshots/Skill-add-form-is-centered-usable-and-submits-through-plugin-management-1-darwin.png differ
diff --git a/packages/webui/test/browser/plugin-catalogue-layout.spec.mjs-snapshots/Skill-add-form-is-centered-usable-and-submits-through-plugin-management-1-linux.png b/packages/webui/test/browser/plugin-catalogue-layout.spec.mjs-snapshots/Skill-add-form-is-centered-usable-and-submits-through-plugin-management-1-linux.png
index a4dd9709c..ee7b3c206 100644
Binary files a/packages/webui/test/browser/plugin-catalogue-layout.spec.mjs-snapshots/Skill-add-form-is-centered-usable-and-submits-through-plugin-management-1-linux.png and b/packages/webui/test/browser/plugin-catalogue-layout.spec.mjs-snapshots/Skill-add-form-is-centered-usable-and-submits-through-plugin-management-1-linux.png differ
diff --git a/packages/webui/test/browser/plugin-catalogue-layout.spec.mjs-snapshots/Skill-add-form-is-centered-usable-and-submits-through-plugin-management-1-win32.png b/packages/webui/test/browser/plugin-catalogue-layout.spec.mjs-snapshots/Skill-add-form-is-centered-usable-and-submits-through-plugin-management-1-win32.png
index 2c9911910..e1445b01b 100644
Binary files a/packages/webui/test/browser/plugin-catalogue-layout.spec.mjs-snapshots/Skill-add-form-is-centered-usable-and-submits-through-plugin-management-1-win32.png and b/packages/webui/test/browser/plugin-catalogue-layout.spec.mjs-snapshots/Skill-add-form-is-centered-usable-and-submits-through-plugin-management-1-win32.png differ
diff --git a/packages/webui/test/browser/rail-pin.spec.mjs b/packages/webui/test/browser/rail-pin.spec.mjs
index 95fe68119..38687d117 100644
--- a/packages/webui/test/browser/rail-pin.spec.mjs
+++ b/packages/webui/test/browser/rail-pin.spec.mjs
@@ -58,18 +58,14 @@ function rowOf(page, sessionId) {
}
/**
- * The right inset of a computed `inset()` clip, in pixels.
+ * The right padding of an element, in pixels.
*
- * A clip of `inset(0px 88px 0px 0px)` hides the rightmost 88px of the
- * element, so the element's visible right edge sits that far in from its
- * layout box. Zero when the element is not clipped.
+ * A title that reserves the room for the row actions with padding keeps that
+ * room inside its own box, so the visible text ends that far in from the
+ * element's right edge. Zero when the element reserves nothing.
*/
-function clipRightInset(clipPath) {
- const match = /^inset\((.*)\)$/u.exec(String(clipPath).trim());
- if (!match) return 0;
- const parts = match[1].split(/\s+/u);
- if (parts.length < 2) return 0;
- return Number.parseFloat(parts[1]) || 0;
+function rightPadding(paddingRight) {
+ return Number.parseFloat(String(paddingRight)) || 0;
}
/**
@@ -105,7 +101,7 @@ test("a pinned session row has one pin action and no duplicate pin marker", asyn
await expect(row.locator('[data-webui-rail-action="pin"][aria-label^="取消置顶"]')).toHaveCount(1);
});
-test("hovering a child session keeps its avatar and clips only the title for the menu", async ({ page }) => {
+test("hovering a child session keeps its avatar and reserves the menu's room in the title", async ({ page }) => {
await openApp(page, "#session=A");
const parentDisclosure = page.getByRole("button", { name: "展开子会话:Synthetic session A" });
@@ -124,7 +120,10 @@ test("hovering a child session keeps its avatar and clips only the title for the
await expect(avatar).toBeVisible();
await expect(action.getByRole("button", { name: "子任务 C 更多操作" })).toBeVisible();
expect(await avatar.evaluate((element) => getComputedStyle(element).clipPath)).toBe("none");
- await expect.poll(() => title.evaluate((element) => getComputedStyle(element).clipPath)).toBe("inset(0px 28px 0px 0px)");
+ // The room for the row action is reserved with padding, so the title ends in
+ // an ellipsis instead of being cut away, and a title shorter than the
+ // reserve keeps its words.
+ await expect.poll(() => title.evaluate((element) => getComputedStyle(element).paddingRight)).toBe("28px");
const { titleBounds, actionBounds } = await childRow.evaluate((row) => {
const rect = (selector) => {
const { x, width } = row.querySelector(selector).getBoundingClientRect();
@@ -164,7 +163,7 @@ test("a running session title keeps its space before hover actions", async ({ pa
const labelBeforeHover = await label.evaluate((element) => {
const style = getComputedStyle(element);
const bounds = element.getBoundingClientRect();
- return { clipPath: style.clipPath, boundsRight: bounds.right };
+ return { paddingRight: style.paddingRight, boundsRight: bounds.right };
});
const metadataBeforeHover = await metadata.boundingBox();
await row.hover();
@@ -174,7 +173,7 @@ test("a running session title keeps its space before hover actions", async ({ pa
const style = getComputedStyle(element);
const bounds = element.getBoundingClientRect();
return {
- clipPath: style.clipPath,
+ paddingRight: style.paddingRight,
boundsRight: bounds.right,
transitionProperty: style.transitionProperty,
transitionDuration: style.transitionDuration,
@@ -189,20 +188,21 @@ test("a running session title keeps its space before hover actions", async ({ pa
expect(before).not.toBeNull();
expect(after).toBeNull();
- // The space for the hover actions is kept by clipping the title's first
- // span, not by padding it: the span is clipped from the right on hover, so
- // the title's visible edge stops short of the actions. Clipping rather than
- // padding keeps the row's own layout from moving while it answers a hover.
- const clipBefore = clipRightInset(labelBeforeHover.clipPath);
- const clipAfter = clipRightInset(labelLayout.clipPath);
- const contentRightBefore = labelBeforeHover.boundsRight - clipBefore;
- const contentRightAfter = labelLayout.boundsRight - clipAfter;
- expect(clipBefore).toBe(0);
+ // The space for the hover actions is kept by padding the title's first
+ // span, not by clipping it: the padding is inside the span's own box, so
+ // the title's text ends that far short of the actions and the row's own
+ // layout does not move while it answers a hover. A title shorter than the
+ // reserve keeps its words, which a clip would have erased.
+ const padBefore = rightPadding(labelBeforeHover.paddingRight);
+ const padAfter = rightPadding(labelLayout.paddingRight);
+ const contentRightBefore = labelBeforeHover.boundsRight - padBefore;
+ const contentRightAfter = labelLayout.boundsRight - padAfter;
+ expect(padBefore).toBe(0);
expect(contentRightBefore).toBeLessThanOrEqual(metadataBeforeHover.x);
- expect(clipAfter).toBe(88);
+ expect(padAfter).toBe(88);
expect(contentRightAfter).toBeLessThanOrEqual(actionsBounds.x);
expect(actionsBounds.x - contentRightAfter).toBeLessThanOrEqual(8);
- expect(labelLayout.transitionProperty).toContain("clip-path");
+ expect(labelLayout.transitionProperty).toContain("padding-right");
expect(metaDisplay).toBe("none");
expect(actionStyle.opacity).toBe("1");
expect(actionStyle.transitionProperty).toContain("opacity");
@@ -211,7 +211,7 @@ test("a running session title keeps its space before hover actions", async ({ pa
await page.mouse.move(0, 0);
await expect(spinner).toBeVisible();
await expect(metadata).toBeVisible();
- await expect.poll(() => label.evaluate((element) => getComputedStyle(element).clipPath)).toBe(labelBeforeHover.clipPath);
+ await expect.poll(() => label.evaluate((element) => getComputedStyle(element).paddingRight)).toBe(labelBeforeHover.paddingRight);
await expect.poll(() => actions.evaluate((element) => getComputedStyle(element).opacity)).toBe("0");
await page.screenshot({ path: test.info().outputPath("selected-running-session.png") });
diff --git a/packages/webui/test/browser/responsive-baselines.spec.mjs-snapshots/shell-at-1024-darwin.png b/packages/webui/test/browser/responsive-baselines.spec.mjs-snapshots/shell-at-1024-darwin.png
index f18809a64..aca863eda 100644
Binary files a/packages/webui/test/browser/responsive-baselines.spec.mjs-snapshots/shell-at-1024-darwin.png and b/packages/webui/test/browser/responsive-baselines.spec.mjs-snapshots/shell-at-1024-darwin.png differ
diff --git a/packages/webui/test/browser/responsive-baselines.spec.mjs-snapshots/shell-at-1024-linux.png b/packages/webui/test/browser/responsive-baselines.spec.mjs-snapshots/shell-at-1024-linux.png
index e21c2d538..c190691de 100644
Binary files a/packages/webui/test/browser/responsive-baselines.spec.mjs-snapshots/shell-at-1024-linux.png and b/packages/webui/test/browser/responsive-baselines.spec.mjs-snapshots/shell-at-1024-linux.png differ
diff --git a/packages/webui/test/browser/responsive-baselines.spec.mjs-snapshots/shell-at-1024-win32.png b/packages/webui/test/browser/responsive-baselines.spec.mjs-snapshots/shell-at-1024-win32.png
index f1b08da4d..a247e9200 100644
Binary files a/packages/webui/test/browser/responsive-baselines.spec.mjs-snapshots/shell-at-1024-win32.png and b/packages/webui/test/browser/responsive-baselines.spec.mjs-snapshots/shell-at-1024-win32.png differ
diff --git a/packages/webui/test/browser/responsive-baselines.spec.mjs-snapshots/shell-at-1280-darwin.png b/packages/webui/test/browser/responsive-baselines.spec.mjs-snapshots/shell-at-1280-darwin.png
index 0e2539030..bd05af1bb 100644
Binary files a/packages/webui/test/browser/responsive-baselines.spec.mjs-snapshots/shell-at-1280-darwin.png and b/packages/webui/test/browser/responsive-baselines.spec.mjs-snapshots/shell-at-1280-darwin.png differ
diff --git a/packages/webui/test/browser/responsive-baselines.spec.mjs-snapshots/shell-at-1280-linux.png b/packages/webui/test/browser/responsive-baselines.spec.mjs-snapshots/shell-at-1280-linux.png
index 5acb97c9d..35dd3a21d 100644
Binary files a/packages/webui/test/browser/responsive-baselines.spec.mjs-snapshots/shell-at-1280-linux.png and b/packages/webui/test/browser/responsive-baselines.spec.mjs-snapshots/shell-at-1280-linux.png differ
diff --git a/packages/webui/test/browser/responsive-baselines.spec.mjs-snapshots/shell-at-1280-win32.png b/packages/webui/test/browser/responsive-baselines.spec.mjs-snapshots/shell-at-1280-win32.png
index cfbb8a516..6d34e7764 100644
Binary files a/packages/webui/test/browser/responsive-baselines.spec.mjs-snapshots/shell-at-1280-win32.png and b/packages/webui/test/browser/responsive-baselines.spec.mjs-snapshots/shell-at-1280-win32.png differ
diff --git a/packages/webui/test/browser/responsive-baselines.spec.mjs-snapshots/shell-at-1440-darwin.png b/packages/webui/test/browser/responsive-baselines.spec.mjs-snapshots/shell-at-1440-darwin.png
index 3a133df8b..38a1c7f0a 100644
Binary files a/packages/webui/test/browser/responsive-baselines.spec.mjs-snapshots/shell-at-1440-darwin.png and b/packages/webui/test/browser/responsive-baselines.spec.mjs-snapshots/shell-at-1440-darwin.png differ
diff --git a/packages/webui/test/browser/responsive-baselines.spec.mjs-snapshots/shell-at-1440-linux.png b/packages/webui/test/browser/responsive-baselines.spec.mjs-snapshots/shell-at-1440-linux.png
index 002952982..229b03598 100644
Binary files a/packages/webui/test/browser/responsive-baselines.spec.mjs-snapshots/shell-at-1440-linux.png and b/packages/webui/test/browser/responsive-baselines.spec.mjs-snapshots/shell-at-1440-linux.png differ
diff --git a/packages/webui/test/browser/responsive-baselines.spec.mjs-snapshots/shell-at-1440-win32.png b/packages/webui/test/browser/responsive-baselines.spec.mjs-snapshots/shell-at-1440-win32.png
index 783ff465f..c0d432787 100644
Binary files a/packages/webui/test/browser/responsive-baselines.spec.mjs-snapshots/shell-at-1440-win32.png and b/packages/webui/test/browser/responsive-baselines.spec.mjs-snapshots/shell-at-1440-win32.png differ
diff --git a/packages/webui/test/browser/responsive-baselines.spec.mjs-snapshots/shell-at-768-darwin.png b/packages/webui/test/browser/responsive-baselines.spec.mjs-snapshots/shell-at-768-darwin.png
index 01127db76..cee0e625e 100644
Binary files a/packages/webui/test/browser/responsive-baselines.spec.mjs-snapshots/shell-at-768-darwin.png and b/packages/webui/test/browser/responsive-baselines.spec.mjs-snapshots/shell-at-768-darwin.png differ
diff --git a/packages/webui/test/browser/responsive-baselines.spec.mjs-snapshots/shell-at-768-linux.png b/packages/webui/test/browser/responsive-baselines.spec.mjs-snapshots/shell-at-768-linux.png
index 88335c233..95ff74c76 100644
Binary files a/packages/webui/test/browser/responsive-baselines.spec.mjs-snapshots/shell-at-768-linux.png and b/packages/webui/test/browser/responsive-baselines.spec.mjs-snapshots/shell-at-768-linux.png differ
diff --git a/packages/webui/test/browser/responsive-baselines.spec.mjs-snapshots/shell-at-768-win32.png b/packages/webui/test/browser/responsive-baselines.spec.mjs-snapshots/shell-at-768-win32.png
index 07896a895..13b5e3ab9 100644
Binary files a/packages/webui/test/browser/responsive-baselines.spec.mjs-snapshots/shell-at-768-win32.png and b/packages/webui/test/browser/responsive-baselines.spec.mjs-snapshots/shell-at-768-win32.png differ
diff --git a/packages/webui/test/browser/responsive-baselines.spec.mjs-snapshots/shell-at-900-darwin.png b/packages/webui/test/browser/responsive-baselines.spec.mjs-snapshots/shell-at-900-darwin.png
index 2b8d5f882..6ffd772ea 100644
Binary files a/packages/webui/test/browser/responsive-baselines.spec.mjs-snapshots/shell-at-900-darwin.png and b/packages/webui/test/browser/responsive-baselines.spec.mjs-snapshots/shell-at-900-darwin.png differ
diff --git a/packages/webui/test/browser/responsive-baselines.spec.mjs-snapshots/shell-at-900-linux.png b/packages/webui/test/browser/responsive-baselines.spec.mjs-snapshots/shell-at-900-linux.png
index 84468765e..1c9d0bb8e 100644
Binary files a/packages/webui/test/browser/responsive-baselines.spec.mjs-snapshots/shell-at-900-linux.png and b/packages/webui/test/browser/responsive-baselines.spec.mjs-snapshots/shell-at-900-linux.png differ
diff --git a/packages/webui/test/browser/responsive-baselines.spec.mjs-snapshots/shell-at-900-win32.png b/packages/webui/test/browser/responsive-baselines.spec.mjs-snapshots/shell-at-900-win32.png
index f28cbfacc..f47989b52 100644
Binary files a/packages/webui/test/browser/responsive-baselines.spec.mjs-snapshots/shell-at-900-win32.png and b/packages/webui/test/browser/responsive-baselines.spec.mjs-snapshots/shell-at-900-win32.png differ
diff --git a/packages/webui/test/browser/responsive-baselines.spec.mjs-snapshots/workspace-panel-at-1024-darwin.png b/packages/webui/test/browser/responsive-baselines.spec.mjs-snapshots/workspace-panel-at-1024-darwin.png
index 8c5baa675..3aa1dace6 100644
Binary files a/packages/webui/test/browser/responsive-baselines.spec.mjs-snapshots/workspace-panel-at-1024-darwin.png and b/packages/webui/test/browser/responsive-baselines.spec.mjs-snapshots/workspace-panel-at-1024-darwin.png differ
diff --git a/packages/webui/test/browser/responsive-baselines.spec.mjs-snapshots/workspace-panel-at-1024-linux.png b/packages/webui/test/browser/responsive-baselines.spec.mjs-snapshots/workspace-panel-at-1024-linux.png
index 454129de3..7c28b307d 100644
Binary files a/packages/webui/test/browser/responsive-baselines.spec.mjs-snapshots/workspace-panel-at-1024-linux.png and b/packages/webui/test/browser/responsive-baselines.spec.mjs-snapshots/workspace-panel-at-1024-linux.png differ
diff --git a/packages/webui/test/browser/responsive-baselines.spec.mjs-snapshots/workspace-panel-at-1024-win32.png b/packages/webui/test/browser/responsive-baselines.spec.mjs-snapshots/workspace-panel-at-1024-win32.png
index 70f6acbf5..737f62155 100644
Binary files a/packages/webui/test/browser/responsive-baselines.spec.mjs-snapshots/workspace-panel-at-1024-win32.png and b/packages/webui/test/browser/responsive-baselines.spec.mjs-snapshots/workspace-panel-at-1024-win32.png differ
diff --git a/packages/webui/test/browser/responsive-baselines.spec.mjs-snapshots/workspace-panel-at-1440-darwin.png b/packages/webui/test/browser/responsive-baselines.spec.mjs-snapshots/workspace-panel-at-1440-darwin.png
index 7d2a1ee46..aa81c3fcc 100644
Binary files a/packages/webui/test/browser/responsive-baselines.spec.mjs-snapshots/workspace-panel-at-1440-darwin.png and b/packages/webui/test/browser/responsive-baselines.spec.mjs-snapshots/workspace-panel-at-1440-darwin.png differ
diff --git a/packages/webui/test/browser/responsive-baselines.spec.mjs-snapshots/workspace-panel-at-1440-linux.png b/packages/webui/test/browser/responsive-baselines.spec.mjs-snapshots/workspace-panel-at-1440-linux.png
index b726c3536..d1d606854 100644
Binary files a/packages/webui/test/browser/responsive-baselines.spec.mjs-snapshots/workspace-panel-at-1440-linux.png and b/packages/webui/test/browser/responsive-baselines.spec.mjs-snapshots/workspace-panel-at-1440-linux.png differ
diff --git a/packages/webui/test/browser/responsive-baselines.spec.mjs-snapshots/workspace-panel-at-1440-win32.png b/packages/webui/test/browser/responsive-baselines.spec.mjs-snapshots/workspace-panel-at-1440-win32.png
index 57a3c34c6..7b2f9bfd6 100644
Binary files a/packages/webui/test/browser/responsive-baselines.spec.mjs-snapshots/workspace-panel-at-1440-win32.png and b/packages/webui/test/browser/responsive-baselines.spec.mjs-snapshots/workspace-panel-at-1440-win32.png differ
diff --git a/packages/webui/test/browser/responsive-baselines.spec.mjs-snapshots/workspace-panel-at-768-darwin.png b/packages/webui/test/browser/responsive-baselines.spec.mjs-snapshots/workspace-panel-at-768-darwin.png
index 9d8bd90e6..4d26a9c20 100644
Binary files a/packages/webui/test/browser/responsive-baselines.spec.mjs-snapshots/workspace-panel-at-768-darwin.png and b/packages/webui/test/browser/responsive-baselines.spec.mjs-snapshots/workspace-panel-at-768-darwin.png differ
diff --git a/packages/webui/test/browser/responsive-baselines.spec.mjs-snapshots/workspace-panel-at-768-linux.png b/packages/webui/test/browser/responsive-baselines.spec.mjs-snapshots/workspace-panel-at-768-linux.png
index f755a5532..0de2e9249 100644
Binary files a/packages/webui/test/browser/responsive-baselines.spec.mjs-snapshots/workspace-panel-at-768-linux.png and b/packages/webui/test/browser/responsive-baselines.spec.mjs-snapshots/workspace-panel-at-768-linux.png differ
diff --git a/packages/webui/test/browser/responsive-baselines.spec.mjs-snapshots/workspace-panel-at-768-win32.png b/packages/webui/test/browser/responsive-baselines.spec.mjs-snapshots/workspace-panel-at-768-win32.png
index 34472a2f5..95bceead0 100644
Binary files a/packages/webui/test/browser/responsive-baselines.spec.mjs-snapshots/workspace-panel-at-768-win32.png and b/packages/webui/test/browser/responsive-baselines.spec.mjs-snapshots/workspace-panel-at-768-win32.png differ
diff --git a/packages/webui/test/browser/scheduling-panel.spec.mjs-snapshots/scheduling-panel-runs-darwin.png b/packages/webui/test/browser/scheduling-panel.spec.mjs-snapshots/scheduling-panel-runs-darwin.png
index 9630f5ab6..54f4f31ce 100644
Binary files a/packages/webui/test/browser/scheduling-panel.spec.mjs-snapshots/scheduling-panel-runs-darwin.png and b/packages/webui/test/browser/scheduling-panel.spec.mjs-snapshots/scheduling-panel-runs-darwin.png differ
diff --git a/packages/webui/test/browser/scheduling-panel.spec.mjs-snapshots/scheduling-panel-runs-linux.png b/packages/webui/test/browser/scheduling-panel.spec.mjs-snapshots/scheduling-panel-runs-linux.png
index 4b6818284..528071525 100644
Binary files a/packages/webui/test/browser/scheduling-panel.spec.mjs-snapshots/scheduling-panel-runs-linux.png and b/packages/webui/test/browser/scheduling-panel.spec.mjs-snapshots/scheduling-panel-runs-linux.png differ
diff --git a/packages/webui/test/browser/scheduling-panel.spec.mjs-snapshots/scheduling-panel-runs-win32.png b/packages/webui/test/browser/scheduling-panel.spec.mjs-snapshots/scheduling-panel-runs-win32.png
index 3c1384c2c..d7c103918 100644
Binary files a/packages/webui/test/browser/scheduling-panel.spec.mjs-snapshots/scheduling-panel-runs-win32.png and b/packages/webui/test/browser/scheduling-panel.spec.mjs-snapshots/scheduling-panel-runs-win32.png differ
diff --git a/packages/webui/test/browser/visual-baselines.spec.mjs-snapshots/progress-panel-darwin.png b/packages/webui/test/browser/visual-baselines.spec.mjs-snapshots/progress-panel-darwin.png
index a38bbcaf4..20151e74f 100644
Binary files a/packages/webui/test/browser/visual-baselines.spec.mjs-snapshots/progress-panel-darwin.png and b/packages/webui/test/browser/visual-baselines.spec.mjs-snapshots/progress-panel-darwin.png differ
diff --git a/packages/webui/test/browser/visual-baselines.spec.mjs-snapshots/progress-panel-linux.png b/packages/webui/test/browser/visual-baselines.spec.mjs-snapshots/progress-panel-linux.png
index 3f62c0234..5df2bed6f 100644
Binary files a/packages/webui/test/browser/visual-baselines.spec.mjs-snapshots/progress-panel-linux.png and b/packages/webui/test/browser/visual-baselines.spec.mjs-snapshots/progress-panel-linux.png differ
diff --git a/packages/webui/test/browser/visual-baselines.spec.mjs-snapshots/progress-panel-win32.png b/packages/webui/test/browser/visual-baselines.spec.mjs-snapshots/progress-panel-win32.png
index 4b98ed1c3..16d29cfa5 100644
Binary files a/packages/webui/test/browser/visual-baselines.spec.mjs-snapshots/progress-panel-win32.png and b/packages/webui/test/browser/visual-baselines.spec.mjs-snapshots/progress-panel-win32.png differ
diff --git a/packages/webui/test/browser/visual-baselines.spec.mjs-snapshots/shell-and-rail-darwin.png b/packages/webui/test/browser/visual-baselines.spec.mjs-snapshots/shell-and-rail-darwin.png
index 3a133df8b..38a1c7f0a 100644
Binary files a/packages/webui/test/browser/visual-baselines.spec.mjs-snapshots/shell-and-rail-darwin.png and b/packages/webui/test/browser/visual-baselines.spec.mjs-snapshots/shell-and-rail-darwin.png differ
diff --git a/packages/webui/test/browser/visual-baselines.spec.mjs-snapshots/shell-and-rail-linux.png b/packages/webui/test/browser/visual-baselines.spec.mjs-snapshots/shell-and-rail-linux.png
index 002952982..229b03598 100644
Binary files a/packages/webui/test/browser/visual-baselines.spec.mjs-snapshots/shell-and-rail-linux.png and b/packages/webui/test/browser/visual-baselines.spec.mjs-snapshots/shell-and-rail-linux.png differ
diff --git a/packages/webui/test/browser/visual-baselines.spec.mjs-snapshots/shell-and-rail-win32.png b/packages/webui/test/browser/visual-baselines.spec.mjs-snapshots/shell-and-rail-win32.png
index 783ff465f..c0d432787 100644
Binary files a/packages/webui/test/browser/visual-baselines.spec.mjs-snapshots/shell-and-rail-win32.png and b/packages/webui/test/browser/visual-baselines.spec.mjs-snapshots/shell-and-rail-win32.png differ
diff --git a/packages/webui/test/browser/visual-baselines.spec.mjs-snapshots/transcript-and-composer-darwin.png b/packages/webui/test/browser/visual-baselines.spec.mjs-snapshots/transcript-and-composer-darwin.png
index f3bb46461..18163e25c 100644
Binary files a/packages/webui/test/browser/visual-baselines.spec.mjs-snapshots/transcript-and-composer-darwin.png and b/packages/webui/test/browser/visual-baselines.spec.mjs-snapshots/transcript-and-composer-darwin.png differ
diff --git a/packages/webui/test/browser/visual-baselines.spec.mjs-snapshots/transcript-and-composer-linux.png b/packages/webui/test/browser/visual-baselines.spec.mjs-snapshots/transcript-and-composer-linux.png
index e7dc84c07..8d449b03d 100644
Binary files a/packages/webui/test/browser/visual-baselines.spec.mjs-snapshots/transcript-and-composer-linux.png and b/packages/webui/test/browser/visual-baselines.spec.mjs-snapshots/transcript-and-composer-linux.png differ
diff --git a/packages/webui/test/browser/visual-baselines.spec.mjs-snapshots/transcript-and-composer-win32.png b/packages/webui/test/browser/visual-baselines.spec.mjs-snapshots/transcript-and-composer-win32.png
index a6f85fbe6..e0c4f726f 100644
Binary files a/packages/webui/test/browser/visual-baselines.spec.mjs-snapshots/transcript-and-composer-win32.png and b/packages/webui/test/browser/visual-baselines.spec.mjs-snapshots/transcript-and-composer-win32.png differ