随笔分类 -  W3C

摘要:There are code in webkit that can dump the dom tree and render tree."RenderObject::showRenderTreeAndMark" and "Node::showTreeAndMark"You can use it or change it. But it will take a lot of time to compile, and the log function doesn't work very well in Windows environment.Belo 阅读全文
posted @ 2012-05-30 23:52 cascais 阅读(277) 评论(0) 推荐(0)
摘要:1. Introductiona. Language can be written in HTML and XML.b. define processing detail for implementation.c. Improve markup for document.d. Introduced markup and API for merging idioms.The HTML5 specification will not be considered finished before there are at least two complete implementations of th 阅读全文
posted @ 2012-05-30 23:49 cascais 阅读(221) 评论(0) 推荐(0)
摘要:script1.DOM object in jsWindows object, the biggest object.Screen,Navigaor,Location,History2.document.frames[0]document.frames[1]return the frame of the Document.(to be continued)webkit1.HTMLDocumentPareser's membershipOwnPtr<HTMLTokenizer> m_tokenizer;OwnPtr<HTMLScriptRunner> m_scri 阅读全文
posted @ 2012-05-30 23:48 cascais 阅读(357) 评论(0) 推荐(0)
摘要:JavaScript简介1.jsJavaScript 可以将动态的文本放入 HTML 页面JavaScript 可以对事件作出响应JavaScript 可以读写 HTML 元素JavaScript 可被用来验证数据JavaScript 可被用来检测访问者的浏览器JavaScript 可被用来创建 cookiesJavaScript 的正式名称是 "ECMAScript"2.实现<html><body><script type="text/javascript">document.write("Hello Wo 阅读全文
posted @ 2012-05-30 23:25 cascais 阅读(423) 评论(0) 推荐(0)
摘要:DOM level 2 coreNode object hierarchy:DocumentDocumentFragmentDocumentTypeEntityReferenceElementAttrProcessingInstructionCommentTextCDATASectionEntityNotationChanges between DOM Level 1 Core and DOM Level 2 CoreInterface AttrThe Attr interface has one new attribute: ownerElement.Interface DocumentTh 阅读全文
posted @ 2012-05-06 09:55 cascais 阅读(272) 评论(0) 推荐(0)
摘要:script1.DOM object in jsWindows object, the biggest object.Screen,Navigaor,Location,History2.document.frames[0]document.frames[1]return the frame of the Document.(to be continued)webkit1.HTMLDocumentPareser's membershipOwnPtr<HTMLTokenizer> m_tokenizer;OwnPtr<HTMLScriptRunner> m_scri 阅读全文
posted @ 2012-05-06 09:55 cascais 阅读(155) 评论(0) 推荐(0)
摘要:Introduction1.DOM levelDom level 1specified in 1998.DOM level 2includes Core Specification, Events Specification, Style Specification, Tranversal and Range Specification, View Specification (2000.11)and also HTML Specification(2003.1)DOM level 3includesValidation Specification, Core Specification, L 阅读全文
posted @ 2012-05-06 09:54 cascais 阅读(217) 评论(0) 推荐(0)