JianFeeeee
ecde1f7542
test(webui): 焦点判据钉到回复框自己的 Composer(变异测试抓到的弱判据)
上一版写的是全文件搜裸 `autoFocus`,而 MailView 里预算输入框、编辑器还有几处
autoFocus ⇒ 把回复框改回 `autoFocus={narrow}` 时判据**照样绿**。
按判据规范 §1 改成取那个标签自己的 `/>` 体再断言。
四组变异全部红在对的那条上:
useState(false)→useState(!narrow) → 红 1(头部不再分叉)
if(!open)→if(narrow && !open) → 红 2(悬浮球 + narrow-only 分支)
去掉一个根节点的 relative → 红 1(悬浮球锚点)
autoFocus→autoFocus={narrow} → 红 1(焦点)
2026-09-14 15:39:24 +08:00
..
2026-09-14 15:17:01 +08:00
2026-09-14 15:11:47 +08:00
2026-09-14 15:38:49 +08:00
2026-09-14 15:17:01 +08:00
2026-09-14 15:20:30 +08:00
2026-09-14 15:06:14 +08:00
2026-09-14 15:20:30 +08:00
2026-09-14 14:57:18 +08:00
2026-09-14 15:20:39 +08:00
2026-09-14 15:34:32 +08:00
2026-09-14 15:34:32 +08:00
2026-09-14 15:34:32 +08:00
2026-09-14 15:34:32 +08:00
2026-09-14 14:51:30 +08:00
2026-09-14 15:11:47 +08:00
2026-09-14 15:39:24 +08:00
2026-09-14 13:43:11 +08:00
2026-09-12 20:25:00 +08:00
2026-09-14 15:38:49 +08:00
2026-09-14 15:06:14 +08:00