Closed
Description
Like the title of this issue says, I want to propose a new pseudo-class called :modified
, which would apply to inputs (e.g. input[type=text]
, select
, textarea
) whose value was modified compared to their initial value (on page load or the moment of their addition to the DOM).
I think it would fit this category:
https://www.w3.org/TR/selectors-4/#input-value-states
Example:
input {
font-weight:normal;
}
input:modified {
font-weight:bold;
}
The above would highlight modified inputs with bold font.
What do you think?
Metadata
Metadata
Assignees
Labels
No labels