w3c / w3c/editing

"The removeFormat command" section should include `<del>` as target of the command

Open
#192 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

execCommand
Dominant language
HTML
Stars
202
Forks
43
PR merge metrics
No merged PRs in 30d

Description

https://w3c.github.io/editing/execCommand.html#removeformat-candidate

A removeFormat candidate is an editable HTML element with local name "abbr", "acronym", "b", "bdi", "bdo", "big", "blink", "cite", "code", "dfn", "em", "font", "i", "ins", "kbd", "mark", "nobr", "q", "s", "samp", "small", "span", "strike", "strong", "sub", "sup", "tt", "u", or "var".

It includes <ins> but not include <del>. This really does not make sense without specific comment. I guess that it's just forgotten to be included into this list.

Unfortunately, Chrome conforms to current list, but they should be changed it.

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 removeFormat candidate definition in the linked execCommand specification and compare the listed element names with the issue's concern about and . Update the section if the omission is confirmed, and verify that the resulting candidate list accurately reflects the intended command targets.

Written by the indexing model from the issue text.

Assessment

Tech stack
html
Domain
documentation, web-dev
Issue type
Documentation
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.