whatwg / whatwg/html

Creating a parser for a fragment

Open
#3,945 22 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

clarification topic: parser
Dominant language
HTML
Stars
9.4k
Forks
3.2k
Avg merge
3d 9h
Merged PRs (30d)
38

Description

In the specification there is a term - HTML fragment parsing algorithm.
There is also a partial use of this term: parser was originally created for the HTML fragment parsing algorithm.
Honestly it's hard to understand when

  1. parser was originally created for the HTML fragment parsing algorithms
  2. parser was not originally created for the HTML fragment parsing algorithms

The specification in this respect does not give any examples for understanding this aspect.

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

Read the linked HTML fragment parsing algorithm and the issue discussion first. Clarify what “parser was originally created for” means by adding specification wording or examples that distinguish the two cases; done means the distinction is understandable without relying on the discussion.

Written by the indexing model from the issue text.

Assessment

Tech stack
html
Domain
documentation
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.