- From: Brad Kemper <brad.kemper@gmail.com>
- Date: Thu, 11 Dec 2008 12:16:06 -0800
- To: Jordan Osete <jor@joozt.net>
- Cc: "www-style@w3.org" <www-style@w3.org>
It would still have to inherit from the user agent style sheet though, wouldn't it? Otherwise, IIUC, headlines and paragraphs would look the same, and everything would be online by default. Until all those properties were explicitly set for the object. Sent from my iPhone On Dec 11, 2008, at 11:19 AM, Jordan Osete <jor@joozt.net> wrote: > > Hello, > > Though the "no-cascade" problem is effectively hard to solve purely > in CSS (namespacing or iframes seem the best way to me), the "no- > inherit" one can be solved, as far as I can see, in a very > straightforward manner. Some kind of property like "disable- > inheritance" that would apply to an element, and simply allow to > enable or disable the inheritance for this element. > > disable-inheritance: none | all; > > The advantage of using "none" and "all" is that it could later be > extended to a list of properties, if really needed. > > Regards, > Jordan Osete > > Boris Zbarsky a ¨¦crit : >> >> Niels Matthijs wrote: >>> Well yeah, but I don't think it's appropriate to fix stuff at html >>> level just because it gives you problems on css level? >> >> Your issue is that some of your HTML elements differ from others in >> an important way. You need to communicate that to CSS somehow. How >> do you propose to do this? >> >>> Furthermore, >>> there are problems with iframes adapting to the height of the >>> included code. >> >> Please go read up on seamless iframes. Though arbitrary cross-site >> inclusion won't allow auto-height-sizing, it will probably be >> allowed with the appropriate Access-Control headers. >> >>> And I don't see why I should always include external >>> code through an iframe. >> >> Because you don't want it to pollute your script scope (or vice >> versa), just like you don't want CSS rules to leak across the >> boundary (in either direction)? >> >> -Boris >> >> > > >
Received on Friday, 12 December 2008 14:43:17 UTC