Skip to content

Void elements should not allow children #88

@ObserverOfTime

Description

@ObserverOfTime

See https://developer.mozilla.org/en-US/docs/Glossary/Void_element

Example:

<!DOCTYPE html>
<html lang="en">
<head><title>foo</title></head>
<body><input>bar</input></body>

The parser should produce an error on </input> like the W3C validator does.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions