https://bugzilla.wikimedia.org/show_bug.cgi?id=54604

--- Comment #59 from Jon <jrob...@wikimedia.org> ---
Another reason is styles written in this way are not reusable.

What if we want to use the same audio icon elsewhere?

With an icon-audio selector class we can.
With a selector based on href we can't.

I'd like to see us moving away from descendant selectors and explore OOCSS [1]
as a solution to our CSS mess we have created. We really should be making
better uses of classes, and not be restricted by the implementation
restrictions of Parsoid.

[1]
http://www.smashingmagazine.com/2011/12/12/an-introduction-to-object-oriented-css-oocss/

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to