Skip to content

Engine: place the caret past Chromium's 10,000-character AXValue cap in long textareas #350

Open

Description

@SSFSKIM

The gap

Chromium caps a textarea's AXValue at 10,000 characters: a 20,499-character field reads back as length 10000 (#290's hosted measurement, run https://github.com/SSFSKIM/cua/actions/runs/42560301611). #290's caret search and #341's placement work over AXValue, so a click past the 10,000th character can't be placed. That's #290's stated limit (PR #342).

Intent

Reach past the cap. Use AXNumberOfCharacters for the field's true length. Check whether AXBoundsForRange and AXStringForRange answer past 10,000 characters, and if they do, run the search over the true length. Measure first: the 20k field in probe/290-measure reproduces it.

Constraints

Success criteria

  • On the 20k field, a click past the 10,000th character places the caret at the clicked character, with a typed marker as ground truth.
  • Or a recorded finding that Chromium exposes no box past the cap.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementpriority:P3status:ready-for-implementer

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions