Summary:

Opaque Ranges represent a live span of text within a form control's value, such as <textarea> or text-based <input>, so developers can work with value text using range-like APIs. It enables operations such as getBoundingClientRect(), getClientRects and integration with the CSS Highlight API to allow styling of text.


Bug:

https://bugzil.la/1990256


Specifications:

https://github.com/whatwg/dom/pull/1404
https://github.com/whatwg/html/pull/11741
https://github.com/w3c/csswg-drafts/pull/12904


Standards body: WHATWG

Platform coverage: All

Pref: dom.opaque_range.enabled

DevTools bug: N/A

Extensions bug: N/A

Standards-Position: https://github.com/mozilla/standards-positions/issues/1289

Other browsers:

- Blink: Estimated to ship in 149 (i2s: https://groups.google.com/a/chromium.org/g/blink-dev/c/otEJ9AacRg4/m/XilKgTTIBwAJ)
- WebKit: positive standards-position

Web-platform tests:

https://wpt.fyi/results/dom/ranges/tentative?label=experimental&label=master&aligned
I'm planning to improve test coverage for this feature (eg. Reftests)

--
You received this message because you are subscribed to the Google Groups 
"[email protected]" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/a/mozilla.org/d/msgid/dev-platform/6e754ee2-89c8-43b3-9e9d-e2af6b3e9eb6%40mozilla.com.

Reply via email to