Skip to content

Adding v5 support #2

@petdance

Description

@petdance

I've created a new v5 branch. Let's work against that, and use this ticket for discussion.

Why do you want to hide HTML::Tagset::v[45] from PAUSE? I don't think we do.

As to tests:

  • Make a list of tags that are in v4 and not v5. Verify that. (font, i, center, etc)
  • Make a list of tags that are in v5 and not v4. Verify that. (audio, video, mark, etc)
  • Make a list of tags that are in both. Verify that. (table, div, etc)

We should probably test the differences in attributes. https://www.w3.org/TR/html5-diff/ notes, for example, "A new placeholder attribute can be specified on the input and textarea elements." I think it should be pretty exhaustive. We only have to do this once.

Finally, as I read it, you have v5 as the default, which is what we should do. We just need to make it dead simple, one line of code ideally, for someone to change back to v4 in their existing code.

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