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
This commit is contained in:
Claude
2026-09-23 03:23:09 +03:00
parent 4c9e013276
commit 4b27268e2f
+4 -2
View File
@@ -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);',
}],
},
{