On Oct 9, 2008, at 10:52 AM, Michael Adams wrote: > I have grown so fond of this technique that i have thought of > extending > both it and @media in a new direction. If browsers were seen as a > type of media you could legally write fixes for any CSS issue in a > given browser. The technique would only be applied to future > browsers as > no current browser sees itself as a media type. THis gives CSS > authors a > way of applying fixes for inaccuracies or disparate CSS > interpretations > in the future. > ... > In the future it could look like this: > [Quote] > @import url("layout.css"); > @import url("colour.css"); > @import url("fonts.css"); > @import url("ie9hacks.css") ie9; > @import url("ff4hacks.css") ff4; > @import url("safari4hacks.css") safari4; > @import url("opera10hacks.css") opera10; > [/Quote] > Only the relevant media files for a site would need to be included. > > I am asking for opinions on this idea. It looks like a good idea to me > because i already use the technique, so other opinions are vital > before > i try to give the idea some steam with w3c or browser manufactureres. > > Some may say that i should be targeting layout engines direct, > or versions of Gecko, Trident, Presto or Webkit. That may be the right > way to go, but Chrome uses Webkit with proprietary hacks, hence i went > by browser name. > ... > > This would also allow SVG to be fed to compliant browsers as > background > images without programmed or .htaccess hacks.
You're probably on the wrong list for this. :-) You should rather submit your ideas to the CSS-WG www-style mailing list [1]. There have been various proposals on that subject like [2], [3]. Follow the links to replies, etc. Most implementators have rejected those ideas. Some -some- authors are very much in favour. Personally, as an author, I strongly dislike those ideas, I see that as completely orthogonal to the concept of standards. If those proposals ever see the light of the day, it should definitely be based on rendering engine detection (Gecko, WebKit, Presto,...) , and not vendor (Firefox, Safari, ...) detection. [1] <http://lists.w3.org/Archives/Public/www-style/> [2] <http://lists.w3.org/Archives/Public/www-style/2008Sep/0219.html> [3] <http://lists.w3.org/Archives/Public/www-style/2007Oct/0112.html> Philippe --- Philippe Wittenbergh http://l-c-n.com/ ______________________________________________________________________ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/