standards-positions
standards-positions copied to clipboard
Add `getSelectionBoundingClientRect()` for `<textarea>` and `<input>` elements
WebKittens
@annevk
Title of the proposal
getSelectionBoundingClientRect()
URL to the spec
https://github.com/whatwg/html/issues/10614 (no spec PR yet)
URL to the spec's repository
https://github.com/whatwg/html
Issue Tracker URL
No response
Explainer URL
https://github.com/MicrosoftEdge/MSEdgeExplainers/blob/main/GetSelectionBoundingClientRect/explainer.md
TAG Design Review URL
TBD
Mozilla standards-positions issue URL
https://github.com/mozilla/standards-positions/issues/1249
WebKit Bugzilla URL
No response
Radar URL
No response
Description
getSelectionBoundingClientRect() aims to provide a more direct way of getting the selection bounds inside the <textarea> and <input> elements.