Skip to content

Reflection to/from textContent #32

@LeaVerou

Description

@LeaVerou

There are a few patterns where reflection is done to/from the element’s textContent, and not an attribute. While this is not a good pattern, it's common enough in native HTML that we should support it. Possibly by special-casing textContent as a value, since nobody should be defining attributes with that name anyway (and if they really want to, they can get around the special casing by using textcontent (all lowercase).

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions