W3C home > Mailing lists > Public > www-style@w3.org > December 2008

no-cascade proposition

From: Niels Matthijs <niels.matthijs@internetarchitects.be>
Date: Fri, 5 Dec 2008 11:24:03 -0000
Message-ID: <EAD6F36F8B8A124FB32D722A828211FD0633A1A5@win-s-manc3.shared.ifeltd.com>
To: <www-style@w3.org>
Hi all,


I've been struggling with the css cascade lately. No matter how lovely
it might be, sometimes you just don't want things to cascade. When
integrating external components in your site, it's usually
counter-productive to have your style cascade on the external component
(considering it comes with a predefined style).


Sadly, there is no way in css to stop the cascade, I was wonder why that
was. I've written an article about this subject which can be found here:



The current suggestion I've made is:

<css selector> {cascade:no-cascade;}


I'm not much of a syntax man myself, but I guess the purpose of this
should be clear enough.


Any thoughts?



Niels Matthijs

Received on Friday, 5 December 2008 13:05:02 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:27:42 UTC