W3C home > Mailing lists > Public > www-style@w3.org > August 2014

[selectors] Feedback on :placeholder-shown

From: Benjamin Poulain <bpoulain@apple.com>
Date: Wed, 20 Aug 2014 14:46:20 -0700
Message-id: <FF615C44-9E4B-43B7-A774-50FA364E86BF@apple.com>
To: www-style@w3.org
Hi,

Various feedback on :placeholder-shown
-In the section "Selectors Overview”, the table says "placeholder-shown” is also part of "3-UI”. That does not seem to be the case: http://www.w3.org/TR/css3-ui/
-In the sentence "The :placeholder-shown pseudo-class matches an input element that is showing such placeholder text.", I find it misleading to mention “input element”. Both <input> and <textarea> supports placeholder.
-In the same sentence, it could be useful to be more precise in the definition of "showing such placeholder text”. Matching the element does not really depends on the placeholder being visible (it could be in a subtree that has display:none for example). It would be good to make the definition unambiguous.

Benjamin
Received on Wednesday, 20 August 2014 21:47:41 UTC

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