Bug 146637

Summary: Synthethic click activation (ie. HTMLElement.click()) should not find the nearest activatable element
Product: WebKit Reporter: Josh Matthews <josh>
Component: DOMAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: ap, benjamin, dbates, enrica, Ms2ger
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   

Description Josh Matthews 2015-07-06 06:12:09 PDT
http://software.hixie.ch/utilities/js/live-dom-viewer/?saved=3556

According to https://www.w3.org/Bugs/Public/show_bug.cgi?id=27430 the call to click() in the testcase should only operate on the target element, which in the testcase is not activatable (an anchor lacking an href attribute). The authentic activation steps explicitly say to find the nearest activatable element, but synthetic activation (ie. HTMLElement.click()) should not.