blob: 77ad2f17bb1700a39216cba39cfafcb5c7ec173b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
---
title: DOMLocator
slug: orphaned/Web/API/DOMLocator
translation_of: Web/API/DOMLocator
original_slug: Web/API/DOMLocator
---
<p>{{APIRef("DOM")}}{{obsolete_header}}</p>
<div class="warning">
<p>NOTE: This is not implemented in Mozilla</p>
</div>
<p>Indicates a location such as where an error occurred. Returned by DOMError.location.</p>
<h2 id="Properties">Properties</h2>
<dl>
<dt>{{domxref("DOMLocator.lineNumber")}} {{ReadOnlyInline}}</dt>
<dd>Returns a positiove integer or -1.</dd>
<dt>{{domxref("DOMLocator.columnNumber")}} {{ReadOnlyInline}}</dt>
<dd>Returns a positiove integer or -1.</dd>
<dt>{{domxref("DOMLocator.byteOffset")}} {{ReadOnlyInline}}</dt>
<dd>Returns a positiove integer or -1.</dd>
<dt>{{domxref("DOMLocator.utf16Offset")}} {{ReadOnlyInline}}</dt>
<dd>Returns a positiove integer or -1.</dd>
<dt>{{domxref("DOMLocator.relatedNode")}} {{ReadOnlyInline}}</dt>
<dd>Returns a positiove integer or -1.</dd>
<dt>{{domxref("DOMLocator.uri")}} {{ReadOnlyInline}}</dt>
<dd>Returns a positiove integer or -1.</dd>
</dl>
<h2 id="Methods">Methods</h2>
<p><em>This interface neither implements, nor inherits, any method.</em></p>
<h2 id="Specifications">Specifications</h2>
<table class="standard-table">
<tbody>
<tr>
<th scope="col">Specification</th>
<th scope="col">Status</th>
<th scope="col">Comment</th>
</tr>
<tr>
<td>{{SpecName("DOM3 Core", "core.html#Interfaces-DOMLocator", "DOMLocator")}}</td>
<td>{{Spec2("DOM3 Core")}}</td>
<td>Initial definition</td>
</tr>
</tbody>
</table>
|