Styling <input type=text>

For the user agent stylesheet, there's no good way to address <input
type=text>, since there's many values that make the <input> element
end up in the Text state.

The only way seems to be something along the lines of

  input:not([type=hidden i]):not([type=search i]):not([type=tel i])...

which gets verbose (enough that I don't want to complete it) and is
hard to maintain. Is this something we should try to tackle?

See https://github.com/whatwg/html/pull/212 for context.


-- 
https://annevankesteren.nl/

Received on Wednesday, 30 September 2015 14:06:51 UTC