w3c / w3c/webdriver

element clear should fire change event

Open
#1,247 3 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

bug Element Clear
Dominant language
HTML
Stars
718
Forks
228
PR merge metrics
No merged PRs in 30d

Description

I think it is merely an omission that the Element Clear command doesn’t fire the change event.

Gecko was patched to fire this in https://bugzilla.mozilla.org/show_bug.cgi?id=1430571.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the Element Clear section in the linked WebDriver specification and compare its stated behavior with the Gecko patch referenced in the issue. Done means the specification explicitly covers firing the change event for the Element Clear command.

Written by the indexing model from the issue text.

Assessment

Tech stack
html
Domain
web-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.