Skip to content

Two issues with recent changes to select parsing #180

@untitaker

Description

@untitaker

I'm trying to update html5ever to conform with recent changes to tree building done in #178, and hit two issues:

  • webkit02 contains tests that require option content to be cloned into <selectedcontent> even if no </option> tag appears in the markup. However, the spec currently implies that an explicit markup tag </option> is required for <selectedcontent> to be filled out. this is tracked as a spec issue -- I would suggest that html5lib-tests in the meantime aligns with the spec rather than chromium/webkit.

  • The tree construction tests assume that the selectedness of an <option> has been determined. but if I understand correctly that means constraint validation for forms has been running, which seems fairly out of scope for those tests.

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