I think EHH should allow to select individual classes in addition
to being able to hide by attribute. Same should go for id attribute. So if we have <div id="foo" class="bar bas"> the suggestions should be:
Tag name: DIV (not editable, not checked by default)
ID: foo (not editable, checked by default, adds "#foo")
Class: bar (not editable, only checked by default if no ID, adds ".bar")
Class: bas (not editable, only checked by default if no ID, adds ".bas")
id: foo (editable, not checked by default, creates rules like [id="foo"])
class: bar bas (editable, not checked by default, creates rules like [class="bar bas"])
Invalid ID and class values should be considered here and only allow hiding by attribute (this is already on the roadmap and was discussed in viewtopic.php?t=5682
). The only problem is user confusion when the same attribute can be used in different ways.
Moved to Future development.