I'm trying to find a way to detect if an input is currently showing a placeholder.
I know we can test whether or not placeholders are supported in a given browser, which I would use, but that's not what I'm asking here.
The :placeholder-shown
pseudo class does exactly what I need, but the support for it is very low. Much lower than the support for placeholders in general. So I'm looking for an alternative method.
Note: The solution cannot rely on whether or not the input has changed or gained a value. Autofilled inputs neither have a technical value, nor have changed. Therefore the solution needs to truly detect the placeholder it'self.