We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 716ce45 commit 039e0b5Copy full SHA for 039e0b5
test/position.js
@@ -12,6 +12,7 @@ test('position', function (t) {
12
13
node = node.childNodes[0];
14
delete node.parentNode;
15
+ delete node.__location.startTag;
16
17
t.deepEqual(
18
inspect(toParse5({
@@ -27,9 +28,7 @@ test('position', function (t) {
27
28
}],
29
position: {
30
start: {line: 1, column: 1, offset: 0},
- /* `4`, instead of `9`, is a bug in parse5:
31
- * https://github.com/inikulin/parse5/issues/109 */
32
- end: {line: 1, column: 10, offset: 4}
+ end: {line: 1, column: 10, offset: 9}
33
}
34
}), {depth: null}),
35
inspect(node, {depth: null}),
0 commit comments