From 4b27268e2fa7278da70d01a5b0e55e366a2e078d Mon Sep 17 00:00:00 2001 From: Claude Date: Wed, 23 Sep 2026 03:23:09 +0300 Subject: [PATCH] test(dialog): strengthen mobile fullscreen witness (#609) The mobile mutant now changes both public height bounds, so the browser test observes the intended 48 px regression instead of CSS min-height precedence masking it. Issue: #609 User-Visible: no --- scripts/mutation-registry.mjs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/scripts/mutation-registry.mjs b/scripts/mutation-registry.mjs index 8d51f434..d1e81ead 100644 --- a/scripts/mutation-registry.mjs +++ b/scripts/mutation-registry.mjs @@ -101,8 +101,10 @@ const MUTANT_DEFINITIONS = [ + 'desktop 48 px height inset clips the reviewed mobile surface and footer', patches: [{ file: 'src/hp-dialog.ts', - find: ' --ha-dialog-max-height: var(--safe-height, 100dvh);', - replace: ' --ha-dialog-max-height: calc(var(--safe-height, 100dvh) - 48px);', + find: ' --ha-dialog-min-height: var(--safe-height, 100dvh);\n' + + ' --ha-dialog-max-height: var(--safe-height, 100dvh);', + replace: ' --ha-dialog-min-height: calc(var(--safe-height, 100dvh) - 48px);\n' + + ' --ha-dialog-max-height: calc(var(--safe-height, 100dvh) - 48px);', }], }, {