Skip to content

[css-forms-1] What does control-value() return for <input type="checkbox"> #12368

Open
@lukewarlow

Description

@lukewarlow

Given <input type="checkbox" value="foo" checked> what does control-value() resolve to?

Currently the spec suggests it would be "foo"? Should be conditional based on whether it's checked like the form submission behaviour?

Would it make sense to allow access to the boolean "checked" state (we have :checked so I'm guessing not)?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions