KS X 6047-4-2011 Document Object Model(DOM) level 2 style specification《文档对象模型(DOM)级别2样式规范》.pdf
《KS X 6047-4-2011 Document Object Model(DOM) level 2 style specification《文档对象模型(DOM)级别2样式规范》.pdf》由会员分享,可在线阅读,更多相关《KS X 6047-4-2011 Document Object Model(DOM) level 2 style specification《文档对象模型(DOM)级别2样式规范》.pdf(114页珍藏版)》请在麦多课文档分享上搜索。
1、 KSKSKSKSKSKSKSK KSKSKS KSKSK KSKS KSK KS KS X 6047 4 (DOM) 2 KS X 6047 4:2011 2011 12 30 http:/www.kats.go.krKS X 6047 4:2011 :e- ( ) ( ) () () ( ) : () () DRM ( ) KS X 6047 4:2011 : (http:/www.standard.go.kr) : :2011 12 30 2011-0689 : e- : ( 02-509-7262) (http:/www.kats.go.kr). 10 5 , . KS X 6047
2、4:2011 i ii . iii 1 1 2 (DOM) .1 2.1 .1 2.2 1 2.3 (document extensions).5 2.4 5 3 (DOM) CSS 6 3.1 DOM 2 CSS .6 3.2 CSS 6 3.3 CSS2 27 A( ) IDL 53 A.1 .53 A.2 CSS .54 B( ) 67 B.1 .67 B.2 CSS .68 C( ) ECMAScript .85 C.1 .85 C.2 CSS .86 101 KS X 6047 4:2011 .102 KS X 6047 4:2011 ii . , , . , , . DOM . D
3、OM XML HTML programmatic interface , . DOM Level 2 . DOM Level 2 Core DOM Level 2 Views DOM Level 2 Events DOM Level 2 Style DOM Level 2 Traversal and Range DOM Level 2 HTML DOM Level 2 Style . KS X 6047 4:2011 iii World Wide Web Consortium(W3C) 2000 Document Object Model(DOM) Level 2 Style 1.0 , .
4、DOM Level 2 Style , DOM (API) . XHTML CSS . (DOM) Level 2 Style DOM Level 2 Core DOM Level 2 Views . KS X 6047 4:2011 (DOM) 2 Document Object Model(DOM) level 2 style specification 1 DOM Level 2 Style , CSS . 2 (DOM) 2.1 DOM 2 . DOM . . DOM DOMImplementation hasFeature(feature, version) “StyleSheets
5、” “2.0” . DOM 2 Core DOM 2 Core “Core” . DOM 2 DOM Level 2 Core . 2.2 . StyleSheet (DOM 2 .) StyleSheet . . HTML StyleSheet HTML LINK , STYLE . XML . IDL / DOM 2 .: interface StyleSheet readonly attribute DOMString type; attribute boolean disabled; readonly attribute Node ownerNode; readonly attribu
6、te StyleSheet parentStyleSheet; readonly attribute DOMString href; KS X 6047 4:2011 2 readonly attribute DOMString title; readonly attribute MediaList media; ; disabled boolean false, true . . false . disabled . href DOMString, , . null . HTML 4.0 href XML href - (pseudo-attribute) . media MediaList
7、, . ownerNode . MediaList . HTML 4.0 media XML - . disabled . ownerNode Node, . HTML LINK STYLE . XML (linking) . null . parentStyleSheet StyleSheet, . - (top-level) (inclusion) null . title DOMString, . ownerNode . HTML 4.0 LINK title XML - . type DOMString, . (:“text/css”). ownerNode . HTML 4.0 LI
8、NK type XML type - . StyleSheetList (DOM 2 .) StyleSheetList . StyleSheetList 0 . IDL / DOM 2 .: KS X 6047 4:2011 3 interface StyleSheetList readonly attribute unsigned long length; StyleSheet item(in unsigned long index); ; length unsigned long, StyleSheets . 0 (length) 1 . item . null . index unsi
9、gned long StyleSheet StyleSheetList , null . MediaList (DOM 2 .) MediaList . “all” . MediaList 0 . IDL / DOM 2 .: interface MediaList attribute DOMString mediaText; / raises(DOMException) on setting readonly attribute unsigned long length; DOMString item(in unsigned long index); void deleteMedium(in
10、 DOMString oldMedium) raises(DOMException); void appendMedium(in DOMString newMedium) raises(DOMException); ; length unsigned long, . 0 (length) 1 . KS X 6047 4:2011 4 mediaText DOMString (textual) . . DOMException SYNTAX_ERR: NO_MODIFICATION_ALLOWED_ERR: appendMedium newMedium . newMedium . newMedi
11、um DOMString DOMException INVALID_CHARACTER_ERR: NO_MODIFICATION_ALLOWED_ERR: . deleteMedium oldMedium . oldMedium DOMString DOMException NO_MODIFICATION_ALLOWED_ERR: NOT_FOUND_ERR: oldMedium . item index . index null . index unsigned long DOMString MediaList index null KS X 6047 4:2011 5 . 2.3 (doc
- 1.请仔细阅读文档,确保文档完整性,对于不预览、不比对内容而直接下载带来的问题本站不予受理。
- 2.下载的文档,不会出现我们的网址水印。
- 3、该文档所得收入(下载+内容+预览)归上传者、原创作者;如果您是本文档原作者,请点此认领!既往收益都归您。
下载文档到电脑,查找使用更方便
10000 积分 0人已下载
下载 | 加入VIP,交流精品资源 |
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- KSX604742011DOCUMENTOBJECTMODELDOMLEVEL2STYLESPECIFICATION 文档 对象 模型 DOM 级别 样式 规范 PDF

链接地址:http://www.mydoc123.com/p-821624.html