W3C home > Mailing lists > Public > www-style@w3.org > September 2015

Styling <input type=text>

From: Anne van Kesteren <annevk@annevk.nl>
Date: Wed, 30 Sep 2015 16:06:21 +0200
Message-ID: <CADnb78jsoNTre=vStpFX2Jh8vgTiijC3sbHktWCncc76Y2FR+g@mail.gmail.com>
To: "www-style@w3.org" <www-style@w3.org>
Cc: Domenic Denicola <d@domenic.me>
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

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:57 UTC