Skip to content

Update void elements #203

Closed
Closed

Description

@annevk

https://github.com/html5lib/html5lib-python/blob/master/html5lib/constants.py#L487 is no longer accurate. Seems to miss keygen, wbr, menuitem.

And seems to have event-source which is no longer a thing.

Activity

  1. jayaddison commented on Jan 10, 2021

    @jayaddison
    Contributor

    @willkg @gsnedders fyi - it looks like #395 can contribute to resolving this issue.

    NB: The code block referenced in the issue description within constants.py is now viewable here.

  2. ambv commented on Mar 2, 2023

    @ambv
    Member

    Looks like menuitem is deprecated, and moreover not really void.

    keygen is also deprecated.

    So the only missing one is wbr.

    I don't think it's worth adding keygen as it's already deprecated and was never used in html5lib. Moreover, I think we could rather uncontroversially remove command (removed entirely from the spec in 2012), and event-source (renamed to eventsource in July 2008 and dropped entirely in February 2009).

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

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