Parent Directory
|
Revision Log
by remote user 'guest'
| 1 | apache | 1.4 | |
| 2 | #pattern | ||
| 3 | apache | 1.2 | <span class=secno>* </span>Semantics and structure of HTML |
| 4 | apache | 1.4 | documents |
| 5 | #ja | ||
| 6 | <span class=secno>$1 </span>HTML 文書の意味と構造 | ||
| 7 | |||
| 8 | #pattern | ||
| 9 | <span class=secno>* </span>Documents | ||
| 10 | #ja | ||
| 11 | apache | 1.5 | <span class=secno>$1 </span>文書 |
| 12 | |||
| 13 | #en | ||
| 14 | Every XML and HTML document in an HTML UA is represented by a | ||
| 15 | <code>Document</code> object. <a href="#refsDOM3CORE">[DOM3CORE]</a> | ||
| 16 | #ja | ||
| 17 | HTML 利用者エージェントにおけるすべての XML や HTML の文書は | ||
| 18 | apache | 1.6 | <code>Document</code> オブジェクトにより表現されます。 <a href="#refsDOM3CORE">[DOM3CORE]</a> |
| 19 | |||
| 20 | #pattern | ||
| 21 | <span class=secno>* </span>Documents in the DOM | ||
| 22 | #ja | ||
| 23 | apache | 1.7 | <span class=secno>$1 </span>DOM 中の文書 |
| 24 | |||
| 25 | #en | ||
| 26 | <code>Document</code> objects are assumed to be <dfn | ||
| 27 | id=xml-documents>XML documents</dfn> unless they are flagged as being <dfn | ||
| 28 | id=html->HTML documents</dfn> when they are created. Whether a document is | ||
| 29 | an <a href="#html-" title="HTML documents">HTML document</a> or an <a | ||
| 30 | href="#xml-documents" title="XML documents">XML document</a> affects the | ||
| 31 | behavior of certain APIs, as well as a few CSS rendering rules. <a | ||
| 32 | href="#refsCSS21">[CSS21]</a> | ||
| 33 | #ja | ||
| 34 | <code>Document</code> オブジェクトは、作成された時に | ||
| 35 | <dfn | ||
| 36 | id=html->HTML 文書</dfn>であると旗付けされていなければ、 <dfn | ||
| 37 | id=xml-documents>XML 文書</dfn>であると見なします。 | ||
| 38 | 文書が <a href="#html-" title="HTML documents">HTML 文書</a>であるか <a | ||
| 39 | href="#xml-documents" title="XML documents">XML 文書</a>であるかは、 | ||
| 40 | いくつかの API の動作や CSS のレンダリング規則の一部に影響します。 <a | ||
| 41 | apache | 1.8 | href="#refsCSS21">[CSS21]</a> |
| 42 | |||
| 43 | #en | ||
| 44 | A <code>Document</code> object created by the <code | ||
| 45 | title="">createDocument()</code> API on the <code>DOMImplementation</code> | ||
| 46 | object is initially an <a href="#xml-documents" title="XML documents">XML | ||
| 47 | document</a>, but can be made into an <a href="#html-" title="HTML | ||
| 48 | documents">HTML document</a> by calling <code title=dom-document-open><a | ||
| 49 | href="#open">document.open()</a></code> on it. | ||
| 50 | #ja | ||
| 51 | <code>DOMImplementation</code> 上の <code | ||
| 52 | title="">createDocument()</code> API により作成された <code>Document</code> | ||
| 53 | オブジェクトははじめ <a href="#xml-documents" title="XML documents">XML | ||
| 54 | 文書</a>ですが、 <code title=dom-document-open><a | ||
| 55 | href="#open">document.open()</a></code> | ||
| 56 | を呼び出すことにより <a href="#html-" title="HTML | ||
| 57 | apache | 1.9 | documents">HTML 文書</a>にすることができます。 |
| 58 | |||
| 59 | #en | ||
| 60 | All <code>Document</code> objects (in user agents implementing this | ||
| 61 | specification) must also implement the <code><a | ||
| 62 | href="#htmldocument">HTMLDocument</a></code> interface, available using | ||
| 63 | binding-specific methods. (This is the case whether or not the document in | ||
| 64 | question is an <a href="#html-" title="HTML documents">HTML document</a> | ||
| 65 | or indeed whether it contains any <a href="#html-elements">HTML | ||
| 66 | elements</a> at all.) <code>Document</code> objects must also implement | ||
| 67 | the document-level interface of any other namespaces found in the document | ||
| 68 | that the UA supports. For example, if an HTML implementation also supports | ||
| 69 | SVG, then the <code>Document</code> object must implement <code><a | ||
| 70 | href="#htmldocument">HTMLDocument</a></code> and <code>SVGDocument</code>. | ||
| 71 | #ja | ||
| 72 | (この仕様書を実装する利用書エージェントにおける) すべての | ||
| 73 | <code>Document</code> | ||
| 74 | オブジェクトは、 <code><a | ||
| 75 | href="#htmldocument">HTMLDocument</a></code> 界面をも実装し、 | ||
| 76 | 束縛規定の方式により利用可能としなければ[[MUST:なりません]]。 | ||
| 77 | (これは当該文書が <a href="#html-" title="HTML documents">HTML 文書</a>であるか否かや、 | ||
| 78 | そもそも <a href="#html-elements">HTML | ||
| 79 |