Skip to content

'run synthetic click activation steps' should look for nearest activatable element #1576

Open
@smaug----

Description

@smaug----

data:text/html,<a href="data:text/html,link followed">[<input type=button value="test"> ]</a><input type="button" value="click() on the first button" onclick="setTimeout('document.getElementsByTagName(\'input\')[0].click()', 0)">

dispatches click event to a child node of <a>, yet <a> is supposed to be activated.
Per spec that shouldn't happen. I think the spec should be updated to follow the reality.

Metadata

Metadata

Assignees

No one assigned

    Labels

    compatStandard is not web compatible or proprietary feature needs standardizingtopic: events

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions