<?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>评论：Firefox 下 innerHTML 的一个 BUG</title>
	<atom:link href="http://www.planabc.net/2008/07/30/innerhtml_bug_in_firefox/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.planabc.net/2008/07/30/innerhtml_bug_in_firefox/</link>
	<description>落草为根—专注前端技术&#38;&#38;关注用户体验</description>
	<lastBuildDate>Tue, 09 Mar 2010 07:28:24 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>来自：webscript</title>
		<link>http://www.planabc.net/2008/07/30/innerhtml_bug_in_firefox/comment-page-1/#comment-2443</link>
		<dc:creator>webscript</dc:creator>
		<pubDate>Tue, 06 Jan 2009 13:13:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.planabc.net/?p=85#comment-2443</guid>
		<description>document.getElementById(&#039;count&#039;).innerHTML是string型
document.getElementById(&#039;count&#039;).innerHTML = page 右边是number型
最后得到结果document.getElementById(&#039;count&#039;).innerHTML 是 string
但：
 var m=&quot;mm&quot;
     m=21
最后得到结果是m是number
 奇怪</description>
		<content:encoded><![CDATA[<p>document.getElementById(&#8216;count&#8217;).innerHTML是string型<br />
document.getElementById(&#8216;count&#8217;).innerHTML = page 右边是number型<br />
最后得到结果document.getElementById(&#8216;count&#8217;).innerHTML 是 string<br />
但：<br />
 var m=&#8221;mm&#8221;<br />
     m=21<br />
最后得到结果是m是number<br />
 奇怪</p>
]]></content:encoded>
	</item>
	<item>
		<title>来自：Carrien</title>
		<link>http://www.planabc.net/2008/07/30/innerhtml_bug_in_firefox/comment-page-1/#comment-1759</link>
		<dc:creator>Carrien</dc:creator>
		<pubDate>Tue, 21 Oct 2008 09:37:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.planabc.net/?p=85#comment-1759</guid>
		<description>恩恩。把div换成span 就OK了</description>
		<content:encoded><![CDATA[<p>恩恩。把div换成span 就OK了</p>
]]></content:encoded>
	</item>
	<item>
		<title>来自：怿飞</title>
		<link>http://www.planabc.net/2008/07/30/innerhtml_bug_in_firefox/comment-page-1/#comment-1258</link>
		<dc:creator>怿飞</dc:creator>
		<pubDate>Mon, 18 Aug 2008 11:17:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.planabc.net/?p=85#comment-1258</guid>
		<description>知其然知其所以然也是有好处的，呵呵</description>
		<content:encoded><![CDATA[<p>知其然知其所以然也是有好处的，呵呵</p>
]]></content:encoded>
	</item>
	<item>
		<title>来自：八度社区</title>
		<link>http://www.planabc.net/2008/07/30/innerhtml_bug_in_firefox/comment-page-1/#comment-1256</link>
		<dc:creator>八度社区</dc:creator>
		<pubDate>Mon, 18 Aug 2008 10:34:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.planabc.net/?p=85#comment-1256</guid>
		<description>我一帮都会用jquery,兼容性比较好,能够实现统一的效果</description>
		<content:encoded><![CDATA[<p>我一帮都会用jquery,兼容性比较好,能够实现统一的效果</p>
]]></content:encoded>
	</item>
	<item>
		<title>来自：啸沧海</title>
		<link>http://www.planabc.net/2008/07/30/innerhtml_bug_in_firefox/comment-page-1/#comment-1233</link>
		<dc:creator>啸沧海</dc:creator>
		<pubDate>Sat, 16 Aug 2008 10:06:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.planabc.net/?p=85#comment-1233</guid>
		<description>恩w3c标准的问题
用span替换div解决吧.</description>
		<content:encoded><![CDATA[<p>恩w3c标准的问题<br />
用span替换div解决吧.</p>
]]></content:encoded>
	</item>
	<item>
		<title>来自：怿飞</title>
		<link>http://www.planabc.net/2008/07/30/innerhtml_bug_in_firefox/comment-page-1/#comment-1150</link>
		<dc:creator>怿飞</dc:creator>
		<pubDate>Tue, 05 Aug 2008 14:59:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.planabc.net/?p=85#comment-1150</guid>
		<description>@lolocoo NaN值就对了parseInt处理的不是数字开头的，而是a元素开头的</description>
		<content:encoded><![CDATA[<p>@lolocoo NaN值就对了parseInt处理的不是数字开头的，而是a元素开头的</p>
]]></content:encoded>
	</item>
	<item>
		<title>来自：lolocoo</title>
		<link>http://www.planabc.net/2008/07/30/innerhtml_bug_in_firefox/comment-page-1/#comment-1148</link>
		<dc:creator>lolocoo</dc:creator>
		<pubDate>Tue, 05 Aug 2008 14:04:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.planabc.net/?p=85#comment-1148</guid>
		<description>难道是我浏览器的毛病，我这ff3怎么出现了NaN值啊？</description>
		<content:encoded><![CDATA[<p>难道是我浏览器的毛病，我这ff3怎么出现了NaN值啊？</p>
]]></content:encoded>
	</item>
	<item>
		<title>来自：怿飞</title>
		<link>http://www.planabc.net/2008/07/30/innerhtml_bug_in_firefox/comment-page-1/#comment-1120</link>
		<dc:creator>怿飞</dc:creator>
		<pubDate>Thu, 31 Jul 2008 02:59:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.planabc.net/?p=85#comment-1120</guid>
		<description>@秦歌 是的，理解语义，掌握嵌套规则，是作为前端最基本的要求，谢谢你提供的链接，很有价值^^</description>
		<content:encoded><![CDATA[<p>@秦歌 是的，理解语义，掌握嵌套规则，是作为前端最基本的要求，谢谢你提供的链接，很有价值^^</p>
]]></content:encoded>
	</item>
	<item>
		<title>来自：rainaxin</title>
		<link>http://www.planabc.net/2008/07/30/innerhtml_bug_in_firefox/comment-page-1/#comment-1118</link>
		<dc:creator>rainaxin</dc:creator>
		<pubDate>Thu, 31 Jul 2008 02:30:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.planabc.net/?p=85#comment-1118</guid>
		<description>养成良好书写代码习惯，很多bug其实是可以避免的！</description>
		<content:encoded><![CDATA[<p>养成良好书写代码习惯，很多bug其实是可以避免的！</p>
]]></content:encoded>
	</item>
	<item>
		<title>来自：秦歌</title>
		<link>http://www.planabc.net/2008/07/30/innerhtml_bug_in_firefox/comment-page-1/#comment-1116</link>
		<dc:creator>秦歌</dc:creator>
		<pubDate>Thu, 31 Jul 2008 01:41:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.planabc.net/?p=85#comment-1116</guid>
		<description>其实这个问题是普遍遇到的，不仅仅是在利用JavaScript时会有这样的问题，某些情况下对CSS也会有较大的影响。所以使用语义的严格的HTML是非常有必要的。http://dancewithnet.com/2007/06/21/xhtml11_tags_list/这里有所有的HTML标签父子关系列表。</description>
		<content:encoded><![CDATA[<p>其实这个问题是普遍遇到的，不仅仅是在利用JavaScript时会有这样的问题，某些情况下对CSS也会有较大的影响。所以使用语义的严格的HTML是非常有必要的。http://dancewithnet.com/2007/06/21/xhtml11_tags_list/这里有所有的HTML标签父子关系列表。</p>
]]></content:encoded>
	</item>
	<item>
		<title>来自：怿飞</title>
		<link>http://www.planabc.net/2008/07/30/innerhtml_bug_in_firefox/comment-page-1/#comment-1115</link>
		<dc:creator>怿飞</dc:creator>
		<pubDate>Thu, 31 Jul 2008 01:24:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.planabc.net/?p=85#comment-1115</guid>
		<description>@青色 没有用插件，仅用的原生的标签:pre和code</description>
		<content:encoded><![CDATA[<p>@青色 没有用插件，仅用的原生的标签:pre和code</p>
]]></content:encoded>
	</item>
	<item>
		<title>来自：tokki</title>
		<link>http://www.planabc.net/2008/07/30/innerhtml_bug_in_firefox/comment-page-1/#comment-1114</link>
		<dc:creator>tokki</dc:creator>
		<pubDate>Thu, 31 Jul 2008 01:13:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.planabc.net/?p=85#comment-1114</guid>
		<description>=.= a里面套个DIV是过不了W3C的 从不这样搞=。=</description>
		<content:encoded><![CDATA[<p>=.= a里面套个DIV是过不了W3C的 从不这样搞=。=</p>
]]></content:encoded>
	</item>
	<item>
		<title>来自：手气不错</title>
		<link>http://www.planabc.net/2008/07/30/innerhtml_bug_in_firefox/comment-page-1/#comment-1113</link>
		<dc:creator>手气不错</dc:creator>
		<pubDate>Wed, 30 Jul 2008 22:32:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.planabc.net/?p=85#comment-1113</guid>
		<description>这是在帮同事 review 代码的时候发现的，当时改成 span 就解决了问题，不过我不能解释这个原因，感谢“怪飞”同学~</description>
		<content:encoded><![CDATA[<p>这是在帮同事 review 代码的时候发现的，当时改成 span 就解决了问题，不过我不能解释这个原因，感谢“怪飞”同学~</p>
]]></content:encoded>
	</item>
	<item>
		<title>来自：角落阳光</title>
		<link>http://www.planabc.net/2008/07/30/innerhtml_bug_in_firefox/comment-page-1/#comment-1110</link>
		<dc:creator>角落阳光</dc:creator>
		<pubDate>Wed, 30 Jul 2008 16:49:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.planabc.net/?p=85#comment-1110</guid>
		<description>根据xhtml规范，行内元素可以继承块级元素，反过来就不行。《css权威指南》一书如是说的。</description>
		<content:encoded><![CDATA[<p>根据xhtml规范，行内元素可以继承块级元素，反过来就不行。《css权威指南》一书如是说的。</p>
]]></content:encoded>
	</item>
	<item>
		<title>来自：MarVell</title>
		<link>http://www.planabc.net/2008/07/30/innerhtml_bug_in_firefox/comment-page-1/#comment-1107</link>
		<dc:creator>MarVell</dc:creator>
		<pubDate>Wed, 30 Jul 2008 14:46:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.planabc.net/?p=85#comment-1107</guid>
		<description>这结构。。。只能说FF太严格。。。</description>
		<content:encoded><![CDATA[<p>这结构。。。只能说FF太严格。。。</p>
]]></content:encoded>
	</item>
	<item>
		<title>来自：青色</title>
		<link>http://www.planabc.net/2008/07/30/innerhtml_bug_in_firefox/comment-page-1/#comment-1105</link>
		<dc:creator>青色</dc:creator>
		<pubDate>Wed, 30 Jul 2008 13:08:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.planabc.net/?p=85#comment-1105</guid>
		<description>你好，博主！你那个源代码的地方是否用了什么插件？如果用了，可否告知是什么插件，或者发到我的邮箱，谢谢！</description>
		<content:encoded><![CDATA[<p>你好，博主！你那个源代码的地方是否用了什么插件？如果用了，可否告知是什么插件，或者发到我的邮箱，谢谢！</p>
]]></content:encoded>
	</item>
	<item>
		<title>来自：怿飞</title>
		<link>http://www.planabc.net/2008/07/30/innerhtml_bug_in_firefox/comment-page-1/#comment-1103</link>
		<dc:creator>怿飞</dc:creator>
		<pubDate>Wed, 30 Jul 2008 10:00:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.planabc.net/?p=85#comment-1103</guid>
		<description>最后的扩展阅读也可以看 Junchen 写的&lt;a href=&quot;http://www.junchenwu.com/2007/01/allowed_nesting_of_elements_in_html_4_strict_and_xhtml_10_strict.html&quot; target=&quot;_blank&quot; title=&quot;(X)HTML Strict 下的嵌套规则&quot; rel=&quot;nofollow&quot;&gt;《(X)HTML Strict 下的嵌套规则》&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p>最后的扩展阅读也可以看 Junchen 写的<a href="http://www.junchenwu.com/2007/01/allowed_nesting_of_elements_in_html_4_strict_and_xhtml_10_strict.html" target="_blank" title="(X)HTML Strict 下的嵌套规则" rel="nofollow">《(X)HTML Strict 下的嵌套规则》</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>来自：MacJi</title>
		<link>http://www.planabc.net/2008/07/30/innerhtml_bug_in_firefox/comment-page-1/#comment-1102</link>
		<dc:creator>MacJi</dc:creator>
		<pubDate>Wed, 30 Jul 2008 08:00:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.planabc.net/?p=85#comment-1102</guid>
		<description>可以忽略的bug，不可忽视的“人为的不良习惯”。</description>
		<content:encoded><![CDATA[<p>可以忽略的bug，不可忽视的“人为的不良习惯”。</p>
]]></content:encoded>
	</item>
</channel>
</rss>
