[whatwg] Restricting style inheritance
I am unsure if this applies to HTML (or rather CSS). From the archives I see that Dean Edwards proposed some reset/reset element that was supposed to reset styles to the page default style. I have another proposal div style='inherit: nothing'/div This would effectively make everything inside the div have the browser default stylesheet. Other values for the inherit css style could be: div style='inherit: font-weight font-family font-size;'/div e.g. any css attribute on a space separated list. This list should also allow short hand attributes such as background and font but be expanded. Note that this is a white list approach - which I think is far better than the black list approach that we need to use today: style='line-height: 10px; font-family: Arial' etc is a black list and not very maintainable. -- Best regards / Med vennlig hilsen Frode Børli Seria.no -Think about the environment. Do not print this e-mail unless you really need to. -Tenk miljø. Ikke skriv ut denne e-posten dersom det ikke er nødvendig.
Re: [whatwg] Restricting style inheritance
On Tue, 17 Jun 2008 12:43:32 +0200, Frode Børli [EMAIL PROTECTED] wrote: I am unsure if this applies to HTML (or rather CSS). From the archives I see that Dean Edwards proposed some reset/reset element that was supposed to reset styles to the page default style. I have another proposal div style='inherit: nothing'/div That would be CSS. I suggest you subscribe to the [EMAIL PROTECTED] mailing list and give your feedback there. -- Anne van Kesteren http://annevankesteren.nl/ http://www.opera.com/