Ruby's Louvre

每天学习一点点算法

导航

2010年2月22日 #

Element.nodeName

摘要: http://d.hatena.ne.jp/nagaton/20060908/1157691716 コメントに思いついたのを勢いで書いてしまったけどちゃんと検証するお>< http://lowreal.net/logs/2006/09/09/1.html Content-Type: text/html document.body.nodeName... 阅读全文

posted @ 2010-02-22 18:47 司徒正美 阅读(850) 评论(1) 推荐(0) 编辑

queryScopedSelector

摘要: 17:32 querySelector と queryScopedSelector の違いがよくわからなかったんだけど、こんな感じだそうな。 element.queryScopedSelectorAll("div") generally becomeselement.parentNode.querySelectorAll(":scope div"... 阅读全文

posted @ 2010-02-22 18:47 司徒正美 阅读(1022) 评论(1) 推荐(0) 编辑