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 d92c1a1 commit 0478cbdCopy full SHA for 0478cbd
lib/commons/dom/get-composed-parent.js
@@ -9,7 +9,7 @@ dom.getComposedParent = function getComposedParent (element) {
9
// NOTE: If the display of a slot element isn't 'contents',
10
// the slot shouldn't be ignored. Chrome does not support this (yet) so,
11
// we'll skip this part for now.
12
- return getComposedParent(element.assignedSlot); // content of a shadow DOM slot
+ return getComposedParent(element.assignedSlot); // parent of a shadow DOM slot
13
} else if (element.parentNode) {
14
var parentNode = element.parentNode;
15
if (parentNode.nodeType === 1) {
0 commit comments