You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 21, 2023. It is now read-only.
Technically Elide Attributes can remove type="text". And I have to admit the
CSS risk is documented.
However, for the case of <input> tags, they vary wildly in appearance. It is
therefore extremely common to have a selector on type="text", as you don't want
to place it on 'input' itself, and by adding extra classes to get the necessary
specificity, the developer is working against minification.
I therefore think you should either make an exception for stripping
type="text", or to add some additional configurability of what tag/attribute
combinations may be elided, with sensible defaults.
Original issue reported on code.google.com by ch...@ocproducts.com on 14 May 2013 at 12:45
Original issue reported on code.google.com by
ch...@ocproducts.com
on 14 May 2013 at 12:45The text was updated successfully, but these errors were encountered: