Skip to content

macOS engine: a web button or link whose hit is itself is pressed, where the vendor posts a click (pointer-only handlers ignore it) #534

Backlog

Description

@SSFSKIM

Problem

Inside a web view, the vendor's element click posts a real click when its hit-test at the element's frame midpoint answers the element itself or a descendant, whatever the role (F §18, FUN_1007a1e6c; #258). After #258, cua posts in that case only for text-entry roles. A web button or link whose hit is itself is still pressed through AXPress.

In Chromium, AXPress fires click but no pointerdown, mousedown or mouseup. A page whose handler listens for pointer or mouse events instead of click would ignore cua's press, where the vendor's click works. Custom widgets, drag handles and some menus are built that way.

M5 exposure

No M5 cell exposes this. The Chrome apply cell and the Electron button cell press buttons whose handlers listen for click (scripts/native-matrix/fixtures/scene-page.mjs:37; fixtures/electron/renderer.js:3), and AXPress satisfies those. The scene page counts document mousedown, but no cell judges that counter.

Fix direction (design)

Decide whether a web element whose hit is itself takes the vendor's posted click for every role, and which routes it affects (#282, #283, #313 and #315's background routes, and #200's non-raise guarantee). Then add a matrix cell: a page button with only a pointerdown handler, pressed on both sides.

Declared by #258's lane (ruling 1167); also logged in tech-debt-tracker.md.

Activity

  1. added
    enhancement
    status:ready-for-architect
    priority:P2
    on Nov 23, 2026
  2. SSFSKIM commented on Nov 23, 2026

    @SSFSKIM
    OwnerAuthor

    [ruling 1168] M5 sitting C gets a pointerdown-only button cell: Chrome scene page, mirrored on Electron. It is clicked by element on both sides and judged on the page's own counter. If cua FAILs it, this ticket blocks #506 and its design goes to the design session. If both sides pass (Chromium's AXPress dispatches pointer events), it closes citing the cell.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementpriority:P2status:ready-for-architect

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions