DescriptionIf an element A has a parent element, then A's assigned context menu is the assigned context menu of its parent element. Otherwise, A's assigned context menu is null.
Specification: https://html.spec.whatwg.org/multipage/forms.html#assigned-context-menu
"Each element has an assigned context menu, which can be null. If an element A has a contextmenu attribute, and there is an element with the ID given by A's contextmenu attribute's value in A's home subtree, and the first such element in tree order is a menu element whose type attribute is in the popup menu state, then A's assigned context menu is that element. Otherwise, if A has a parent element, then A's assigned context menu is the assigned context menu of its parent element. Otherwise, A's assigned context menu is null."
BUG=424494
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=185198
Patch Set 1 #
Total comments: 8
Patch Set 2 : assignedContextMenu #
Total comments: 4
Patch Set 3 : Fixed nits #
Messages
Total messages: 10 (2 generated)
|