Confirmed users
1,396
edits
Line 539: | Line 539: | ||
readonly attribute AccessibleElement? anchor; | readonly attribute AccessibleElement? anchor; | ||
readonly attribute Offset offset; | readonly attribute Offset offset; | ||
DOMRangeBound toDOM(); | |||
}; | }; | ||
Line 893: | Line 891: | ||
<code> | <code> | ||
AccessiblePos .''root'' | |||
::Returns the accessible element the position movement is restricted to. | |||
AccessiblePos .''anchor'' | AccessiblePos .''anchor'' | ||
::Returns the accessible element the position is contained by. | ::Returns the accessible element the position is at or contained by. | ||
AccessiblePos .''offset'' | |||
::Return an offset of the accessible position, either numeric or text. | |||
AccessiblePos .''toDOM'' | |||
::Returns DOMRangeBound object which is a pair of DOM node and content offset relative it. | |||
</code> | </code> | ||
< | <pre> | ||
dictionary DOMRangeBound { | |||
DOMNode node; | |||
</ | long offset; | ||
}; | |||
</pre> | |||
===Questions/concerns=== | ===Questions/concerns=== |