Skip to content

Commit fdaba02

Browse files
authored
FF150 Relnote: Document.caretPositionFromPoint(options.shadowRoots) (#43620)
1 parent 95f7d67 commit fdaba02

File tree

1 file changed

+4
-0
lines changed
  • files/en-us/mozilla/firefox/releases/150

1 file changed

+4
-0
lines changed

files/en-us/mozilla/firefox/releases/150/index.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,10 @@ Firefox 150 is the current [Beta version of Firefox](https://www.firefox.com/en-
5454

5555
#### DOM
5656

57+
- The [`options.shadowRoots`](/en-US/docs/Web/API/Document/caretPositionFromPoint#shadowroots) argument of the {{domxref('Document.caretPositionFromPoint()')}} method is now supported.
58+
This allows the method to return the node containing the caret from within a shadow DOM, provided its associated {{domxref("ShadowRoot")}} was passed as an option.
59+
([Firefox bug 1914596](https://bugzil.la/1914596)).
60+
5761
- The non-standard {{domxref("Document/caretRangeFromPoint","caretRangeFromPoint()")}} method of the {{domxref("Document")}} interface is now supported. ([Firefox bug 1550635](https://bugzil.la/1550635)).
5862
- The `ariaNotify()` method is now supported on {{domxref("Document/ariaNotify","Document")}} and {{domxref("Element/ariaNotify","Element")}}.
5963
This queues a string of text to be announced by a {{glossary("screen reader")}}, providing a more ergonomic and reliable alternative to [ARIA live regions](/en-US/docs/Web/Accessibility/ARIA/Guides/Live_regions).

0 commit comments

Comments
 (0)