Skip to content

Conversation

stephanieyzhang
Copy link

@stephanieyzhang stephanieyzhang commented Oct 6, 2025

FormControlRange is a specialized, live AbstractRange subclass representing selection and caret positions within the value space of <input> and <textarea> elements. It enables range-based geometry operations for native form controls while preserving encapsulation by disallowing direct Range mutations.

This change adds getClientRects() and getBoundingClientRect() methods to the FormControlRange interface, aligning its behavior with Range for layout and rendering queries. It complements the DOM and HTML integrations of FormControlRange, ensuring consistent geometry retrieval across editing and selection APIs.

Current built changes: Overview.html

@stephanieyzhang stephanieyzhang changed the title Add FormControlRange getClientRects/getBoundingClientRects [cssom-view-1] Add FormControlRange getClientRects/getBoundingClientRects Oct 6, 2025
@stephanieyzhang stephanieyzhang changed the title [cssom-view-1] Add FormControlRange getClientRects/getBoundingClientRects [DO NOT REVIEW][cssom-view-1] Add FormControlRange getClientRects/getBoundingClientRects Oct 6, 2025
@stephanieyzhang stephanieyzhang changed the title [DO NOT REVIEW][cssom-view-1] Add FormControlRange getClientRects/getBoundingClientRects [cssom-view-1] Add FormControlRange getClientRects/getBoundingClientRects Oct 9, 2025
@stephanieyzhang stephanieyzhang changed the title [cssom-view-1] Add FormControlRange getClientRects/getBoundingClientRects [cssom-view-1] Add FormControlRange geometry APIs (getClientRects/getBoundingClientRects) Oct 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant