Skip to content

"If the element is a child of an ol element: value " #535

@zcorpan

Description

@zcorpan

https://html.spec.whatwg.org/multipage/semantics.html#the-li-element

If the element is a child of an ol element:​ value

This means that the following is invalid

<template><li value=5></template>

which probably should be valid. Validator.nu gives no error for the above, but gives an error for <ul><li value=5></ul>.

Fix:

"If the element is not a child of an ul or menu element: value"

Metadata

Metadata

Assignees

No one assigned

    Labels

    good first issueIdeal for someone new to a WHATWG standard or software project

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions