Skip to content

Ignore inputs inside a select fragment context.#120

Merged
hsivonen merged 2 commits into
validator:masterfrom
keithamus:ignore-inputs-inside-select-fragment-context
May 22, 2026
Merged

Ignore inputs inside a select fragment context.#120
hsivonen merged 2 commits into
validator:masterfrom
keithamus:ignore-inputs-inside-select-fragment-context

Conversation

@keithamus
Copy link
Copy Markdown
Contributor

@keithamus keithamus commented May 22, 2026

This change does two things:

  • updates the html5lib-tests, which exposes a failure in the current parser: it's missing the spec steps to ignore <input> when inside of a <select> during fragment parsing.
  • subsequently fixes the failing test by adding the logic to ignore <input> inside of <select> during fragment parsing.

Refs html5lib/html5lib-tests#195

@keithamus keithamus marked this pull request as ready for review May 22, 2026 10:16
@hsivonen hsivonen merged commit b09277d into validator:master May 22, 2026
12 checks passed
@hsivonen
Copy link
Copy Markdown
Member

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants