skip to main
|
skip to sidebar
小楼听雨
Java, Python, IR, KM, NLP, JS, Web2.0
Tuesday, August 04, 2009
innerHTML中, p包含ul的问题
一个dom节点给他innerHTML="<p class='temp'><ul><li>test</li></ul></p>", 其中temp的样式为: .temp {display:none;}, 此时ul元素会被解析到p标签之外, IE, FF, Chrome都是如此, BUG or S
tandard?
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
About Me
小楼听雨
View my complete profile
Blog Archive
►
2010
(3)
►
April
(1)
►
March
(1)
►
January
(1)
▼
2009
(35)
►
November
(3)
►
October
(6)
►
September
(3)
▼
August
(4)
trac源代码阅读 - 6 python operators
trac源代码阅读 - 5 python operators
trac源代码阅读 - 4 ("|" or operator)
innerHTML中, p包含ul的问题
►
July
(3)
►
June
(2)
►
May
(2)
►
April
(1)
►
March
(7)
►
February
(2)
►
January
(2)
►
2008
(66)
►
December
(1)
►
November
(6)
►
October
(15)
►
September
(6)
►
August
(5)
►
July
(18)
►
June
(11)
►
March
(1)
►
February
(3)
►
2007
(3)
►
November
(1)
►
March
(2)
Links
Google News
Edit-Me
Edit-Me
Subscribe To
Posts
Atom
Posts
Comments
Atom
Comments
No comments:
Post a Comment