- From: Rene Saarsoo <nene@triin.net>
- Date: Tue, 03 Jul 2007 21:47:49 +0300
- To: public-html@w3.org
As many have pointed out [1][2], style element with scoped attribute is not backwards compatible. Current user-agents apply the contents of <style scoped> to all elements - clearly not an acceptable fallback. Meaning, that authors can't really use it before most of the user-agents support it, which could take about 5 years or something. This goes against the don't-break-the-web principle. To resolve this problem, I propose a new element instead. e.g. <localstyle> or <scopedstyle>. The word "localstyle" seems to me easier to spell and understand than "scopedstyle". Authors can use HTML comments to hide contents of the new element from older user-agents (like back in the old days with <style>): <localstyle type="text/css"><!-- /* my special styles for really new browsers */ --></localstyle> That would greatly resolve the backwards compatibility problem. [1] http://lists.w3.org/Archives/Public/public-html/2007Jun/0774.html [2] http://lists.w3.org/Archives/Public/public-html/2007Jun/0626.html -- Rene Saarsoo
Received on Tuesday, 3 July 2007 18:48:33 UTC