by asmala · 14y ago · 0 comments
a) "Don't touch the markup without an explicit agreement between the two of us."
b) "Please make sure you have an element with a data-content-for='user.username' somewhere in the HTML."
Sometimes the design is forced upon the team (eg corporate intranet) and then one has to resort to ugly and brittle selectors but still I prefer that to slicing and dicing the design to add loops and conditionals – especially when the intranet's corporate branding change every 9 months :-/
(Thanks for rewording your reply)