Add the CSSOM View CaretPosition interface and expose the Document API. Use retained hit-test data to populate offsetNode, offset, and getClientRect(). Update IDL coverage and the window property baseline. Add a text test.
7 lines
227 B
Text
7 lines
227 B
Text
// https://drafts.csswg.org/cssom-view/#caretposition
|
|
[Exposed=Window]
|
|
interface CaretPosition {
|
|
readonly attribute Node offsetNode;
|
|
readonly attribute unsigned long offset;
|
|
[NewObject] DOMRect? getClientRect();
|
|
};
|