Annotation of html5/spec-LC/no.html, revision 1.1
1.1 ! mike 1: <!DOCTYPE HTML>
! 2: <!-- when publishing, change bits marked ZZZ --><html lang="en-US-x-Hixie"><head><title>13 Things that you can't do with this specification because they are better handled using other technologies that are further described herein — HTML 5</title><style type="text/css">
! 3: pre { margin-left: 2em; white-space: pre-wrap; }
! 4: h2 { margin: 3em 0 1em 0; }
! 5: h3 { margin: 2.5em 0 1em 0; }
! 6: h4 { margin: 2.5em 0 0.75em 0; }
! 7: h5, h6 { margin: 2.5em 0 1em; }
! 8: h1 + h2, h1 + h2 + h2 { margin: 0.75em 0 0.75em; }
! 9: h2 + h3, h3 + h4, h4 + h5, h5 + h6 { margin-top: 0.5em; }
! 10: p { margin: 1em 0; }
! 11: hr:not(.top) { display: block; background: none; border: none; padding: 0; margin: 2em 0; height: auto; }
! 12: dl, dd { margin-top: 0; margin-bottom: 0; }
! 13: dt { margin-top: 0.75em; margin-bottom: 0.25em; clear: left; }
! 14: dt + dt { margin-top: 0; }
! 15: dd dt { margin-top: 0.25em; margin-bottom: 0; }
! 16: dd p { margin-top: 0; }
! 17: dd dl + p { margin-top: 1em; }
! 18: dd table + p { margin-top: 1em; }
! 19: p + * > li, dd li { margin: 1em 0; }
! 20: dt, dfn { font-weight: bold; font-style: normal; }
! 21: dt dfn { font-style: italic; }
! 22: pre, code { font-size: inherit; font-family: monospace; font-variant: normal; }
! 23: pre strong { color: black; font: inherit; font-weight: bold; background: yellow; }
! 24: pre em { font-weight: bolder; font-style: normal; }
! 25: @media screen { code { color: orangered; } code :link, code :visited { color: inherit; } }
! 26: var sub { vertical-align: bottom; font-size: smaller; position: relative; top: 0.1em; }
! 27: table { border-collapse: collapse; border-style: hidden hidden none hidden; }
! 28: table thead { border-bottom: solid; }
! 29: table tbody th:first-child { border-left: solid; }
! 30: table td, table th { border-left: solid; border-right: solid; border-bottom: solid thin; vertical-align: top; padding: 0.2em; }
! 31: blockquote { margin: 0 0 0 2em; border: 0; padding: 0; font-style: italic; }
! 32:
! 33: .bad, .bad *:not(.XXX) { color: gray; border-color: gray; background: transparent; }
! 34: .matrix, .matrix td { border: none; text-align: right; }
! 35: .matrix { margin-left: 2em; }
! 36: .dice-example { border-collapse: collapse; border-style: hidden solid solid hidden; border-width: thin; margin-left: 3em; }
! 37: .dice-example caption { width: 30em; font-size: smaller; font-style: italic; padding: 0.75em 0; text-align: left; }
! 38: .dice-example td, .dice-example th { border: solid thin; width: 1.35em; height: 1.05em; text-align: center; padding: 0; }
! 39:
! 40: .toc dfn, h1 dfn, h2 dfn, h3 dfn, h4 dfn, h5 dfn, h6 dfn { font: inherit; }
! 41: img.extra { float: right; }
! 42: pre.idl { border: solid thin; background: #EEEEEE; color: black; padding: 0.5em 1em; }
! 43: pre.idl :link, pre.idl :visited { color: inherit; background: transparent; }
! 44: pre.css { border: solid thin; background: #FFFFEE; color: black; padding: 0.5em 1em; }
! 45: pre.css:first-line { color: #AAAA50; }
! 46: dl.domintro { color: green; margin: 2em 0 2em 2em; padding: 0.5em 1em; border: none; background: #EEFFEE; }
! 47: hr + dl.domintro, div.impl + dl.domintro { margin-top: 2.5em; margin-bottom: 1.5em; }
! 48: dl.domintro dt, dl.domintro dt * { color: black; text-decoration: none; }
! 49: dl.domintro dd { margin: 0.5em 0 1em 2em; padding: 0; }
! 50: dl.domintro dd p { margin: 0.5em 0; }
! 51: dl.switch { padding-left: 2em; }
! 52: dl.switch > dt { text-indent: -1.5em; }
! 53: dl.switch > dt:before { content: '\21AA'; padding: 0 0.5em 0 0; display: inline-block; width: 1em; text-align: right; line-height: 0.5em; }
! 54: dl.triple { padding: 0 0 0 1em; }
! 55: dl.triple dt, dl.triple dd { margin: 0; display: inline }
! 56: dl.triple dt:after { content: ':'; }
! 57: dl.triple dd:after { content: '\A'; white-space: pre; }
! 58: .diff-old { text-decoration: line-through; color: silver; background: transparent; }
! 59: .diff-chg, .diff-new { text-decoration: underline; color: green; background: transparent; }
! 60: a .diff-new { border-bottom: 1px blue solid; }
! 61:
! 62: h2 { page-break-before: always; }
! 63: h1, h2, h3, h4, h5, h6 { page-break-after: avoid; }
! 64: h1 + h2, hr + h2.no-toc { page-break-before: auto; }
! 65:
! 66: p > span:not([title=""]):not([class="XXX"]):not([class="impl"]), li > span:not([title=""]):not([class="XXX"]):not([class="impl"]) { border-bottom: solid #9999CC; }
! 67:
! 68: div.head { margin: 0 0 1em; padding: 1em 0 0 0; }
! 69: div.head p { margin: 0; }
! 70: div.head h1 { margin: 0; }
! 71: div.head .logo { float: right; margin: 0 1em; }
! 72: div.head .logo img { border: none } /* remove border from top image */
! 73: div.head dl { margin: 1em 0; }
! 74: p.copyright { font-size: x-small; font-style: oblique; margin: 0; }
! 75:
! 76: body > .toc > li { margin-top: 1em; margin-bottom: 1em; }
! 77: body > .toc.brief > li { margin-top: 0.35em; margin-bottom: 0.35em; }
! 78: body > .toc > li > * { margin-bottom: 0.5em; }
! 79: body > .toc > li > * > li > * { margin-bottom: 0.25em; }
! 80: .toc, .toc li { list-style: none; }
! 81:
! 82: .brief { margin-top: 1em; margin-bottom: 1em; line-height: 1.1; }
! 83: .brief li { margin: 0; padding: 0; }
! 84: .brief li p { margin: 0; padding: 0; }
! 85:
! 86: .category-list { margin-top: -0.75em; margin-bottom: 1em; line-height: 1.5; }
! 87: .category-list::before { content: '\21D2\A0'; font-size: 1.2em; font-weight: 900; }
! 88: .category-list li { display: inline; }
! 89: .category-list li:not(:last-child)::after { content: ', '; }
! 90: .category-list li > span, .category-list li > a { text-transform: lowercase; }
! 91: .category-list li * { text-transform: none; } /* don't affect <code> nested in <a> */
! 92:
! 93: .XXX { color: #E50000; background: white; border: solid red; padding: 0.5em; margin: 1em 0; }
! 94: .XXX > :first-child { margin-top: 0; }
! 95: p .XXX { line-height: 3em; }
! 96: .annotation { border: solid thin black; background: #0C479D; color: white; position: relative; margin: 8px 0 20px 0; }
! 97: .annotation:before { position: absolute; left: 0; top: 0; width: 100%; height: 100%; margin: 6px -6px -6px 6px; background: #333333; z-index: -1; content: ''; }
! 98: .annotation :link, .annotation :visited { color: inherit; }
! 99: .annotation :link:hover, .annotation :visited:hover { background: transparent; }
! 100: .annotation span { border: none ! important; }
! 101: .note { color: green; background: transparent; font-family: sans-serif; }
! 102: .warning { color: red; background: transparent; }
! 103: .note, .warning { font-weight: bolder; font-style: italic; }
! 104: p.note, div.note { padding: 0.5em 2em; }
! 105: span.note { padding: 0 2em; }
! 106: .note p:first-child, .warning p:first-child { margin-top: 0; }
! 107: .note p:last-child, .warning p:last-child { margin-bottom: 0; }
! 108: .warning:before { font-style: normal; }
! 109: p.note:before { content: 'Note: '; }
! 110: p.warning:before { content: '\26A0 Warning! '; }
! 111:
! 112: .bookkeeping:before { display: block; content: 'Bookkeeping details'; font-weight: bolder; font-style: italic; }
! 113: .bookkeeping { font-size: 0.8em; margin: 2em 0; }
! 114: .bookkeeping p { margin: 0.5em 2em; display: list-item; list-style: square; }
! 115:
! 116: h4 { position: relative; z-index: 3; }
! 117: h4 + .element, h4 + div + .element { margin-top: -2.5em; padding-top: 2em; }
! 118: .element {
! 119: background: #EEEEFF;
! 120: color: black;
! 121: margin: 0 0 1em 0.15em;
! 122: padding: 0 1em 0.25em 0.75em;
! 123: border-left: solid #9999FF 0.25em;
! 124: position: relative;
! 125: z-index: 1;
! 126: }
! 127: .element:before {
! 128: position: absolute;
! 129: z-index: 2;
! 130: top: 0;
! 131: left: -1.15em;
! 132: height: 2em;
! 133: width: 0.9em;
! 134: background: #EEEEFF;
! 135: content: ' ';
! 136: border-style: none none solid solid;
! 137: border-color: #9999FF;
! 138: border-width: 0.25em;
! 139: }
! 140:
! 141: .example { display: block; color: #222222; background: #FCFCFC; border-left: double; margin-left: 2em; padding-left: 1em; }
! 142: td > .example:only-child { margin: 0 0 0 0.1em; }
! 143:
! 144: .tall-and-narrow {
! 145: font-size: 0.6em;
! 146: column-width: 25em;
! 147: column-gap: 1em;
! 148: -moz-column-width: 25em;
! 149: -moz-column-gap: 1em;
! 150: -webkit-column-width: 25em;
! 151: -webkit-column-gap: 1em;
! 152: }
! 153:
! 154: ul.domTree, ul.domTree ul { padding: 0 0 0 1em; margin: 0; }
! 155: ul.domTree li { padding: 0; margin: 0; list-style: none; position: relative; }
! 156: ul.domTree li li { list-style: none; }
! 157: ul.domTree li:first-child::before { position: absolute; top: 0; height: 0.6em; left: -0.75em; width: 0.5em; border-style: none none solid solid; content: ''; border-width: 0.1em; }
! 158: ul.domTree li:not(:last-child)::after { position: absolute; top: 0; bottom: -0.6em; left: -0.75em; width: 0.5em; border-style: none none solid solid; content: ''; border-width: 0.1em; }
! 159: ul.domTree span { font-style: italic; font-family: serif; }
! 160: ul.domTree .t1 code { color: purple; font-weight: bold; }
! 161: ul.domTree .t2 { font-style: normal; font-family: monospace; }
! 162: ul.domTree .t2 .name { color: black; font-weight: bold; }
! 163: ul.domTree .t2 .value { color: blue; font-weight: normal; }
! 164: ul.domTree .t3 code, .domTree .t4 code, .domTree .t5 code { color: gray; }
! 165: ul.domTree .t7 code, .domTree .t8 code { color: green; }
! 166: ul.domTree .t10 code { color: teal; }
! 167:
! 168: </style><style type="text/css">
! 169:
! 170: .applies thead th > * { display: block; }
! 171: .applies thead code { display: block; }
! 172: .applies tbody th { whitespace: nowrap; }
! 173: .applies td { text-align: center; }
! 174: .applies .yes { background: yellow; }
! 175:
! 176: .matrix, .matrix td { border: none; text-align: right; }
! 177: .matrix { margin-left: 2em; }
! 178:
! 179: .dice-example { border-collapse: collapse; border-style: hidden solid solid hidden; border-width: thin; margin-left: 3em; }
! 180: .dice-example caption { width: 30em; font-size: smaller; font-style: italic; padding: 0.75em 0; text-align: left; }
! 181: .dice-example td, .dice-example th { border: solid thin; width: 1.35em; height: 1.05em; text-align: center; padding: 0; }
! 182:
! 183: #table-example-1 { border: solid thin; border-collapse: collapse; margin-left: 3em; }
! 184: #table-example-1 * { font-family: "Essays1743", serif; line-height: 1.01em; }
! 185: #table-example-1 caption { padding-bottom: 0.5em; }
! 186: #table-example-1 thead, #table-example-1 tbody { border: none; }
! 187: #table-example-1 th, #table-example-1 td { border: solid thin; }
! 188: #table-example-1 th { font-weight: normal; }
! 189: #table-example-1 td { border-style: none solid; vertical-align: top; }
! 190: #table-example-1 th { padding: 0.5em; vertical-align: middle; text-align: center; }
! 191: #table-example-1 tbody tr:first-child td { padding-top: 0.5em; }
! 192: #table-example-1 tbody tr:last-child td { padding-bottom: 1.5em; }
! 193: #table-example-1 tbody td:first-child { padding-left: 2.5em; padding-right: 0; width: 9em; }
! 194: #table-example-1 tbody td:first-child::after { content: leader(". "); }
! 195: #table-example-1 tbody td { padding-left: 2em; padding-right: 2em; }
! 196: #table-example-1 tbody td:first-child + td { width: 10em; }
! 197: #table-example-1 tbody td:first-child + td ~ td { width: 2.5em; }
! 198: #table-example-1 tbody td:first-child + td + td + td ~ td { width: 1.25em; }
! 199:
! 200: .apple-table-examples { border: none; border-collapse: separate; border-spacing: 1.5em 0em; width: 40em; margin-left: 3em; }
! 201: .apple-table-examples * { font-family: "Times", serif; }
! 202: .apple-table-examples td, .apple-table-examples th { border: none; white-space: nowrap; padding-top: 0; padding-bottom: 0; }
! 203: .apple-table-examples tbody th:first-child { border-left: none; width: 100%; }
! 204: .apple-table-examples thead th:first-child ~ th { font-size: smaller; font-weight: bolder; border-bottom: solid 2px; text-align: center; }
! 205: .apple-table-examples tbody th::after, .apple-table-examples tfoot th::after { content: leader(". ") }
! 206: .apple-table-examples tbody th, .apple-table-examples tfoot th { font: inherit; text-align: left; }
! 207: .apple-table-examples td { text-align: right; vertical-align: top; }
! 208: .apple-table-examples.e1 tbody tr:last-child td { border-bottom: solid 1px; }
! 209: .apple-table-examples.e1 tbody + tbody tr:last-child td { border-bottom: double 3px; }
! 210: .apple-table-examples.e2 th[scope=row] { padding-left: 1em; }
! 211: .apple-table-examples sup { line-height: 0; }
! 212:
! 213: </style><link href="data:text/css," rel="stylesheet" title="Complete specification"><link href="data:text/css,.impl%20%7B%20display:%20none;%20%7D" rel="alternate stylesheet" title="Author documentation only"><link href="data:text/css,.impl%20%7B%20background:%20%23FFEEEE;%20%7D" rel="alternate stylesheet" title="Highlight implementation requirements"><link href="http://www.w3.org/StyleSheets/TR/W3C-ED" rel="stylesheet" type="text/css"><!-- ZZZ ED vs WD -->
! 214: <script src="link-fixup.js"></script>
! 215: <link href="obsolete.html" title="12 Obsolete features" rel="prev">
! 216: <link href="spec.html#contents" title="Table of contents" rel="index">
! 217: <link href="iana-considerations.html" title="IANA considerations" rel="next">
! 218: </head><body onload="fixBrokenLink(); fixBrokenLink()"><div class="head">
! 219: <p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p>
! 220: <h1>HTML5</h1>
! 221: <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2>
! 222: </div><nav>
! 223: <a href="obsolete.html">← 12 Obsolete features</a> –
! 224: <a href="spec.html#contents">Table of contents</a> –
! 225: <a href="iana-considerations.html">IANA considerations →</a>
! 226: </nav><p>This is revision 1.3142.</p>
! 227:
! 228:
! 229: <h2 id="no"><span class="secno">13 </span>Things that you can't do with this specification because
! 230: they are better handled using other technologies that are further
! 231: described herein</h2><p><i>This section is non-normative.</i></p><p>There are certain features that are not handled by this
! 232: specification because a client side markup language is not the right
! 233: level for them, or because the features exist in other languages
! 234: that can be integrated into this one. This section covers some of
! 235: the more common requests.</p><!-- There are also certain features that are not handled by this
! 236: specification or any other, but that SHOULD be handled by another
! 237: specification:
! 238:
! 239: * find object at (x,y)
! 240: http://msdn.microsoft.com/workshop/author/dhtml/reference/methods/elementfrompoint.asp
! 241: * find mouse position
! 242: * screen object: top left width height pixelDepth colorDepth
! 243: availWidth availHeight availLeft availTop
! 244: * methods/properties for managing scrolling, especially in <textarea>,
! 245: such as .scrollTop and .scrollHeight in Mozilla
! 246: * support access Array element via () instead of [] (IEism)
! 247: http://bugzilla.mozilla.org/show_bug.cgi?id=289876
! 248: * Need to say that NodeList's items are enumerable, so that
! 249: for (var x in myNodeList) { }
! 250: ...works. (ack Dethe Elza)
! 251: * a way to show icons for file types
! 252: e.g. http://www.gadgetopia.com/2004/05/04/FileIconTag.html
! 253: (this should probably be a function for the 'content',
! 254: 'background-image' and 'list-style-image' properties in CSS)
! 255: * custom syntax highlighting in <textarea>, <pre> (ack Ryan Johnson)
! 256: (this would probably best be done as some sort of output filter
! 257: at the CSS level, rather than anything HTML-specific. It would
! 258: have to support both <textarea>, where the data isn't in the
! 259: DOM proper, and <pre>, where it is.)
! 260:
! 261: XXX should ensure these are filed with the relevant people and groups
! 262: --><h3 id="localization"><span class="secno">13.1 </span>Localization</h3><p>If you wish to create localized versions of an HTML application,
! 263: the best solution is to preprocess the files on the server, and then
! 264: use HTTP content negotiation to serve the appropriate language.</p><!-- <p>XXX example here</p> --><h3 id="declarative-3d-scenes"><span class="secno">13.2 </span>Declarative 3D scenes</h3><p>Embedding 3D imagery into XHTML documents is the domain of X3D,
! 265: or technologies based on X3D that are namespace-aware.</p><!-- <p>XXX example here</p> --></body></html>
Webmaster