Representing styles as executable code is a very poor idea.  Suddenly you go from data you can inspect and play with to something you can just execute and take what you are given.<p>The principle of least power is an incredibly important axiom of the web&#x27;s architecture, and when people break it, lots of things become more difficult or impossible.  If you don&#x27;t like CSS, then by all means, propose a replacement – but please don&#x27;t propose replacing it with executable code.<p>See:<p>Rule of Least Power – <a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Rule_of_least_power" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Rule_of_least_power</a><p>Principle of Least Power – <a href="http:&#x2F;&#x2F;c2.com&#x2F;cgi&#x2F;wiki?PrincipleOfLeastPower" rel="nofollow">http:&#x2F;&#x2F;c2.com&#x2F;cgi&#x2F;wiki?PrincipleOfLeastPower</a>