soupsieve icon indicating copy to clipboard operation
soupsieve copied to clipboard

Experimental: Add support for select placeholders in :placeholder-shown

Open facelessuser opened this issue 6 years ago • 4 comments

Resolves #99

facelessuser avatar Sep 30 '19 15:09 facelessuser

We still need to account for the scenario where the placeholder is valid, but the placeholder is not selected.

facelessuser avatar Oct 07 '19 06:10 facelessuser

Select element is the element that should matched. This change has been made, along with properly invalidating the :placeholder-shown if another non-placeholder option is marked as selected.

facelessuser avatar Oct 07 '19 19:10 facelessuser

@gir-bot sync labels

facelessuser avatar Nov 01 '19 22:11 facelessuser

It seems that after over a year, browsers still don't do this... 😖. I wonder if they ever plan to support this. We will continue to hold until this is actually supported by someone indicating this is actually starting to be adopted.

facelessuser avatar Feb 16 '21 17:02 facelessuser

This functionality seems to have been moved to :blank in the spec. Closing as it seems this will not be relevant to :placeholder-shown.

facelessuser avatar Jan 14 '23 05:01 facelessuser