From 5e43683a6e09a6dca1ca348654e9f2d53a3e9363 Mon Sep 17 00:00:00 2001 From: Ramiro_quai Date: Thu, 10 Sep 2026 04:11:52 -0600 Subject: [PATCH] fix(input): honor mousedown preventDefault and correct mouse-focus rules Addresses review on the mousedown default action. Blur when a mousedown lands outside any focusable element: focusForMouseDown now blurs the document's active element when the ancestor walk finds nothing mouse-focusable, so a plain click moves focus to the body. The MCP fixture had this backwards and asserted the old behavior; it now records document.activeElement === document.body. Treat an unparsable tabindex as if the attribute were absent (HTML 6.6.3) rather than as a terminal "not focusable" answer, so
Focus me
-
Not focusable
+
Not focusable