[selectors] Feedback on :placeholder-shown


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.


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