When dealing with the attribute selector input[type=button]
, it's important to note that CSS level 2.1 is where this component belongs, making the HTML type (whether it's version 4.x or 5) somewhat inconsequential. The key aspect to consider is how different browsers implement and support this feature in terms of their CSS compliance.
According to insights from Quirksmode, older versions of Internet Explorer (specifically those before IE 7) do not support the 'advanced attribute selectors', which may not directly address issues you encounter.
In my own experience, I have encountered problems with quoting attribute values in selectors, but altering the selector to something like input[type=button]
has often resolved these issues. However, I must clarify that this solution is anecdotal and hasn't been rigorously tested.
For further exploration: