<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: CSS, selectors and computational complexity</title>
	<atom:link href="http://www.terrainformatica.com/2008/07/css-selectors-and-computational-complexity/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.terrainformatica.com/index.php/2008/07/css-selectors-and-computational-complexity/</link>
	<description>Terra Informatica, home of embeddable html and CSS rendering engines.</description>
	<lastBuildDate>Fri, 08 Apr 2011 07:40:02 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Andrew</title>
		<link>http://www.terrainformatica.com/index.php/2008/07/css-selectors-and-computational-complexity/comment-page-1/#comment-3855</link>
		<dc:creator>Andrew</dc:creator>
		<pubDate>Fri, 25 Jul 2008 17:58:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.terrainformatica.com/index.php/?p=99#comment-3855</guid>
		<description>Inline styles are needed for WYSIWYG editors.
While in WYSIWYG environment user have no concept of the CSS (and the DOM either).
You have just something like &lt;code&gt;&lt;combobox id=&quot;list-of-fonts&quot;&gt;...&lt;/combobox&gt;&lt;/code&gt; in the UI. I am trying to eliminate the need of inline styles in &lt;code&gt;&lt;richtext&gt;&lt;/code&gt; input element (WYSIWYG editor) though.</description>
		<content:encoded><![CDATA[<p>Inline styles are needed for WYSIWYG editors.<br />
While in WYSIWYG environment user have no concept of the CSS (and the DOM either).<br />
You have just something like <code>&lt;combobox id="list-of-fonts">...&lt;/combobox></code> in the UI. I am trying to eliminate the need of inline styles in <code>&lt;richtext></code> input element (WYSIWYG editor) though.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dusan</title>
		<link>http://www.terrainformatica.com/index.php/2008/07/css-selectors-and-computational-complexity/comment-page-1/#comment-3852</link>
		<dc:creator>Dusan</dc:creator>
		<pubDate>Fri, 25 Jul 2008 14:11:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.terrainformatica.com/index.php/?p=99#comment-3852</guid>
		<description>Ah? I typed &lt; and &gt; in the post above literally and thus no example has appeared. Ok maybe &quot;BlackNote+WordPress&quot; should transform them into escaped form automagically, maybe not. In any case the example is:

&lt;div style=&#039;hove:color:red;link:color:ggreen;&#039; &gt;&lt;/div&gt;

Dusan</description>
		<content:encoded><![CDATA[<p>Ah? I typed &lt; and &gt; in the post above literally and thus no example has appeared. Ok maybe &#8220;BlackNote+WordPress&#8221; should transform them into escaped form automagically, maybe not. In any case the example is:</p>
<p>&lt;div style=&#8217;hove:color:red;link:color:ggreen;&#8217; &gt;&lt;/div&gt;</p>
<p>Dusan</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dusan</title>
		<link>http://www.terrainformatica.com/index.php/2008/07/css-selectors-and-computational-complexity/comment-page-1/#comment-3851</link>
		<dc:creator>Dusan</dc:creator>
		<pubDate>Fri, 25 Jul 2008 14:06:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.terrainformatica.com/index.php/?p=99#comment-3851</guid>
		<description>Nice one ... Made me think of the following. 
What makes applying CSS to DOM , *much* more complicated is (optional) existence of the &#039;style&#039; attribute. Conceptually I think I see no reason of its existence? It makes the whole CSS + DOM (already complex) rules issue NON cocnsistent and introduces singulartities which is bad. Or should I say BAD. Also. It is not possible to use selectors inside the style attribute value. Why should we have this, one might ask?
First I can think of, is unability to use pseudo class in the value of style. Example :

&lt;pre&gt;&lt;div style=’hover:color:red;link:color:green;’ &gt;&lt;/div&gt;&lt;/pre&gt;

Of course this does not work. Selectors inside style values are not permited. 

Of course, why in the first place anyone would use the &#039;style&#039; attr, I can not comprehend. It is much more clear and easier to develop and manage CSS through  element and selectors, classes and id&#039;s.

Dusan</description>
		<content:encoded><![CDATA[<p>Nice one &#8230; Made me think of the following.<br />
What makes applying CSS to DOM , *much* more complicated is (optional) existence of the &#8216;style&#8217; attribute. Conceptually I think I see no reason of its existence? It makes the whole CSS + DOM (already complex) rules issue NON cocnsistent and introduces singulartities which is bad. Or should I say BAD. Also. It is not possible to use selectors inside the style attribute value. Why should we have this, one might ask?<br />
First I can think of, is unability to use pseudo class in the value of style. Example :</p>
<pre>&lt;div style=’hover:color:red;link:color:green;’ >&lt;/div></pre>
<p>Of course this does not work. Selectors inside style values are not permited. </p>
<p>Of course, why in the first place anyone would use the &#8216;style&#8217; attr, I can not comprehend. It is much more clear and easier to develop and manage CSS through  element and selectors, classes and id&#8217;s.</p>
<p>Dusan</p>
]]></content:encoded>
	</item>
</channel>
</rss>

