Searched refs:getCommonAncestor (Results 1 – 4 of 4) sorted by relevance
275 assert.ok(!stack.getCommonAncestor(element));278 assert.ok(!stack.getCommonAncestor(element));281 assert.ok(!stack.getCommonAncestor(element));286 assert.strictEqual(stack.getCommonAncestor(element), ancestor);
236 getCommonAncestor(element: T['element']): T['element'] | null { method in OpenElementStack
1364 let nextElement = p.openElements.getCommonAncestor(furthestBlock) as T['element'];1368 nextElement = p.openElements.getCommonAncestor(element) as T['element'];1470 const commonAncestor = p.openElements.getCommonAncestor(formattingElementEntry.element);
4 …getCommonAncestor(t);for(let s=0,o=i;o!==n;s++,o=i){i=e.openElements.getCommonAncestor(o);const n=… method in e.exports