You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
3985 lines
272 KiB
3985 lines
272 KiB
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>HTML 5 Publication Notes</title>
|
|
<meta content="$Id: Overview.html,v 1.4 2008/06/11 00:58:09 mike Exp $" name="revision" />
|
|
<link href="style.css" type="text/css" rel="stylesheet" />
|
|
|
|
|
|
<link rel="stylesheet" href="http://www.w3.org/StyleSheets/TR/W3C-WG-NOTE" type="text/css" />
|
|
</head>
|
|
<body><div class="head"><div><a href="http://www.w3.org/"><img src="http://www.w3.org/Icons/w3c_home" width="72" height="48" alt="W3C" /></a></div><h1>HTML 5 Publication Notes</h1><h2>
|
|
W3C
|
|
Working Group Note <em>10 June 2008</em></h2><dl><dt>This Version:</dt><dd><a href="http://www.w3.org/TR/2008/NOTE-html5-pubnotes-20080610/">http://www.w3.org/TR/2008/NOTE-html5-pubnotes-20080610/</a></dd><dt>Latest Version:</dt><dd><a href="http://www.w3.org/TR/html5-pubnotes/">http://www.w3.org/TR/html5-pubnotes/</a></dd><dt>Editor:</dt><dd><a href="http://people.w3.org/mike">Michael(tm) Smith</a>, W3C <<a href="mailto:mike@w3.org">mike@w3.org</a>></dd></dl><p class="copyright"><a href="http://www.w3.org/Consortium/Legal/ipr-notice#Copyright">Copyright</a> © 2008 <a href="http://www.w3.org/"><acronym title="World Wide Web Consortium">W3C</acronym></a><sup>®</sup> (<a href="http://www.csail.mit.edu/"><acronym title="Massachusetts Institute of Technology">MIT</acronym></a>, <a href="http://www.ercim.org/"><acronym title="European Research Consortium for Informatics and Mathematics">ERCIM</acronym></a>, <a href="http://www.keio.ac.jp/">Keio</a>), All Rights Reserved. W3C <a href="http://www.w3.org/Consortium/Legal/ipr-notice#Legal_Disclaimer">liability</a>, <a href="http://www.w3.org/Consortium/Legal/ipr-notice#W3C_Trademarks">trademark</a> and <a href="http://www.w3.org/Consortium/Legal/copyright-documents">document use</a> rules apply.</p></div><hr />
|
|
|
|
|
|
<div style="text-align: center" id="tocjump"><a href="#toc">skip to Table of Contents</a></div>
|
|
<div id="abstract">
|
|
<h2>Abstract</h2>
|
|
<p>This document provides supplemental information on the
|
|
10 June 2008 working draft of the <a href="http://www.w3.org/TR/2008/WD-html5-20080610/">HTML 5
|
|
specification</a> <a href="#html5">[HTML5]</a>. It
|
|
primarily documents changes that
|
|
have been made to the HTML 5 draft specification since the
|
|
time of its 22 January 2008 publication as a First Public
|
|
Working Draft <a href="#html5fpwd">[HTML5FPWD]</a>.</p>
|
|
</div>
|
|
<div id="status">
|
|
<h2>Status of this Document</h2>
|
|
<p><em>
|
|
This section describes the status of this document at the time of
|
|
its publication. Other documents may supersede this document. A list
|
|
of current W3C publications and the latest revision of this technical
|
|
report can be found in the <a href="http://www.w3.org/TR/">W3C technical
|
|
reports index</a> at http://www.w3.org/TR/.
|
|
</em></p><p>
|
|
Please send comments about this document to
|
|
<a href="mailto:public-html-comments@w3.org">public-html-comments@w3.org</a>
|
|
(<a href="http://lists.w3.org/Archives/Public/public-html-comments">archived</a>).
|
|
</p><p>
|
|
This document was produced by the <a href="http://www.w3.org/html/wg">HTML Working Group</a>,
|
|
part of the <a href="http://www.w3.org/MarkUp/Activity.html">HTML Activity</a>
|
|
in the W3C <a href="http://www.w3.org/Interaction/">Interaction Domain</a>.
|
|
You can find the source for the current version of this document in the
|
|
<a href="http://dev.w3.org/html5/pubnotes/Overview.src.html">W3C source repository</a>.
|
|
</p><p>
|
|
Publication as a Working Group Note does not imply endorsement by the
|
|
W3C Membership. This is a draft document and may be updated, replaced
|
|
or obsoleted by other documents at any time. It is inappropriate to cite
|
|
this document as other than work in progress.
|
|
</p><p>
|
|
This document was produced by a group operating under the
|
|
<a href="http://www.w3.org/Consortium/Patent-Policy-20040205/">5 February
|
|
2004 W3C Patent Policy</a>. W3C maintains a
|
|
<a href="http://www.w3.org/2004/01/pp-impl/40318/status">public list of
|
|
any patent disclosures</a> made in connection with the deliverables of
|
|
the group; that page also includes instructions for disclosing a patent.
|
|
An individual who has actual knowledge of a patent which the individual
|
|
believes contains
|
|
<a href="http://www.w3.org/Consortium/Patent-Policy-20040205/#def-essential">Essential
|
|
Claim(s)</a> must disclose the information in accordance with
|
|
<a href="http://www.w3.org/Consortium/Patent-Policy-20040205/#sec-Disclosure">section
|
|
6 of the W3C Patent Policy</a>.
|
|
</p></div>
|
|
<div id="toc">
|
|
<h2>Table of Contents</h2>
|
|
<ul><li id="summary-toc"><a href="#summary">Summary: High-level list of selected changes</a></li><li id="fpwd-toc"><a href="#fpwd">Changes since the First Public Working Draft</a><ul><li id="introduction-toc"><a href="#introduction">Section 1, Introduction</a><ul><li id="structure-toc"><a href="#structure">Section 1.2, Structure of this specification</a></li><li id="conformance-toc"><a href="#conformance">Section 1.3, Conformance requirements</a></li><li id="terminology-toc"><a href="#terminology">Section 1.4, Terminology</a></li></ul></li><li id="dom-toc"><a href="#dom">Section 2, The Document Object Model</a><ul><li id="documents-toc"><a href="#documents">Section 2.1, Documents</a></li><li id="elements-toc"><a href="#elements">Section 2.2, Elements</a></li><li id="common0-toc"><a href="#common0">Section 2.3, Common DOM interfaces</a></li><li id="dom-tree-toc"><a href="#dom-tree">Section 2.4, DOM tree accessors</a></li><li id="dynamic-toc"><a href="#dynamic">Section 2.5, Dynamic markup insertion</a></li><li id="apis-in-toc"><a href="#apis-in">Section 2.6, APIs in HTML documents</a></li></ul></li><li id="semantics-toc"><a href="#semantics">Section 3, Semantics and structure of HTML elements</a><ul><li id="common1-toc"><a href="#common1">Section 3.2, Common microsyntaxes</a></li><li id="documents0-toc"><a href="#documents0">Section 3.3, Documents and document fragments</a></li><li id="global-toc"><a href="#global">Section 3.4, Global attributes</a></li><li id="interaction-toc"><a href="#interaction">Section 3.5, Interaction</a></li><li id="the-root-toc"><a href="#the-root">Section 3.6, The root element</a></li><li id="document-toc"><a href="#document">Section 3.7, Document metadata</a><ul><li id="the-base-toc"><a href="#the-base">Section 3.7.3, The base element</a></li><li id="the-link-toc"><a href="#the-link">Section 3.7.4, The link element</a></li><li id="meta-toc"><a href="#meta">Section 3.7.5, The meta element</a></li><li id="the-style0-toc"><a href="#the-style0">Section 3.7.6, The style element</a></li></ul></li><li id="sections-toc"><a href="#sections">Section 3.8, Sections</a><ul><li id="the-body-toc"><a href="#the-body">Section 3.8.1, The body element</a></li><li id="the-nav-toc"><a href="#the-nav">Section 3.8.3, The nav element</a></li><li id="blockquoteold-toc"><a href="#blockquoteold">Section 3.8.5 [now 3.9.6], The blockquote element</a></li><li id="the-aside-toc"><a href="#the-aside">Section 3.8.6 [now 3.8.5], The aside element</a></li><li id="the-header-toc"><a href="#the-header">Section 3.8.8 [now 3.8.7], The header element</a></li><li id="the-footer-toc"><a href="#the-footer">Section 3.8.9 [now 3.8.8], The footer element</a></li><li id="the-address-toc"><a href="#the-address">Section 3.8.10 [now 3.8.9], The address element</a></li><li id="headings-toc"><a href="#headings">Section 3.8.11 [now 3.8.10], Headings and sections</a></li></ul></li><li id="grouping-toc"><a href="#grouping">Section 3.9, Grouping content</a><ul><li id="the-pre-toc"><a href="#the-pre">Section 3.9.4 [was 3.10.1], The pre element</a></li><li id="the-blockquote-toc"><a href="#the-blockquote">Section 3.9.6 [was 3.8.5], The blockquote element</a></li><li id="the-ol-toc"><a href="#the-ol">Section 3.9.7 [was 3.11.1], The ol element</a></li><li id="the-ul-toc"><a href="#the-ul">Section 3.9.8 [was 3.11.2], The ul element</a></li><li id="the-li-toc"><a href="#the-li">Section 3.9.9 [was 3.11.3], The li element</a></li><li id="the-dl-toc"><a href="#the-dl">Section 3.9.10 [was 3.11.4], The dl element</a></li><li id="the-dt-toc"><a href="#the-dt">Section 3.9.11 [was 3.11.5], The dt element</a></li></ul></li><li id="text-level-toc"><a href="#text-level">Section 3.10 [was 3.12], Text-level semantics</a><ul><li id="the-a-toc"><a href="#the-a">Section 3.10.1, The a element</a></li><li id="the-q-toc"><a href="#the-q">Section 3.10.2, The q element</a></li><li id="the-cite-toc"><a href="#the-cite">Section 3.10.3, The cite element</a></li><li id="the-mark-toc"><a href="#the-mark">Section 3.10.7, The mark element [was: the m element]</a></li><li id="the-dfn-toc"><a href="#the-dfn">Section 3.10.8, The dfn element</a></li><li id="the-abbr-toc"><a href="#the-abbr">Section 3.10.9, The abbr element</a></li><li id="the-progress-toc"><a href="#the-progress">Section 3.10.11, The progress element</a></li><li id="the-meter-toc"><a href="#the-meter">Section 3.10.12, The meter element</a></li><li id="the-code-toc"><a href="#the-code">Section 3.10.13, The code element</a></li><li id="the-var-toc"><a href="#the-var">Section 3.10.14, The var element</a></li><li id="the-samp-toc"><a href="#the-samp">Section 3.10.15, The samp element</a></li><li id="the-sub-toc"><a href="#the-sub">Section 3.10.17, The sub and sup elements</a></li><li id="the-span-toc"><a href="#the-span">Section 3.10.18, The span element</a></li><li id="the-i-toc"><a href="#the-i">Section 3.10.19, The i element</a></li><li id="the-ruby-toc"><a href="#the-ruby">Section 3.10.22 [new], The ruby element</a></li><li id="the-rt-toc"><a href="#the-rt">Section 3.10.23 [new], The rt element</a></li><li id="the-rp-toc"><a href="#the-rp">Section 3.10.24 [new], The rp element</a></li><li id="usage-toc"><a href="#usage">Section 3.10.25 [new], Usage summary</a></li><li id="footnotes-toc"><a href="#footnotes">Section 3.10.26 [new], Footnotes</a></li></ul></li><li id="edits-toc"><a href="#edits">Section 3.11 [was 3.13], Edits</a><ul><li id="edits0-toc"><a href="#edits0">Section 3.11.4 [new], Edits and paragraphs</a></li><li id="edits1-toc"><a href="#edits1">Section 3.11.5 [new], Edits and lists</a></li></ul></li><li id="embedded0-toc"><a href="#embedded0">Section 3.12 [was 3.14], Embedded content</a><ul><li id="the-figure-toc"><a href="#the-figure">Section 3.12.1, The figure element</a></li><li id="the-img-toc"><a href="#the-img">Section 3.12.2, The img element</a></li><li id="the-iframe-toc"><a href="#the-iframe">Section 3.12.3, The iframe element</a></li><li id="the-embed-toc"><a href="#the-embed">Section 3.12.4, The embed element</a></li><li id="the-object-toc"><a href="#the-object">Section 3.12.5, The object element</a></li><li id="the-param-toc"><a href="#the-param">Section 3.12.6, The param element</a></li><li id="the-video-toc"><a href="#the-video">Section 3.12.7, The video element</a></li><li id="the-source-toc"><a href="#the-source">Section 3.12.9, The source element</a></li><li id="media-toc"><a href="#media">Section 3.12.10, Media elements</a></li><li id="the-canvas-toc"><a href="#the-canvas">Section 3.12.11, The canvas element</a><ul><li id="the-2d-toc"><a href="#the-2d">Section 3.12.11.1, The 2D context</a></li></ul></li><li id="the-map-toc"><a href="#the-map">Section 3.12.12, The map element</a></li><li id="the-area-toc"><a href="#the-area">Section 3.12.13, The area element</a></li><li id="image-maps-toc"><a href="#image-maps">Section 3.12.14, Image maps</a></li><li id="mathml-toc"><a href="#mathml">Section 3.12.15 [new], MathML</a></li><li id="svg-toc"><a href="#svg">Section 3.12.16 [new], SVG</a></li></ul></li><li id="tabular-toc"><a href="#tabular">Section 3.13 [was 3.15], Tabular data</a><ul><li id="the-table-toc"><a href="#the-table">Section 3.13.2, The table element</a></li><li id="the-colgroup-toc"><a href="#the-colgroup">Section 3.13.4, The colgroup element</a></li><li id="the-col-toc"><a href="#the-col">Section 3.13.5, The col element</a></li><li id="the-tbody-toc"><a href="#the-tbody">Section 3.13.6, The tbody element</a></li><li id="the-thead-toc"><a href="#the-thead">Section 3.13.7, The thead element</a></li><li id="the-tfoot-toc"><a href="#the-tfoot">Section 3.13.8, The tfoot element</a></li><li id="the-tr-toc"><a href="#the-tr">Section 3.13.9, The tr element</a></li><li id="the-td-toc"><a href="#the-td">Section 3.13.10, The td element</a></li><li id="the-th-toc"><a href="#the-th">Section 3.13.11, The th element</a></li><li id="attributes0-toc"><a href="#attributes0">Section 3.13.12 [new], Attributes common to td and th
|
|
elements</a></li><li id="processing-toc"><a href="#processing">Section 3.13.13, Processing model</a></li></ul></li><li id="forms-toc"><a href="#forms">Section 3.14 [was 3.16], Forms</a></li><li id="scripting0-toc"><a href="#scripting0">Section 3.15 [was 3.17], Scripting</a><ul><li id="script-toc"><a href="#script">Section 3.15.1, The script element</a></li><li id="the-noscript-toc"><a href="#the-noscript">Section 3.15.2, The noscript element</a></li><li id="the-event-source-toc"><a href="#the-event-source">Section 3.15.3, The event-source element</a></li></ul></li><li id="interactive-elements-toc"><a href="#interactive-elements">Section 3.16 [was 3.18], Interactive elements</a><ul><li id="datagrid-toc"><a href="#datagrid">Section 3.16.2, The datagrid element</a></li><li id="menus-toc"><a href="#menus">Section 3.16.4, The menu element</a></li><li id="commands-toc"><a href="#commands">Section 3.16.5, Commands</a></li></ul></li><li id="datatemplate-toc"><a href="#datatemplate">Section 3.17 [was 3.19], Data Templates</a></li><li id="miscellaneous-toc"><a href="#miscellaneous">Section 3.18 [was 3.20], Miscellaneous elements</a></li></ul></li><li id="web-browsers-toc"><a href="#web-browsers">Section 4, Web browsers</a><ul><li id="windows-toc"><a href="#windows">Section 4.1, Browsing context</a></li><li id="the-default0-toc"><a href="#the-default0">Section 4.2, The default view</a></li><li id="origin-toc"><a href="#origin">Section 4.3 [was 4.3.2], Origin</a></li><li id="scripting-toc"><a href="#scripting">Section 4.3 [now 4.4], Scripting</a></li><li id="user-prompts-toc"><a href="#user-prompts">Section 4.4 [now 4.5], User prompts</a></li><li id="browser-toc"><a href="#browser">Section 4.5 [now 4.6], Browser state</a></li><li id="offline-toc"><a href="#offline">Section 4.6 [now 4.7], Offline Web applications</a></li><li id="history-toc"><a href="#history">Section 4.7 [now 4.8], Session history and navigation</a></li><li id="browsing0-toc"><a href="#browsing0">Section 4.9 [new], Browsing the Web</a></li><li id="content-type-sniffing-toc"><a href="#content-type-sniffing">Section 4.9 [now 4.10], Determining the type of a
|
|
new resource in a browsing context</a></li><li id="structured-toc"><a href="#structured">Section 4.11 [new], Structured client-side storage</a></li><li id="links-toc"><a href="#links">Section 4.12, Links</a></li><li id="interfaces-toc"><a href="#interfaces">Section 4.13, Interfaces for URI manipulation</a></li></ul></li><li id="editing-toc"><a href="#editing">Section 5, Editing</a><ul><li id="contenteditable-toc"><a href="#contenteditable">Section 5.2, The contenteditable attribute</a></li><li id="dnd-toc"><a href="#dnd">Section 5.3, Drag and drop</a></li><li id="undo-toc"><a href="#undo">Section 5.4, Undo history</a></li><li id="command-toc"><a href="#command">Section 5.5 [now 5.6], Command APIs</a></li><li id="selection-toc"><a href="#selection">Section 5.6 [now 5.5], The text selection APIs</a></li></ul></li><li id="comms-toc"><a href="#comms">Section 6, Communication</a><ul><li id="event1-toc"><a href="#event1">Section 6.1, Event definitions</a></li><li id="server-sent-events-toc"><a href="#server-sent-events">Section 6.2, Server-sent DOM events</a></li><li id="network-toc"><a href="#network">Section 6.3, Network connections</a></li><li id="crossDocumentMessages-toc"><a href="#crossDocumentMessages">Section 6.4, Cross-document messaging</a></li></ul></li><li id="repetition-toc"><a href="#repetition">Section 7, Repetition templates</a></li><li id="syntax-toc"><a href="#syntax">Section 8, The HTML syntax</a><ul><li id="writing0-toc"><a href="#writing0">Section 8.1, Writing HTML documents</a></li><li id="parsing-toc"><a href="#parsing">Section 8.2, Parsing HTML documents</a></li><li id="namespaces-toc"><a href="#namespaces">Section 8.3, Namespaces</a></li><li id="serializing-toc"><a href="#serializing">Section 8.4, Serializing HTML fragments</a></li><li id="parsing2-toc"><a href="#parsing2">Section 8.5, Parsing HTML fragments</a></li><li id="named-toc"><a href="#named">Section 8.6, Entities [now "Named character references"]</a></li></ul></li><li id="wsiwyg-toc"><a href="#wsiwyg">Section 9 [now removed], WYSIWYG editors</a></li><li id="rendering-toc"><a href="#rendering">Section 10 [now section 9], Rendering and
|
|
user-agent behavior</a></li><li id="no-toc"><a href="#no">Section 11 [now section 10], Things that you
|
|
can't do with this specification…</a></li><li id="acknowledgements-toc"><a href="#acknowledgements">Acknowledgements</a></li></ul></li><li id="references-toc"><a href="#references">References</a></li></ul></div>
|
|
<div id="this_sections">
|
|
<div id="summary" class="section">
|
|
<h2>Summary: High-level list of selected changes <a class="hash" href="#summary">#</a> <a class="toc-bak" href="#summary-toc">T</a></h2>
|
|
|
|
<p>This section provides a high-level list of selected changes
|
|
made to the HTML 5 draft specification after 22 January
|
|
2008. For more detailed descriptions of the changes,
|
|
see the sections in this document that follow this one.
|
|
(Note: The source for this summary is maintained in the <a href="http://www.w3.org/TR/html5-diff/">HTML 5
|
|
differences from HTML 4</a> document <a href="#html4diffs">[HTML4DIFFS]</a>; the summary was
|
|
copied from that document into this one.)</p>
|
|
|
|
<ul>
|
|
<li>Implementation and authoring details around the <code>ping</code>
|
|
attribute have changed.
|
|
</li><li><code><meta http-equiv=content-type></code> is now a
|
|
conforming way to set the character encoding.</li>
|
|
<li>API for the <code>canvas</code> element has been cleaned up. Text
|
|
support has been added.
|
|
</li><li><code>globalStorage</code> is now restricted to the same-origin
|
|
policy and renamed to <code>localStorage</code>. Related event
|
|
dispatching has been clarified.
|
|
</li><li><code>postMessage()</code> API changed. Only the origin of the
|
|
message is exposed, no longer the URI. It also requires a second
|
|
argument that indicates the origin of the target document.
|
|
</li><li>Drag and drop API has got clarification. The
|
|
<code>dataTransfer</code> object now has a <code>types</code>
|
|
attribute indicating the type of data being transferred.
|
|
</li><li>The <code>m</code> element is now called <code>mark</code>.
|
|
</li><li>Server-sent events has changed and gotten clarification. It uses a
|
|
new format so that older implementations are not broken.
|
|
</li><li>The <code>figure</code> element no longer requires a caption.
|
|
</li><li>The <code>ol</code> element has a new <code>reversed</code>
|
|
attribute.
|
|
</li><li>Character encoding detection has changed in response to feedback.
|
|
</li><li>Various changes have been made to the HTML parser section in
|
|
response to implementation feedback.
|
|
</li><li>Various changes to the editing section have been made, including
|
|
adding <code>queryCommandEnabled()</code> and related methods.
|
|
</li><li>The <code>headers</code> attribute has been added for
|
|
<code>td</code> elements.
|
|
</li><li>The <code>table</code> element has a new <code>createTBody()</code>
|
|
method.
|
|
</li><li>MathML support has been added to the HTML parser section. (SVG
|
|
support is still awaiting input from the SVG WG.)
|
|
</li><li>Author defined attributes have been added. Authors can add
|
|
attributes to elements in the form of
|
|
<code>data-<var>name</var></code> and can access these through the DOM
|
|
using <code>dataset[<var>name</var>]</code> on the element in question.
|
|
</li><li>The <code>q</code> element has changed to require punctation inside
|
|
rather than having the browser render it.
|
|
</li><li>The <code>target</code> attribute can now have the value
|
|
<code>_blank</code>.
|
|
</li><li>The <code>showModalDialog</code> API has been added.
|
|
</li><li>The <code>document.domain</code> API has been defined.
|
|
</li><li>The <code>source</code> element now has a new
|
|
<code>pixelratio</code> attribute useful for videos that have some kind
|
|
encoding error.
|
|
</li><li><code>bufferedBytes</code>, <code>totalBytes</code> and
|
|
<code>bufferingThrottled</code> DOM attributes have been added to the
|
|
<code>video</code> element.
|
|
</li><li>Media <code>begin</code> event has been renamed to
|
|
<code>loadstart</code> for consistency with the Progress Events
|
|
specification.
|
|
</li><li><code>charset</code> attribute has been added to
|
|
<code>script</code>.
|
|
</li><li>The <code>iframe</code> element has gained the <code>sandbox</code>
|
|
and <code>seamless</code> attributes which provide sandboxing
|
|
functionality.
|
|
</li><li>The <code>ruby</code>, <code>rt</code> and <code>rp</code>
|
|
elements have been added to support ruby annotation.
|
|
</li><li>A <code>showNotification()</code> method has been added to show
|
|
notification messages to the user.
|
|
</li><li>Support for <code>beforeprint</code> and <code>afterprint</code>
|
|
events has been added.</li>
|
|
</ul>
|
|
</div>
|
|
<div id="fpwd" class="section">
|
|
<h2>Changes since the First Public Working Draft <a class="hash" href="#fpwd">#</a> <a class="toc-bak" href="#fpwd-toc">T</a></h2>
|
|
<p>This section provides a per-section record of changes
|
|
in the 10 June 2008 working draft of the <a href="http://www.w3.org/TR/2008/WD-html5-20080610/">HTML 5
|
|
specification</a> <a href="#html5">[HTML5]</a>
|
|
that were made after the <a href="http://www.w3.org/TR/2008/WD-html5-20080122/">22
|
|
January 2008 First Public Working Draft (FPWD)</a> <a href="#html5fpwd">[HTML5FPWD]</a>. Note that it
|
|
documents substantive changes only, and omits editorial
|
|
changes. It is intended to be readable as a “standalone”
|
|
document — meaning that readers are meant to be able to
|
|
use it to get an overview of the changes that have been
|
|
made, without necessarily needing to read the
|
|
specification itself or to read through the entire diff
|
|
document that shows all the changes.</p>
|
|
<div id="introduction" class="section">
|
|
<h2>Section 1, Introduction <a class="hash" href="#introduction">#</a> <a class="toc-bak" href="#introduction-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/introduction.html#introduction">Section 1, Introduction</a>” in the
|
|
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/introduction.html#introduction">Section 1, Introduction</a>” in a
|
|
diff-marked version of the specification, showing
|
|
changes made between 22 January 2008 and 10 June
|
|
2008.</p></div>
|
|
<p>The “Introduction” section of the specification
|
|
provides both non-normative (informative) background and
|
|
context information on the specification, as well as
|
|
normative information.</p>
|
|
<div id="structure" class="section">
|
|
<h2>Section 1.2, Structure of this specification <a class="hash" href="#structure">#</a> <a class="toc-bak" href="#structure-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/introduction.html#structure">Section 1.2, Structure of this specification</a>” in the
|
|
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/introduction.html#structure">Section 1.2, Structure of this specification</a>” in a
|
|
diff-marked version of the specification, showing
|
|
changes made between 22 January 2008 and 10 June
|
|
2008.</p></div>
|
|
<p>This non-normative
|
|
section provides information about the major divisions
|
|
of information in the specification. In this section,
|
|
the following changes were made:</p>
|
|
<ul>
|
|
<li>A note that the specification included an
|
|
appendix regarding “shims for WYSIWYG editors” was
|
|
<strong>removed</strong> (because that appendix was
|
|
removed from the document).</li>
|
|
</ul>
|
|
</div>
|
|
<div id="conformance" class="section">
|
|
<h2>Section 1.3, Conformance requirements <a class="hash" href="#conformance">#</a> <a class="toc-bak" href="#conformance-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/introduction.html#conformance">Section 1.3, Conformance requirements</a>” in the
|
|
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/introduction.html#conformance">Section 1.3, Conformance requirements</a>” in a
|
|
diff-marked version of the specification, showing
|
|
changes made between 22 January 2008 and 10 June
|
|
2008.</p></div>
|
|
<p>This section
|
|
provides information about conformance requirements
|
|
for Web browsers and user agents, conformance
|
|
checkers, data mining tools, authoring tools, and
|
|
markup generators. In this section, the following
|
|
changes were made:</p>
|
|
<ul>
|
|
<li>In the introduction for this section, the words
|
|
“SHALL” and “SHALL NOT” were <strong>removed</strong>
|
|
from the list of words that “are to be interpreted as
|
|
described in
|
|
RFC2119”.</li>
|
|
<li>In the “Conformance checkers” subsection, the text
|
|
of a statement was updated to now read (added text
|
|
highlighted):
|
|
<blockquote>
|
|
<p><q><em class="highlight">Automated</em>
|
|
conformance checkers are exempt from detecting
|
|
errors that require interpretation of the author’s
|
|
intent (for example, while a document is
|
|
non-conforming if the content of a blockquote
|
|
element is not a quote, conformance checkers
|
|
<em class="highlight">running without the input of
|
|
human judgement</em> do not have to check that
|
|
blockquote elements only contain quoted
|
|
material).</q></p>
|
|
</blockquote>
|
|
Also, the text of a related statement was updated to
|
|
reference the concept of the <strong>browsing
|
|
context</strong>; the text of that statement now
|
|
reads:
|
|
<blockquote>
|
|
<p><q>Conformance checkers must check that
|
|
the input document conforms when parsed without a
|
|
browsing context (meaning that no scripts are run,
|
|
and that the parser’s scripting flag is disabled),
|
|
and should also check that the input document
|
|
conforms when parsed with a browsing context in
|
|
which scripts execute, and that the scripts never
|
|
cause non-conforming states to occur other than
|
|
transiently during script execution
|
|
itself.</q></p>
|
|
</blockquote></li>
|
|
<li>In the “Common conformance requirements for APIs
|
|
exposed to JavaScript” subsection, for consistency
|
|
with the Web IDL specification <a href="#webidl">[WebIDL]</a>, statements related
|
|
to cases for throwing NOT_SUPPORTED_ERR and
|
|
TYPE_MISMATCH_ERR exceptions were removed.</li>
|
|
<li>In a note that concerns XML processors, the
|
|
following statement was <strong>removed</strong>
|
|
completely: <q>For interoperability, authors are
|
|
advised to avoid optional features of XML.</q></li>
|
|
<li>In the “Dependencies” subsection, a note was
|
|
emended to now read (added text highlighted), <q>It is
|
|
possible for xml:base attributes to be present even
|
|
in HTML fragments, as such attributes can be added
|
|
dynamically using script. <em class="highlight">(Such
|
|
scripts would not be conforming, however, as
|
|
xml:base attributes as not allowed in HTML
|
|
documents.)</em></q></li>
|
|
</ul>
|
|
</div>
|
|
<div id="terminology" class="section">
|
|
<h2>Section 1.4, Terminology <a class="hash" href="#terminology">#</a> <a class="toc-bak" href="#terminology-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/introduction.html#terminology">Section 1.4, Terminology</a>” in the
|
|
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/introduction.html#terminology">Section 1.4, Terminology</a>” in a
|
|
diff-marked version of the specification, showing
|
|
changes made between 22 January 2008 and 10 June
|
|
2008.</p></div>
|
|
<p>This section
|
|
provides information about specific technical terms used
|
|
in the specification. In this section, the following
|
|
changes were made:</p>
|
|
<ul>
|
|
<li>A paragraph regarding usage of IDL in the
|
|
specification was shortened and refined to read:
|
|
<q>DOM interfaces defined in this specification use
|
|
Web IDL. User agents must implement these interfaces
|
|
as defined by the Web IDL specification.</q></li>
|
|
<li>The following text related to the term “plugin”
|
|
was added (with parts of it being moved here from the
|
|
section for the
|
|
<code class="element">embed</code>
|
|
element):
|
|
<blockquote>
|
|
<p><q>The term plugin is used to mean any content
|
|
handler, typically a third-party content handler,
|
|
for Web content types that are not supported by
|
|
the user agent natively, or for content types that
|
|
do not expose a DOM, that supports rendering the
|
|
content as part of the user agent’s
|
|
interface.</q></p>
|
|
|
|
<p><q>One example of a plugin would be a PDF viewer that
|
|
is instantiated in a browsing context when the
|
|
user navigates to a PDF file. This would count as
|
|
a plugin regardless of whether the party that
|
|
implemented the PDF viewer component was the same
|
|
as that which implemented the user agent itself.
|
|
However, a PDF viewer application that launches
|
|
separate from the user agent (as opposed to using
|
|
the same interface) is not a plugin by this
|
|
definition.</q></p>
|
|
|
|
<p><q>Note: This specification does not define a
|
|
mechanism for interacting with plugins, as it is
|
|
expected to be user-agent- and platform-specific.
|
|
Some UAs might opt to support a plugin mechanism
|
|
such as the Netscape Plugin API; others might use
|
|
remote content converters or have built-in support
|
|
for certain types.</q></p>
|
|
|
|
<p><q>Warning! Browsers should take extreme care when
|
|
interacting with external content intended for
|
|
plugins. When third-party software is run with the
|
|
same privileges as the user agent itself,
|
|
vulnerabilities in the third-party software become
|
|
as dangerous as those in the user agent.</q></p>
|
|
</blockquote>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
<div id="dom" class="section">
|
|
<h2>Section 2, The Document Object Model <a class="hash" href="#dom">#</a> <a class="toc-bak" href="#dom-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/dom.html#dom">Section 2, The Document Object Model</a>” in the
|
|
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/dom.html#dom">Section 2, The Document Object Model</a>” in a
|
|
diff-marked version of the specification, showing
|
|
changes made between 22 January 2008 and 10 June
|
|
2008.</p></div>
|
|
<p>Conformance criteria of HTML implementations are defined
|
|
in the specification in terms of operations on the Document
|
|
Object Model (DOM). This section of the specification
|
|
defines the language represented in the DOM, and forms a
|
|
basis for the other parts of the specification.</p>
|
|
<div id="documents" class="section">
|
|
<h2>Section 2.1, Documents <a class="hash" href="#documents">#</a> <a class="toc-bak" href="#documents-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/dom.html#documents">Section 2.1, Documents</a>” in the
|
|
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/dom.html#documents">Section 2.1, Documents</a>” in a
|
|
diff-marked version of the specification, showing
|
|
changes made between 22 January 2008 and 10 June
|
|
2008.</p></div>
|
|
<p>This section defines the
|
|
Document object. In this section, the following changes
|
|
were made:</p>
|
|
<ul>
|
|
<li>The following attributes were added to the
|
|
definition of the <code>HTMLDocument</code> interface:
|
|
<ul>
|
|
<li><code class="domattribute">charset</code></li>
|
|
<li><code class="domattribute">characterSet</code></li>
|
|
<li><code class="domattribute">defaultCharset</code></li>
|
|
<li><code class="domattribute">embeds</code></li>
|
|
<li><code class="domattribute">plugins</code></li>
|
|
<li><code class="domattribute">readyState</code></li>
|
|
<li><code class="domattribute">scripts</code></li>
|
|
<li><code class="domattribute">queryCommandEnabled</code></li>
|
|
<li><code class="domattribute">queryCommandIndeterm</code></li>
|
|
<li><code class="domattribute">queryCommandState</code></li>
|
|
<li><code class="domattribute">queryCommandSupported</code></li>
|
|
<li><code class="domattribute">queryCommandValue</code></li>
|
|
</ul>
|
|
The interface was also updated for consistency with
|
|
the Web IDL specification <a href="#webidl">[WebIDL]</a>, and to correctly document
|
|
the <code class="method">hasFocus()</code> method as a
|
|
method (previously, the interface definition had
|
|
incorrectly indicated that it was an
|
|
attribute).</li>
|
|
<li>In the “Resource metadata management” subsection,
|
|
content that related to the <code class="domattribute">domain</code> DOM attribute
|
|
(which is “used to enable pages on different hosts of
|
|
a domain to access each others’ DOMs”) was moved out
|
|
to form the basis for the algorithm in the “Relaxing
|
|
the same-origin restriction” in the “Origin” section.</li>
|
|
<li>Also in the “Resource metadata management”
|
|
subsection, conformance criteria for data returned by
|
|
the <code class="domattribute">referrer</code> DOM
|
|
attribute and other parts of the section was refined —
|
|
in particular, to reference
|
|
the concepts of the <strong>active document</strong>
|
|
and <strong>source browsing context</strong> —
|
|
and the following note was
|
|
added: <q>Typically user agents are configured to not
|
|
report referrers in the case where the referrer uses
|
|
an encrypted protocol and the current page does not
|
|
(e.g. when navigating from an https: page to an
|
|
http: page).</q> In the latter part of that same
|
|
subsection, additional language was added that relates to:
|
|
<ul>
|
|
<li>quirks mode</li>
|
|
<li>document character encoding and the
|
|
<code class="domattribute">charset</code>, <code class="domattribute">characterSet</code>, and <code class="domattribute">defaultCharset</code> DOM
|
|
attributes</li>
|
|
<li>document readiness, the
|
|
<code class="event">readystatechanged</code> event, and the
|
|
<code class="domattribute">readyState</code> DOM attribute</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
<div id="elements" class="section">
|
|
<h2>Section 2.2, Elements <a class="hash" href="#elements">#</a> <a class="toc-bak" href="#elements-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/dom.html#elements">Section 2.2, Elements</a>” in the
|
|
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/dom.html#elements">Section 2.2, Elements</a>” in a
|
|
diff-marked version of the specification, showing
|
|
changes made between 22 January 2008 and 10 June
|
|
2008.</p></div>
|
|
<p>This section defines the basic
|
|
DOM interface for all HTML elements, the
|
|
<code>HTMLElement</code> interface. In this section, the
|
|
following changes were made:</p>
|
|
<ul>
|
|
<li>The following attributes were added to the
|
|
definition of the <code>HTMLElement</code> interface:
|
|
<ul>
|
|
<li><code class="domattribute">dataset</code></li>
|
|
<li><code class="domattribute">isContentEditable</code></li>
|
|
<li><code class="domattribute">style</code></li>
|
|
<li><code class="domattribute">onstorage</code></li>
|
|
</ul>
|
|
</li>
|
|
<li>A number of refinements were made to the language in
|
|
the “Reflecting content attributes in DOM attributes”
|
|
subsection, most extensively to the description that
|
|
relates to handling of DOM attributes that are of the
|
|
floating-point number type.</li>
|
|
</ul>
|
|
</div>
|
|
<div id="common0" class="section">
|
|
<h2>Section 2.3, Common DOM interfaces <a class="hash" href="#common0">#</a> <a class="toc-bak" href="#common0-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/dom.html#common0">Section 2.3, Common DOM interfaces</a>” in the
|
|
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/dom.html#common0">Section 2.3, Common DOM interfaces</a>” in a
|
|
diff-marked version of the specification, showing
|
|
changes made between 22 January 2008 and 10 June
|
|
2008.</p></div>
|
|
<p>This section defines DOM interfaces known as
|
|
<strong>collections</strong>, the
|
|
<code>DOMTokenList</code> and <code>DOMStringMap</code>
|
|
interfaces, and DOM feature strings for HTML. In this
|
|
section, the following changes were made:</p>
|
|
<ul>
|
|
<li>In the “Collections” subsection, for consistency
|
|
with the Web IDL specification <a href="#webidl">[WebIDL]</a>, the definitions for the
|
|
<code>HTMLCollection</code>,
|
|
<code>HTMLFormControlsCollection</code>,
|
|
<code>HTMLOptionsCollection</code>, and
|
|
<code>DOMTokenList</code> interfaces were updated and
|
|
language that stated conformance criteria for
|
|
ECMAScript implementations was removed.</li>
|
|
<li>In the “DOMTokenList” subsection, the algorithms
|
|
for the
|
|
<code class="method">add()</code>
|
|
and
|
|
<code class="method">toggle()</code> methods were slightly
|
|
refined.</li>
|
|
<li>The “DOMStringMap” subsection was added. It
|
|
defines an interface for representing a set of
|
|
name-value pairs.</li>
|
|
</ul>
|
|
</div>
|
|
<div id="dom-tree" class="section">
|
|
<h2>Section 2.4, DOM tree accessors <a class="hash" href="#dom-tree">#</a> <a class="toc-bak" href="#dom-tree-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/dom.html#dom-tree">Section 2.4, DOM tree accessors</a>” in the
|
|
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/dom.html#dom-tree">Section 2.4, DOM tree accessors</a>” in a
|
|
diff-marked version of the specification, showing
|
|
changes made between 22 January 2008 and 10 June
|
|
2008.</p></div>
|
|
<p>This section defines the placement of the
|
|
<code class="element">html</code>,
|
|
<code class="element">head</code>,
|
|
<code class="element">title</code>,
|
|
and
|
|
<code class="element">body</code> elements in the DOM
|
|
tree, associated DOM attributes, and the
|
|
<code class="method">getElementsByName()</code>
|
|
and
|
|
<code class="method">getElementsByClassName()</code>
|
|
methods. In this section, the following changes were
|
|
made:</p>
|
|
<ul>
|
|
<li>A refinement was made to the algorithm that must
|
|
be run on setting the <code class="element">title</code>.</li>
|
|
<li>Conformance criteria related to the
|
|
<code class="domattribute">embeds</code>,
|
|
<code class="domattribute">plugins</code>,
|
|
and
|
|
<code class="domattribute">scripts</code> DOM attributes
|
|
was added.</li>
|
|
</ul>
|
|
</div>
|
|
<div id="dynamic" class="section">
|
|
<h2>Section 2.5, Dynamic markup insertion <a class="hash" href="#dynamic">#</a> <a class="toc-bak" href="#dynamic-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/dom.html#dynamic">Section 2.5, Dynamic markup insertion</a>” in the
|
|
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/dom.html#dynamic">Section 2.5, Dynamic markup insertion</a>” in a
|
|
diff-marked version of the specification, showing
|
|
changes made between 22 January 2008 and 10 June
|
|
2008.</p></div>
|
|
<p>This section defines mechanisms that enable
|
|
script authors to dynamically insert markup into a
|
|
document. In the section, the following changes were
|
|
made:</p>
|
|
<ul>
|
|
<li>In the “Controlling the input stream” subsection,
|
|
a “Change the document’s character encoding to UTF-16”
|
|
step was added to the algorithm that runs when the
|
|
<code class="method">open()</code>
|
|
method is called.</li>
|
|
<li>Some changes were made within the “Dynamic markup
|
|
insertion in XML” subsection in this section — among
|
|
them, the addition of a statement that <q>If any of
|
|
the elements in the serialisation are in the null
|
|
namespace, the default namespace in scope for those
|
|
elements must be explicitly declared as the empty
|
|
string.</q></li>
|
|
</ul>
|
|
</div>
|
|
<div id="apis-in" class="section">
|
|
<h2>Section 2.6, APIs in HTML documents <a class="hash" href="#apis-in">#</a> <a class="toc-bak" href="#apis-in-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/dom.html#apis-in">Section 2.6, APIs in HTML documents</a>” in the
|
|
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/dom.html#apis-in">Section 2.6, APIs in HTML documents</a>” in a
|
|
diff-marked version of the specification, showing
|
|
changes made between 22 January 2008 and 10 June
|
|
2008.</p></div>
|
|
<p>This section provides details about
|
|
case-insensitivity and case-changing behavior of data
|
|
returned by certain DOM APIs. No changes have been made
|
|
in this section.</p>
|
|
</div>
|
|
</div>
|
|
<div id="semantics" class="section">
|
|
<h2>Section 3, Semantics and structure of HTML elements <a class="hash" href="#semantics">#</a> <a class="toc-bak" href="#semantics-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/semantics.html#semantics">Section 3, Semantics and structure of HTML elements</a>” in the
|
|
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/semantics.html#semantics">Section 3, Semantics and structure of HTML elements</a>” in a
|
|
diff-marked version of the specification, showing
|
|
changes made between 22 January 2008 and 10 June
|
|
2008.</p></div>
|
|
<p>This section defines the meanings and content models
|
|
for each element in the HTML language, and includes both
|
|
“authoring conformance” or “document conformance”
|
|
requirements (to enable authors to produce conformant HTML
|
|
documents) with “implementation conformance” or
|
|
“user-agent conformance” requirements (to enable
|
|
implementors to produce conformant HTML user agents).</p>
|
|
<div id="common1" class="section">
|
|
<h2>Section 3.2, Common microsyntaxes <a class="hash" href="#common1">#</a> <a class="toc-bak" href="#common1-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/semantics.html#common1">Section 3.2, Common microsyntaxes</a>” in the
|
|
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/semantics.html#common1">Section 3.2, Common microsyntaxes</a>” in a
|
|
diff-marked version of the specification, showing
|
|
changes made between 22 January 2008 and 10 June
|
|
2008.</p></div>
|
|
<p>This section describes the conformance
|
|
criteria for instances of particular data types (such as
|
|
dates or numbers) used in HTML content, as well as
|
|
describing how to parse such instances. In this section,
|
|
the following changes were made:</p>
|
|
<ul>
|
|
<li>In the “Boolean attributes” subsection, the
|
|
conformance criteria for boolean attributes were
|
|
changed to state that a non-empty boolean-attribute
|
|
value must be “a case-insensitive match for the
|
|
attribute’s canonical name” (the statement had
|
|
previously required non-empty values to be in
|
|
lowercase).</li>
|
|
<li>A number of change were made to the “rules for
|
|
parsing a list of integers” algorithm in the “Numbers”
|
|
subsection.</li>
|
|
<li>A placeholder for a “URLs” subsection was added,
|
|
with editorial notes about what its intended purpose will
|
|
be.</li>
|
|
<li>In the “Tokens” subsection, the following
|
|
statement was added:
|
|
<blockquote>
|
|
<p><q>Sets of space-separated tokens sometimes have
|
|
a defined set of allowed values. When a set of
|
|
allowed values is defined, the tokens must all be
|
|
from that list of allowed values; other values are
|
|
non-conforming. If no such set of allowed values
|
|
is provided, then all values are
|
|
conforming.</q></p></blockquote></li>
|
|
<li>In the “References” section, instances of the
|
|
phrase “hashed ID reference” were changed to “hash-name reference”.</li>
|
|
</ul>
|
|
</div>
|
|
<div id="documents0" class="section">
|
|
<h2>Section 3.3, Documents and document fragments <a class="hash" href="#documents0">#</a> <a class="toc-bak" href="#documents0-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/semantics.html#documents0">Section 3.3, Documents and document fragments</a>” in the
|
|
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/semantics.html#documents0">Section 3.3, Documents and document fragments</a>” in a
|
|
diff-marked version of the specification, showing
|
|
changes made between 22 January 2008 and 10 June
|
|
2008.</p></div>
|
|
<p>This section introduces the terms “semantics”,
|
|
“structure”, “transparent”, and “paragraph” in the
|
|
specific context of the HTML language, as well as
|
|
defining a number of categories that HTML content can be
|
|
grouped into. In this section, the following changes
|
|
were made:</p>
|
|
<ul>
|
|
<li>In the “Semantics” subsection, a general statement
|
|
about authoring conformance was re-written to now
|
|
read, <q>Authors must not use elements, attributes,
|
|
and attribute values for purposes other than their
|
|
appropriate intended semantic purpose.</q>, and a
|
|
minor refinement was made to the accompanying
|
|
example.</li>
|
|
<li>In the “Structure” subsection, the following
|
|
statement was <strong>removed</strong> completely:
|
|
<q>Authors must only put elements inside an element if
|
|
that element allows them to be there according to
|
|
its content model</q>, and (in a later part of the
|
|
same subsection), a general statement about authoring
|
|
conformance was re-written to now read, <q>Authors
|
|
must not use elements in the HTML namespace anywhere
|
|
except where they are explicitly allowed, as defined
|
|
for each element, or as explicitly required by other
|
|
specifications</q>.</li>
|
|
<li>Also in the “Structure” subsection, a statement
|
|
was added that cites an example of a structural
|
|
conformance requirement in the Atom specification, and
|
|
a statement was added that <q>elements in the HTML
|
|
namespace may be orphan nodes (i.e. without a parent
|
|
node)</q>, along with an example.</li>
|
|
<li>In the “Kinds of content” subsection (and
|
|
throughout the rest of the section and the
|
|
specification), the term “prose content” was changed
|
|
to <strong>flow content</strong>.</li>
|
|
<li>In the “Transparent content models” subsection, a
|
|
minor wording change was made.</li>
|
|
</ul>
|
|
</div>
|
|
<div id="global" class="section">
|
|
<h2>Section 3.4, Global attributes <a class="hash" href="#global">#</a> <a class="toc-bak" href="#global-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/semantics.html#global">Section 3.4, Global attributes</a>” in the
|
|
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/semantics.html#global">Section 3.4, Global attributes</a>” in a
|
|
diff-marked version of the specification, showing
|
|
changes made between 22 January 2008 and 10 June
|
|
2008.</p></div>
|
|
<p>This section defines attributes that may be specified
|
|
on all HTML elements. In this section, the following
|
|
changes were made:</p>
|
|
<ul>
|
|
<li>The <code class="htmlattribute">style</code> attribute
|
|
was added to the list of global attributes, and a
|
|
subsection defining it was added.</li>
|
|
<li>The <code class="htmlattribute">onstorage</code> attribute
|
|
was added to the list of global attributes.</li>
|
|
<li>The following conformance statement was added:
|
|
<blockquote>
|
|
<p><q>custom data attributes (e.g.
|
|
data-foldername or data-msgid) can be specified on
|
|
any HTML element, to store custom data specific to
|
|
the page.</q></p>
|
|
</blockquote>
|
|
Also, an “Embedding custom non-visible data” subsection
|
|
was added, with conformance criteria related to
|
|
<code class="htmlattribute">data-</code> attributes and
|
|
the associated <code class="domattribute">dataset</code>
|
|
DOM attribute.</li>
|
|
<li>The following conformance statement was added:
|
|
<blockquote>
|
|
<p><q>In HTML documents, the html element,
|
|
and any other elements in the HTML namespace whose
|
|
parent element is not in the HTML namespace, may
|
|
have an <code class="htmlattribute">xmlns</code>
|
|
attribute specified, if, and only if, it has the
|
|
exact value
|
|
“<code>http://www.w3.org/1999/xhtml</code>”. This
|
|
does not apply to XML documents.</q></p>
|
|
</blockquote>
|
|
Also, two notes were added regarding the effects of
|
|
the <code class="htmlattribute">xmlns</code> attribute in
|
|
content.</li>
|
|
<li>A new “The xml:base attribute (XML only)”
|
|
subsection was added, with the following text:
|
|
<blockquote>
|
|
<p><q>The xml:base attribute is defined in XML
|
|
Base.</q></p>
|
|
<p><q>The xml:base attribute may be used on elements of
|
|
XML documents. Authors must not use the xml:base
|
|
attribute in HTML documents.</q></p>
|
|
</blockquote>
|
|
</li>
|
|
<li>Some wording refinements were made to various
|
|
subsections.</li>
|
|
</ul>
|
|
</div>
|
|
<div id="interaction" class="section">
|
|
<h2>Section 3.5, Interaction <a class="hash" href="#interaction">#</a> <a class="toc-bak" href="#interaction-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/semantics.html#interaction">Section 3.5, Interaction</a>” in the
|
|
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/semantics.html#interaction">Section 3.5, Interaction</a>” in a
|
|
diff-marked version of the specification, showing
|
|
changes made between 22 January 2008 and 10 June
|
|
2008.</p></div>
|
|
<p>This section defines conformance requirements related
|
|
to interactive DOM behavior in user agents, including
|
|
activation of elements, element focus, and scrolling
|
|
elements into view. In this section, the following
|
|
changes were made:</p>
|
|
<ul>
|
|
<li>The wording for the entire “Focus” subsection was
|
|
refactored to make “define .focus(), .blur(),
|
|
onfocus, and onblur in a way that doesn’t require an
|
|
infinite loop in the face of a hostile author, and
|
|
that is better defined in terms of multiple iframes,
|
|
windows, and orphaned elements”, and to provide the
|
|
following definition of “focusable”: <q>An element is
|
|
focusable if the tabindex attribute’s definition
|
|
above defines the element to be focusable and the
|
|
element is being rendered.</q> and, for the case
|
|
where the <code class="method">scrollIntoView()</code>
|
|
method is called, to provide the following additional
|
|
requirement:
|
|
<q>Visual user agents should
|
|
further scroll horizontally as necessary to bring
|
|
the element to the attention of the user.</q></li>
|
|
<li>Also, in the “Focus” subsection, a change was made
|
|
to correctly document the <code class="method">hasFocus()</code> method as a method
|
|
(previously, the interface definition had incorrectly
|
|
indicated that it was an attribute).</li>
|
|
<li>
|
|
</li></ul>
|
|
</div>
|
|
<div id="the-root" class="section">
|
|
<h2>Section 3.6, The root element <a class="hash" href="#the-root">#</a> <a class="toc-bak" href="#the-root-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/semantics.html#the-root">Section 3.6, The root element</a>” in the
|
|
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/semantics.html#the-root">Section 3.6, The root element</a>” in a
|
|
diff-marked version of the specification, showing
|
|
changes made between 22 January 2008 and 10 June
|
|
2008.</p></div>
|
|
<p>This section defines the semantics and structure of
|
|
the <code class="element">html</code> element. In this
|
|
section, the only substantive change made was that a
|
|
statement related to the <code class="htmlattribute">xmlns</code> attribute was moved
|
|
out to an earlier point in the document, to the “Global
|
|
attributes” section.</p>
|
|
</div>
|
|
<div id="document" class="section">
|
|
<h2>Section 3.7, Document metadata <a class="hash" href="#document">#</a> <a class="toc-bak" href="#document-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/semantics.html#document">Section 3.7, Document metadata</a>” in the
|
|
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/semantics.html#document">Section 3.7, Document metadata</a>” in a
|
|
diff-marked version of the specification, showing
|
|
changes made between 22 January 2008 and 10 June
|
|
2008.</p></div>
|
|
<p>This section defines the semantics and structure of
|
|
the <code class="element">head</code> element and those of
|
|
its conformant descendant elements.</p>
|
|
<div id="the-base" class="section">
|
|
<h2>Section 3.7.3, The base element <a class="hash" href="#the-base">#</a> <a class="toc-bak" href="#the-base-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/semantics.html#the-base">Section 3.7.3, The base element</a>” in the
|
|
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/semantics.html#the-base">Section 3.7.3, The base element</a>” in a
|
|
diff-marked version of the specification, showing
|
|
changes made between 22 January 2008 and 10 June
|
|
2008.</p></div>
|
|
<p>In this section, the phrase “valid browsing context
|
|
name” was emended to become <q>valid browsing context
|
|
name or keyword</q>.
|
|
</p>
|
|
</div>
|
|
<div id="the-link" class="section">
|
|
<h2>Section 3.7.4, The link element <a class="hash" href="#the-link">#</a> <a class="toc-bak" href="#the-link-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/semantics.html#the-link">Section 3.7.4, The link element</a>” in the
|
|
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/semantics.html#the-link">Section 3.7.4, The link element</a>” in a
|
|
diff-marked version of the specification, showing
|
|
changes made between 22 January 2008 and 10 June
|
|
2008.</p></div>
|
|
<p>In this section, the following changes were
|
|
made:</p>
|
|
<ul>
|
|
<li>The
|
|
<code class="htmlattribute">sizes</code>
|
|
content attribute was added to the list of conformant
|
|
attributes for the element, and the
|
|
<code class="domattribute">sizes</code>
|
|
DOM attribute was added to the interface definition for
|
|
the <code>HTMLLinkElement</code> interface.</li>
|
|
<li>Conformance criteria for the
|
|
<code class="htmlattribute">sizes</code>
|
|
content attribute and
|
|
<code class="domattribute">sizes</code>
|
|
DOM attribute were added.</li>
|
|
<li>The following note was added: <q>Hyperlinks
|
|
created with the link element and its rel
|
|
attribute apply to the whole page. This contrasts
|
|
with the rel attribute of a and area elements,
|
|
which indicates the type of a link whose context
|
|
is given by the link’s location within the
|
|
document.</q></li>
|
|
<li>Other refinements were made
|
|
to language in this section, including the addition
|
|
of the following statements:
|
|
<blockquote>
|
|
<p><q>HTTP semantics must be followed when
|
|
fetching external resources. (For example,
|
|
redirects must be followed and 404 responses must
|
|
cause the external resource to not be
|
|
applied.)</q></p>
|
|
</blockquote>
|
|
<blockquote>
|
|
<p><q>If no type metadata is specified, but
|
|
the external resource link type has a default type
|
|
defined, then the user agent must assume that the
|
|
resource is of that type.</q></p>
|
|
</blockquote>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
<div id="meta" class="section">
|
|
<h2>Section 3.7.5, The meta element <a class="hash" href="#meta">#</a> <a class="toc-bak" href="#meta-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/semantics.html#meta">Section 3.7.5, The meta element</a>” in the
|
|
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/semantics.html#meta">Section 3.7.5, The meta element</a>” in a
|
|
diff-marked version of the specification, showing
|
|
changes made between 22 January 2008 and 10 June
|
|
2008.</p></div>
|
|
<p>In this section, the following changes were
|
|
made:</p>
|
|
<ul>
|
|
<li>A statement was added that <q>The
|
|
<code class="domattribute">charset</code> attribute
|
|
specifies the character encoding used by the document.
|
|
This is called a character encoding
|
|
declaration</q>.</li>
|
|
<li>The text of the “Specifying the document’s
|
|
character encoding” subsection was refined, with the
|
|
following statements added:
|
|
<blockquote>
|
|
<p><q>If the document contains a meta element with
|
|
a charset attribute or a meta element in the
|
|
Encoding declaration state, then the character
|
|
encoding used must be an ASCII-compatible
|
|
character encoding.</q></p>
|
|
<p><q>An ASCII-compatible character encoding is one
|
|
that is a superset of US-ASCII (specifically,
|
|
ANSI_X3.4-1968) for bytes in the range 0x09 -
|
|
0x0D, 0x20, 0x21, 0x22, 0x26, 0x27, 0x2C - 0x3F,
|
|
0x41 - 0x5A, and 0x61 - 0x7A.</q></p>
|
|
</blockquote>
|
|
</li><li>The value <code>dns</code> was removed from the
|
|
list of pre-defined values for the
|
|
<code class="domattribute">name</code>
|
|
attribute.</li>
|
|
<li>The value
|
|
<code>description</code>
|
|
was added to the
|
|
list of pre-defined values for the
|
|
<code class="domattribute">name</code>
|
|
attribute, and defined as:
|
|
<blockquote>
|
|
<p><q>The value must be a free-form string that
|
|
describes the page. The value must be appropriate
|
|
for use in a directory of pages, e.g. in a search
|
|
engine.</q></p>
|
|
</blockquote>
|
|
</li>
|
|
<li>The value
|
|
<code>application-name</code>
|
|
was added to the
|
|
list of pre-defined values for the
|
|
<code class="domattribute">name</code>
|
|
attribute, and defined as:
|
|
<blockquote>
|
|
<p><q>The value must be a short free-form
|
|
string that giving the name of the Web application
|
|
that the page represents. If the page is not a Web
|
|
application, the application-name metadata name must
|
|
not be used. User agents may use the application
|
|
name in UI in preference to the page’s title, since
|
|
the title might include status messages and the like
|
|
relevant to the status of the page at a particular
|
|
moment in time instead of just being the name of the
|
|
application.</q></p>
|
|
</blockquote>
|
|
</li>
|
|
<li>The
|
|
<code>Content-Type</code> keyword
|
|
and corresponding
|
|
<code>Encoding declaration</code>
|
|
state added to a table that lists conformant keyword
|
|
values for the
|
|
<code class="domattribute">http-equiv</code>
|
|
attribute and their corresponding states; also, a
|
|
definition for the
|
|
<code>Encoding declaration</code>
|
|
state was added, and refinements were made in the
|
|
“Specifying the document’s character encoding”
|
|
subsection.</li>
|
|
<li>A part of the “Refresh state” algorithm was
|
|
revised to refer to the document’s <strong>source
|
|
browsing context</strong>.</li>
|
|
</ul>
|
|
</div>
|
|
<div id="the-style0" class="section">
|
|
<h2>Section 3.7.6, The style element <a class="hash" href="#the-style0">#</a> <a class="toc-bak" href="#the-style0-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/semantics.html#the-style0">Section 3.7.6, The style element</a>” in the
|
|
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/semantics.html#the-style0">Section 3.7.6, The style element</a>” in a
|
|
diff-marked version of the specification, showing
|
|
changes made between 22 January 2008 and 10 June
|
|
2008.</p></div>
|
|
<p>In this section, a refinement was made to the
|
|
definition of the
|
|
<code class="domattribute">media</code>
|
|
attribute.</p>
|
|
</div>
|
|
</div>
|
|
<div id="sections" class="section">
|
|
<h2>Section 3.8, Sections <a class="hash" href="#sections">#</a> <a class="toc-bak" href="#sections-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/semantics.html#sections">Section 3.8, Sections</a>” in the
|
|
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/semantics.html#sections">Section 3.8, Sections</a>” in a
|
|
diff-marked version of the specification, showing
|
|
changes made between 22 January 2008 and 10 June
|
|
2008.</p></div>
|
|
<p>This section defines the semantics and structure of
|
|
the elements used for dividing documents into
|
|
sections.</p>
|
|
<div id="the-body" class="section">
|
|
<h2>Section 3.8.1, The body element <a class="hash" href="#the-body">#</a> <a class="toc-bak" href="#the-body-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/semantics.html#the-body">Section 3.8.1, The body element</a>” in the
|
|
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/semantics.html#the-body">Section 3.8.1, The body element</a>” in a
|
|
diff-marked version of the specification, showing
|
|
changes made between 22 January 2008 and 10 June
|
|
2008.</p></div>
|
|
<p>In this section, an interface definition was added
|
|
for the DOM interface for the
|
|
<code class="element">body</code>
|
|
element.</p>
|
|
</div>
|
|
<div id="the-nav" class="section">
|
|
<h2>Section 3.8.3, The nav element <a class="hash" href="#the-nav">#</a> <a class="toc-bak" href="#the-nav-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/semantics.html#the-nav">Section 3.8.3, The nav element</a>” in the
|
|
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/semantics.html#the-nav">Section 3.8.3, The nav element</a>” in a
|
|
diff-marked version of the specification, showing
|
|
changes made between 22 January 2008 and 10 June
|
|
2008.</p></div>
|
|
<p>In this section, an example was added, along with
|
|
the following statement:</p>
|
|
<blockquote>
|
|
<p><q>Not all groups of links on a page need
|
|
to be in a nav element — only sections that
|
|
consist of primary navigation blocks are
|
|
appropriate for the nav element. In particular, it
|
|
is common for footers to have a list of links to
|
|
various key parts of a site, but the footer
|
|
element is more appropriate in such
|
|
cases.</q></p>
|
|
</blockquote>
|
|
</div>
|
|
<div id="blockquoteold" class="section">
|
|
<h2>Section 3.8.5 [now 3.9.6], The blockquote element <a class="hash" href="#blockquoteold">#</a> <a class="toc-bak" href="#blockquoteold-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/semantics.html#blockquoteold">Section 3.8.5 [now 3.9.6], The blockquote element</a>” in the
|
|
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/semantics.html#blockquoteold">Section 3.8.5 [now 3.9.6], The blockquote element</a>” in a
|
|
diff-marked version of the specification, showing
|
|
changes made between 22 January 2008 and 10 June
|
|
2008.</p></div>
|
|
<p>The section on the
|
|
<code class="element">blockquote</code>
|
|
element was moved to become a subsection of the
|
|
“Grouping content” elements section.</p>
|
|
</div>
|
|
<div id="the-aside" class="section">
|
|
<h2>Section 3.8.6 [now 3.8.5], The aside element <a class="hash" href="#the-aside">#</a> <a class="toc-bak" href="#the-aside-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/semantics.html#the-aside">Section 3.8.6 [now 3.8.5], The aside element</a>” in the
|
|
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/semantics.html#the-aside">Section 3.8.6 [now 3.8.5], The aside element</a>” in a
|
|
diff-marked version of the specification, showing
|
|
changes made between 22 January 2008 and 10 June
|
|
2008.</p></div>
|
|
<p>In this section, two examples were added.</p>
|
|
</div>
|
|
<div id="the-header" class="section">
|
|
<h2>Section 3.8.8 [now 3.8.7], The header element <a class="hash" href="#the-header">#</a> <a class="toc-bak" href="#the-header-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/semantics.html#the-header">Section 3.8.8 [now 3.8.7], The header element</a>” in the
|
|
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/semantics.html#the-header">Section 3.8.8 [now 3.8.7], The header element</a>” in a
|
|
diff-marked version of the specification, showing
|
|
changes made between 22 January 2008 and 10 June
|
|
2008.</p></div>
|
|
<p>In this section, some wording refinements were made.</p>
|
|
</div>
|
|
<div id="the-footer" class="section">
|
|
<h2>Section 3.8.9 [now 3.8.8], The footer element <a class="hash" href="#the-footer">#</a> <a class="toc-bak" href="#the-footer-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/semantics.html#the-footer">Section 3.8.9 [now 3.8.8], The footer element</a>” in the
|
|
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/semantics.html#the-footer">Section 3.8.9 [now 3.8.8], The footer element</a>” in a
|
|
diff-marked version of the specification, showing
|
|
changes made between 22 January 2008 and 10 June
|
|
2008.</p></div>
|
|
<p>In this section, an example was added.</p>
|
|
</div>
|
|
<div id="the-address" class="section">
|
|
<h2>Section 3.8.10 [now 3.8.9], The address element <a class="hash" href="#the-address">#</a> <a class="toc-bak" href="#the-address-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/semantics.html#the-address">Section 3.8.10 [now 3.8.9], The address element</a>” in the
|
|
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/semantics.html#the-address">Section 3.8.10 [now 3.8.9], The address element</a>” in a
|
|
diff-marked version of the specification, showing
|
|
changes made between 22 January 2008 and 10 June
|
|
2008.</p></div>
|
|
<p>In this section, a statement was added that if an
|
|
<code class="element">address</code> element <q>applies
|
|
to the body element, then it instead applies to the
|
|
document as a whole</q>, and in several places, the
|
|
phrase “sectioning element” was changed to
|
|
<q>sectioning content element</q>.</p>
|
|
</div>
|
|
<div id="headings" class="section">
|
|
<h2>Section 3.8.11 [now 3.8.10], Headings and sections <a class="hash" href="#headings">#</a> <a class="toc-bak" href="#headings-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/semantics.html#headings">Section 3.8.11 [now 3.8.10], Headings and sections</a>” in the
|
|
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/semantics.html#headings">Section 3.8.11 [now 3.8.10], Headings and sections</a>” in a
|
|
diff-marked version of the specification, showing
|
|
changes made between 22 January 2008 and 10 June
|
|
2008.</p></div>
|
|
<p>Several parts of this section were extensively
|
|
re-written. Among some of the specific changes:</p>
|
|
<ul>
|
|
<li>The term <strong>sectioning roots</strong> has
|
|
been introduced and defined.</li>
|
|
<li>In the “Creating an outline”, a numbered set of
|
|
steps was added to define the outline algorithm, and
|
|
other details were added.</li>
|
|
<li>In the final subsection, the term “headers” has
|
|
been replaced by “headings”, including in the title,
|
|
which now reads “Distinguishing site-wide headings
|
|
from page headings”, and some refinements were made
|
|
to the wording of the subsection.</li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
<div id="grouping" class="section">
|
|
<h2>Section 3.9, Grouping content <a class="hash" href="#grouping">#</a> <a class="toc-bak" href="#grouping-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/semantics.html#grouping">Section 3.9, Grouping content</a>” in the
|
|
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/semantics.html#grouping">Section 3.9, Grouping content</a>” in a
|
|
diff-marked version of the specification, showing
|
|
changes made between 22 January 2008 and 10 June
|
|
2008.</p></div>
|
|
<p>This section concerns elements that are used to group
|
|
phrasing content into logical structures such as
|
|
paragraphs and lists. The title of the section was
|
|
changed from “Prose” to “Grouping content”.</p>
|
|
<div id="the-pre" class="section">
|
|
<h2>Section 3.9.4 [was 3.10.1], The pre element <a class="hash" href="#the-pre">#</a> <a class="toc-bak" href="#the-pre-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/semantics.html#the-pre">Section 3.9.4 [was 3.10.1], The pre element</a>” in the
|
|
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/semantics.html#the-pre">Section 3.9.4 [was 3.10.1], The pre element</a>” in a
|
|
diff-marked version of the specification, showing
|
|
changes made between 22 January 2008 and 10 June
|
|
2008.</p></div>
|
|
<p>This subsection was created when the previous section
|
|
for the <code class="element">pre</code> element was moved
|
|
down in the sectioning hierarchy to become a subsection
|
|
the “Grouping content” section. Also, the following note
|
|
was added:</p>
|
|
<blockquote>
|
|
<p><q> In the HTML serialisation, a leading
|
|
newline character immediately following the pre
|
|
element start tag is stripped.</q></p>
|
|
</blockquote>
|
|
</div>
|
|
<div id="the-blockquote" class="section">
|
|
<h2>Section 3.9.6 [was 3.8.5], The blockquote element <a class="hash" href="#the-blockquote">#</a> <a class="toc-bak" href="#the-blockquote-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/semantics.html#the-blockquote">Section 3.9.6 [was 3.8.5], The blockquote element</a>” in the
|
|
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/semantics.html#the-blockquote">Section 3.9.6 [was 3.8.5], The blockquote element</a>” in a
|
|
diff-marked version of the specification, showing
|
|
changes made between 22 January 2008 and 10 June
|
|
2008.</p></div>
|
|
<p>This subsection was created when the previous section
|
|
for the <code class="element">blockquote</code> element
|
|
was moved out of the “Sections” section and into the
|
|
“Grouping content” section. Also, some small
|
|
refinements were made to the wording of the section.</p>
|
|
</div>
|
|
<div id="the-ol" class="section">
|
|
<h2>Section 3.9.7 [was 3.11.1], The ol element <a class="hash" href="#the-ol">#</a> <a class="toc-bak" href="#the-ol-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/semantics.html#the-ol">Section 3.9.7 [was 3.11.1], The ol element</a>” in the
|
|
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/semantics.html#the-ol">Section 3.9.7 [was 3.11.1], The ol element</a>” in a
|
|
diff-marked version of the specification, showing
|
|
changes made between 22 January 2008 and 10 June
|
|
2008.</p></div>
|
|
<p>In this section, the following changes were
|
|
made:</p>
|
|
<ul>
|
|
<li>The
|
|
<code class="htmlattribute">reversed</code>
|
|
content attribute was added to the list of conformant
|
|
attributes for the element, and the
|
|
<code class="domattribute">reversed</code>
|
|
DOM attribute was added to the interface definition for
|
|
the <code>HTMLOListElement</code> interface.</li>
|
|
<li>Conformance criteria for the
|
|
<code class="htmlattribute">reversed</code>
|
|
content attribute and
|
|
<code class="domattribute">reversed</code>
|
|
DOM attribute were added.</li>
|
|
<li>A statement defining the meaning of the element,
|
|
which had read, “The ol element represents an
|
|
ordered list of items (which are represented by li
|
|
elements)“, was revised to read, <q>The ol element
|
|
represents a list of items, where the items have
|
|
been intentionally ordered, such that changing the
|
|
order would change the meaning of the
|
|
document.</q></li>
|
|
<li>The following statements were added: <q>The
|
|
reversed attribute is a boolean attribute. If
|
|
present, it indicates that the list is a
|
|
descending list (..., 3, 2, 1). If the attribute
|
|
is omitted, the list is an ascending list (1, 2,
|
|
3, ...).</q></li>
|
|
<li>Conformance statements relevant to the
|
|
<code class="htmlattribute">reversed</code>
|
|
content attribute
|
|
and
|
|
<code class="domattribute">reversed</code>
|
|
DOM attribute were updated or added where needed
|
|
throughout the text.</li>
|
|
<li>Two examples were added.</li>
|
|
</ul>
|
|
</div>
|
|
<div id="the-ul" class="section">
|
|
<h2>Section 3.9.8 [was 3.11.2], The ul element <a class="hash" href="#the-ul">#</a> <a class="toc-bak" href="#the-ul-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/semantics.html#the-ul">Section 3.9.8 [was 3.11.2], The ul element</a>” in the
|
|
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/semantics.html#the-ul">Section 3.9.8 [was 3.11.2], The ul element</a>” in a
|
|
diff-marked version of the specification, showing
|
|
changes made between 22 January 2008 and 10 June
|
|
2008.</p></div>
|
|
<p>In this section, the definition of the meaning of
|
|
the <code class="element">ul</code> element, which had read,
|
|
“The ul element represents an unordered list of items”
|
|
was changed to read, <q>The ul element represents a
|
|
list of items, where the order of the items is not
|
|
important — that is, where changing the order would
|
|
not materially change the meaning of the
|
|
document</q>, and two examples were added.</p>
|
|
</div>
|
|
<div id="the-li" class="section">
|
|
<h2>Section 3.9.9 [was 3.11.3], The li element <a class="hash" href="#the-li">#</a> <a class="toc-bak" href="#the-li-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/semantics.html#the-li">Section 3.9.9 [was 3.11.3], The li element</a>” in the
|
|
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/semantics.html#the-li">Section 3.9.9 [was 3.11.3], The li element</a>” in a
|
|
diff-marked version of the specification, showing
|
|
changes made between 22 January 2008 and 10 June
|
|
2008.</p></div>
|
|
<p>In this section, two examples were added.</p>
|
|
</div>
|
|
<div id="the-dl" class="section">
|
|
<h2>Section 3.9.10 [was 3.11.4], The dl element <a class="hash" href="#the-dl">#</a> <a class="toc-bak" href="#the-dl-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/semantics.html#the-dl">Section 3.9.10 [was 3.11.4], The dl element</a>” in the
|
|
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/semantics.html#the-dl">Section 3.9.10 [was 3.11.4], The dl element</a>” in a
|
|
diff-marked version of the specification, showing
|
|
changes made between 22 January 2008 and 10 June
|
|
2008.</p></div>
|
|
<p>In this section, the following changes were
|
|
made:</p>
|
|
<ul>
|
|
<li>a sentence in the definition of the meaning of
|
|
the <code class="element">dl</code> element was
|
|
slightly modified to remove the criterion that it
|
|
introduces an “unordered association list”, such
|
|
that the sentences now reads, <q>The dl element
|
|
introduces an association list consisting of zero
|
|
or more name-value groups (a description
|
|
list).</q></li>
|
|
<li>Significant refinements and additions were made
|
|
to the language in the section.</li>
|
|
<li>The set of examples was expanded.</li>
|
|
</ul>
|
|
</div>
|
|
<div id="the-dt" class="section">
|
|
<h2>Section 3.9.11 [was 3.11.5], The dt element <a class="hash" href="#the-dt">#</a> <a class="toc-bak" href="#the-dt-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/semantics.html#the-dt">Section 3.9.11 [was 3.11.5], The dt element</a>” in the
|
|
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/semantics.html#the-dt">Section 3.9.11 [was 3.11.5], The dt element</a>” in a
|
|
diff-marked version of the specification, showing
|
|
changes made between 22 January 2008 and 10 June
|
|
2008.</p></div>
|
|
<p>In this section, the following statement was
|
|
added:</p>
|
|
<blockquote>
|
|
<p><q>If the dt element is the child of a
|
|
dialog element, and it further contains a time
|
|
element, then that time element represents a
|
|
timestamp for when the associated discourse (dd
|
|
element) was said, and is not part of the name of
|
|
the talker.</q></p>
|
|
</blockquote>
|
|
<p>Also, two examples were added.</p>
|
|
</div>
|
|
</div>
|
|
<div id="text-level" class="section">
|
|
<h2>Section 3.10 [was 3.12], Text-level semantics <a class="hash" href="#text-level">#</a> <a class="toc-bak" href="#text-level-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/semantics.html#text-level">Section 3.10 [was 3.12], Text-level semantics</a>” in the
|
|
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/semantics.html#text-level">Section 3.10 [was 3.12], Text-level semantics</a>” in a
|
|
diff-marked version of the specification, showing
|
|
changes made between 22 January 2008 and 10 June
|
|
2008.</p></div>
|
|
<p>This section concerns elements used to mark up
|
|
content at the “text level” (as opposed to the
|
|
“sectioning” or “grouping” levels). The title of the
|
|
section was changed from “Phrase elements” to
|
|
“Text-level semantics”.</p>
|
|
<div id="the-a" class="section">
|
|
<h2>Section 3.10.1, The a element <a class="hash" href="#the-a">#</a> <a class="toc-bak" href="#the-a-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/semantics.html#the-a">Section 3.10.1, The a element</a>” in the
|
|
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/semantics.html#the-a">Section 3.10.1, The a element</a>” in a
|
|
diff-marked version of the specification, showing
|
|
changes made between 22 January 2008 and 10 June
|
|
2008.</p></div>
|
|
<p>In this section, the interface definition for the
|
|
<code>HTMLAnchorElement</code> interface was updated
|
|
for consistency with the Web IDL specification <a href="#webidl">[WebIDL]</a>.</p>
|
|
</div>
|
|
<div id="the-q" class="section">
|
|
<h2>Section 3.10.2, The q element <a class="hash" href="#the-q">#</a> <a class="toc-bak" href="#the-q-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/semantics.html#the-q">Section 3.10.2, The q element</a>” in the
|
|
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/semantics.html#the-q">Section 3.10.2, The q element</a>” in a
|
|
diff-marked version of the specification, showing
|
|
changes made between 22 January 2008 and 10 June
|
|
2008.</p></div>
|
|
<p>In this section, some wording changes were made,
|
|
four examples were added, and the following statement
|
|
was added:</p>
|
|
<blockquote>
|
|
<p><q>Quotation punctuation (such as
|
|
quotation marks), if any, must be placed inside
|
|
the q element.</q></p>
|
|
</blockquote>
|
|
</div>
|
|
<div id="the-cite" class="section">
|
|
<h2>Section 3.10.3, The cite element <a class="hash" href="#the-cite">#</a> <a class="toc-bak" href="#the-cite-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/semantics.html#the-cite">Section 3.10.3, The cite element</a>” in the
|
|
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/semantics.html#the-cite">Section 3.10.3, The cite element</a>” in a
|
|
diff-marked version of the specification, showing
|
|
changes made between 22 January 2008 and 10 June
|
|
2008.</p></div>
|
|
<p>In this section, more examples were added, and the
|
|
text defining the meaning of the <code class="element">cite</code> element, which had read
|
|
simply, “The cite element represents a citation: the
|
|
source, or reference, for a quote or statement made in
|
|
the document”, was expanded to read:</p>
|
|
<blockquote>
|
|
<p><q>The cite element represents the title
|
|
of a work (e.g. a book, a paper, an essay, a poem,
|
|
a score, a song, a script, a film, a TV show, a
|
|
game, a sculpture, a painting, a theatre
|
|
production, a play, an opera, a musical, an
|
|
exhibition, etc). This can be a work that is being
|
|
quoted or referenced in detail (i.e. a citation),
|
|
or it can just be a work that is mentioned in
|
|
passing.</q></p>
|
|
</blockquote>
|
|
<blockquote>
|
|
<p><q>A person’s name is not the title of a
|
|
work — even if people call that person a piece of
|
|
work — and the element must therefore not be used
|
|
to mark up people’s names. (In some cases, the b
|
|
element might be appropriate for names; e.g. in a
|
|
gossip article where the names of famous people
|
|
are keywords rendered with a different style to
|
|
draw attention to them. In other cases, if an
|
|
element is really needed, the span element can be
|
|
used.)</q></p>
|
|
</blockquote>
|
|
<blockquote>
|
|
<p><q>A ship is similarly not a work, and the
|
|
element must not be used to mark up ship names
|
|
(the i element can be used for that
|
|
purpose).</q></p>
|
|
</blockquote>
|
|
</div>
|
|
<div id="the-mark" class="section">
|
|
<h2>Section 3.10.7, The mark element [was: the m element] <a class="hash" href="#the-mark">#</a> <a class="toc-bak" href="#the-mark-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/semantics.html#the-mark">Section 3.10.7, The mark element [was: the m element]</a>” in the
|
|
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/semantics.html#the-mark">Section 3.10.7, The mark element [was: the m element]</a>” in a
|
|
diff-marked version of the specification, showing
|
|
changes made between 22 January 2008 and 10 June
|
|
2008.</p></div>
|
|
<p>The <code class="element">m</code> element was
|
|
renamed <code class="element">mark</code>; in this
|
|
section, the set of examples was
|
|
significantly enlarged, and the text defining the
|
|
meaning of the element, which had read simply, “The m
|
|
element represents a run of text marked or
|
|
highlighted”, was expanded to read:</p>
|
|
<blockquote>
|
|
<p><q>The mark element represents a run of
|
|
text in one document marked or highlighted for
|
|
reference purposes, due to its relevance in
|
|
another context. When used in a quotation or other
|
|
block of text referred to from the prose, it
|
|
indicates a highlight that was not originally
|
|
present but which has been added to bring the
|
|
reader’s attention to a part of the text that
|
|
might not have been considered important by the
|
|
original author when the block was originally
|
|
written, but which is now under previously
|
|
unexpected scrutiny. When used in the main prose
|
|
of a document, it indicates a part of the document
|
|
that has been highlighted due to its likely
|
|
relevance to the user’s current
|
|
activity.</q></p>
|
|
</blockquote>
|
|
</div>
|
|
<div id="the-dfn" class="section">
|
|
<h2>Section 3.10.8, The dfn element <a class="hash" href="#the-dfn">#</a> <a class="toc-bak" href="#the-dfn-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/semantics.html#the-dfn">Section 3.10.8, The dfn element</a>” in the
|
|
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/semantics.html#the-dfn">Section 3.10.8, The dfn element</a>” in a
|
|
diff-marked version of the specification, showing
|
|
changes made between 22 January 2008 and 10 June
|
|
2008.</p></div>
|
|
<p>The text defining the
|
|
<code class="element">dfn</code>
|
|
elements has changed significantly. The changes
|
|
include:</p>
|
|
<ul>
|
|
<li>The most significant change is that text
|
|
describing a mechanism by which the <code class="element">dfn</code> element could be used to
|
|
enable automatic cross-references has been removed
|
|
completely, and replaced by a statement that <q>An a
|
|
element that links to a dfn element represents an
|
|
instance of the term defined by the dfn
|
|
element.</q></li>
|
|
<li>Text that had previously read, “The paragraph,
|
|
description list group, or section that contains the
|
|
dfn element contains the definition for the term given
|
|
by the contents of the dfn element” now reads
|
|
(change highlighted): <q>The
|
|
paragraph, description list group, or section that
|
|
is the <em class="highlight">nearest ancestor</em> of the dfn element
|
|
must also contain the definition(s) for the term
|
|
given by the dfn element.</q></li>
|
|
<li>The following conformance requirement was
|
|
<strong>removed</strong> completely: “There must only
|
|
be one dfn element per document for each term defined
|
|
(i.e. there must not be any duplicate
|
|
terms).”</li>
|
|
<li>An additional example was added to illustrate use
|
|
of the <code class="element">a</code> element in
|
|
conjunction with the
|
|
<code class="element">dfn</code> element (to make an
|
|
explicit cross-reference to a defining instance of a
|
|
particular term).</li>
|
|
</ul>
|
|
</div>
|
|
<div id="the-abbr" class="section">
|
|
<h2>Section 3.10.9, The abbr element <a class="hash" href="#the-abbr">#</a> <a class="toc-bak" href="#the-abbr-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/semantics.html#the-abbr">Section 3.10.9, The abbr element</a>” in the
|
|
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/semantics.html#the-abbr">Section 3.10.9, The abbr element</a>” in a
|
|
diff-marked version of the specification, showing
|
|
changes made between 22 January 2008 and 10 June
|
|
2008.</p></div>
|
|
<p>Refinements and changes were made to the text in
|
|
this section; the changes include:</p>
|
|
<ul>
|
|
<li>The text defining the meaning of the <code class="element">abbr</code> element was refined to
|
|
now read (changes highlighted): <q>The abbr element
|
|
represents an abbreviation or acronym, <em class="highlight">optionally with its
|
|
expansion</em>. The title attribute <em class="highlight">may</em> be used to provide an
|
|
expansion of the abbreviation. <em class="highlight">The attribute, if
|
|
specified</em>, must <del>only</del> contain an
|
|
expansion of the abbreviation, <em class="highlight">and nothing else</em>.</q>
|
|
</li>
|
|
<li>The following statement was
|
|
<strong>removed</strong> completely: “The title
|
|
attribute may be omitted if there is a dfn element
|
|
in the document whose defining term is the
|
|
abbreviation (the textContent of the abbr
|
|
element).”</li>
|
|
<li>The following authoring-conformance requirement
|
|
was added: <q>If an abbreviation is pluralised, the
|
|
expansion’s grammatical number (plural vs
|
|
singular) must match the grammatical number of the
|
|
contents of the element.</q></li>
|
|
<li>The set of examples was expanded and includes
|
|
the addition of an example prefaced by the following
|
|
text: <q>This paragraph marks up an abbreviation
|
|
without giving an expansion, possibly as a hook to
|
|
apply styles for abbreviations (e.g.
|
|
smallcaps).</q>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
<div id="the-progress" class="section">
|
|
<h2>Section 3.10.11, The progress element <a class="hash" href="#the-progress">#</a> <a class="toc-bak" href="#the-progress-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/semantics.html#the-progress">Section 3.10.11, The progress element</a>” in the
|
|
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/semantics.html#the-progress">Section 3.10.11, The progress element</a>” in a
|
|
diff-marked version of the specification, showing
|
|
changes made between 22 January 2008 and 10 June
|
|
2008.</p></div>
|
|
<p>In this section, a conformance statement was
|
|
updated to read: <q>If the progress bar is an
|
|
indeterminate progress bar, then the position DOM
|
|
attribute must return <code>-1</code></q>. (The
|
|
statement had previously indicated that is should
|
|
return <code>1</code>.) Also, the following note was
|
|
added:
|
|
<q>The progress element is the wrong element to use
|
|
for something that is just a gauge, as opposed to
|
|
task progress. For instance, indicating disk space
|
|
usage using progress would be inappropriate.
|
|
Instead, the meter element is available for such use
|
|
cases.</q></p>
|
|
</div>
|
|
<div id="the-meter" class="section">
|
|
<h2>Section 3.10.12, The meter element <a class="hash" href="#the-meter">#</a> <a class="toc-bak" href="#the-meter-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/semantics.html#the-meter">Section 3.10.12, The meter element</a>” in the
|
|
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/semantics.html#the-meter">Section 3.10.12, The meter element</a>” in a
|
|
diff-marked version of the specification, showing
|
|
changes made between 22 January 2008 and 10 June
|
|
2008.</p></div>
|
|
<p>In this section, the following changes were
|
|
made:</p>
|
|
<ul>
|
|
<li>In the interface definition for the
|
|
<code>HTMLMeterElement</code> interface, the data
|
|
type for all attributes was changed from
|
|
<code>long</code> to <code>float</code>.</li>
|
|
<li>A statement providing authoring requirements was
|
|
changed to now read (change highlighted): <q> The
|
|
recommended way of giving the value is to include
|
|
it as contents of the element, either as two
|
|
numbers (the higher number represents the maximum,
|
|
the other number the current value, <em class="highlight">and the minimum is assumed to be
|
|
zero</em>), or as a percentage or similar (using
|
|
one of the characters such as “%”), or as a
|
|
fraction.</q></li>
|
|
<li>A statement regarding the conformant values for
|
|
the attributes on the <code class="element">meter</code> was added; it states
|
|
that “their values must satisfy the following
|
|
inequalities”:
|
|
<ul>
|
|
<li>min ≤ value ≤ max</li>
|
|
<li>min ≤ low ≤ high ≤ max</li>
|
|
<li>min ≤ optimum ≤ max</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
<div id="the-code" class="section">
|
|
<h2>Section 3.10.13, The code element <a class="hash" href="#the-code">#</a> <a class="toc-bak" href="#the-code-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/semantics.html#the-code">Section 3.10.13, The code element</a>” in the
|
|
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/semantics.html#the-code">Section 3.10.13, The code element</a>” in a
|
|
diff-marked version of the specification, showing
|
|
changes made between 22 January 2008 and 10 June
|
|
2008.</p></div>
|
|
<p>In this section, the following statement was
|
|
<strong>removed</strong> completely: “the title
|
|
attribute has special semantics on this element when
|
|
used with the dfn element”,
|
|
and another example was
|
|
added.</p>
|
|
</div>
|
|
<div id="the-var" class="section">
|
|
<h2>Section 3.10.14, The var element <a class="hash" href="#the-var">#</a> <a class="toc-bak" href="#the-var-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/semantics.html#the-var">Section 3.10.14, The var element</a>” in the
|
|
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/semantics.html#the-var">Section 3.10.14, The var element</a>” in a
|
|
diff-marked version of the specification, showing
|
|
changes made between 22 January 2008 and 10 June
|
|
2008.</p></div>
|
|
<p>In this section, the following statement was
|
|
<strong>removed</strong> completely: “the title
|
|
attribute has special semantics on this element when
|
|
used with the dfn element”.</p>
|
|
</div>
|
|
<div id="the-samp" class="section">
|
|
<h2>Section 3.10.15, The samp element <a class="hash" href="#the-samp">#</a> <a class="toc-bak" href="#the-samp-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/semantics.html#the-samp">Section 3.10.15, The samp element</a>” in the
|
|
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/semantics.html#the-samp">Section 3.10.15, The samp element</a>” in a
|
|
diff-marked version of the specification, showing
|
|
changes made between 22 January 2008 and 10 June
|
|
2008.</p></div>
|
|
<p>In this section, the following statement was
|
|
<strong>removed</strong> completely: “the title
|
|
attribute has special semantics on this element when
|
|
used with the dfn element”.</p>
|
|
</div>
|
|
<div id="the-sub" class="section">
|
|
<h2>Section 3.10.17, The sub and sup elements <a class="hash" href="#the-sub">#</a> <a class="toc-bak" href="#the-sub-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/semantics.html#the-sub">Section 3.10.17, The sub and sup elements</a>” in the
|
|
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/semantics.html#the-sub">Section 3.10.17, The sub and sup elements</a>” in a
|
|
diff-marked version of the specification, showing
|
|
changes made between 22 January 2008 and 10 June
|
|
2008.</p></div>
|
|
<p>In this section, the following note was added:
|
|
<q>Authors are encouraged to use MathML for marking up
|
|
mathematics, but authors may opt to use sub and sup
|
|
if detailed mathematical markup is not
|
|
desired.</q></p>
|
|
</div>
|
|
<div id="the-span" class="section">
|
|
<h2>Section 3.10.18, The span element <a class="hash" href="#the-span">#</a> <a class="toc-bak" href="#the-span-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/semantics.html#the-span">Section 3.10.18, The span element</a>” in the
|
|
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/semantics.html#the-span">Section 3.10.18, The span element</a>” in a
|
|
diff-marked version of the specification, showing
|
|
changes made between 22 January 2008 and 10 June
|
|
2008.</p></div>
|
|
<p>In this section, the following statement was
|
|
<strong>removed</strong> completely: “the title
|
|
attribute has special semantics on this element when
|
|
used with the dfn element”; also removed was a
|
|
statement that the <code class="element">span</code>
|
|
element can be useful “when used in conjunction with
|
|
the dfn element”.</p>
|
|
</div>
|
|
<div id="the-i" class="section">
|
|
<h2>Section 3.10.19, The i element <a class="hash" href="#the-i">#</a> <a class="toc-bak" href="#the-i-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/semantics.html#the-i">Section 3.10.19, The i element</a>” in the
|
|
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/semantics.html#the-i">Section 3.10.19, The i element</a>” in a
|
|
diff-marked version of the specification, showing
|
|
changes made between 22 January 2008 and 10 June
|
|
2008.</p></div>
|
|
<p>In this section, the following changes were
|
|
made:</p>
|
|
<ul>
|
|
<li>A statement was <strong>removed</strong>
|
|
completely: “the title attribute has special
|
|
semantics on this element when used with the dfn
|
|
element”.</li>
|
|
<li>A refinement was made to one of the
|
|
examples.</li>
|
|
<li>The following note was added:
|
|
<blockquote>
|
|
<p><q>Authors are encouraged to use the
|
|
class attribute on the i element to identify why
|
|
the element is being used, so that if the style
|
|
of a particular use (e.g. dream sequences as
|
|
opposed to taxonomic terms) is to be changed at
|
|
a later date, the author doesn’t have to go
|
|
through the entire document (or series of
|
|
related documents) annotating each
|
|
use.</q></p>
|
|
</blockquote>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
<div id="the-ruby" class="section">
|
|
<h2>Section 3.10.22 [new], The ruby element <a class="hash" href="#the-ruby">#</a> <a class="toc-bak" href="#the-ruby-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/semantics.html#the-ruby">Section 3.10.22 [new], The ruby element</a>” in the
|
|
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/semantics.html#the-ruby">Section 3.10.22 [new], The ruby element</a>” in a
|
|
diff-marked version of the specification, showing
|
|
changes made between 22 January 2008 and 10 June
|
|
2008.</p></div>
|
|
<p>This section is newly added. It concerns the
|
|
<code class="element">ruby</code>
|
|
element, which allows more spans of content to be
|
|
marked up with ruby annotations (sometimes used, for
|
|
example, with East Asian characters to provide
|
|
“readings” or pronunciations for the characters).</p>
|
|
</div>
|
|
<div id="the-rt" class="section">
|
|
<h2>Section 3.10.23 [new], The rt element <a class="hash" href="#the-rt">#</a> <a class="toc-bak" href="#the-rt-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/semantics.html#the-rt">Section 3.10.23 [new], The rt element</a>” in the
|
|
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/semantics.html#the-rt">Section 3.10.23 [new], The rt element</a>” in a
|
|
diff-marked version of the specification, showing
|
|
changes made between 22 January 2008 and 10 June
|
|
2008.</p></div>
|
|
<p>This section is newly added. It concerns the
|
|
<code class="element">rt</code>
|
|
element, which is used to mark up the “text
|
|
component” of a ruby annotation.</p>
|
|
</div>
|
|
<div id="the-rp" class="section">
|
|
<h2>Section 3.10.24 [new], The rp element <a class="hash" href="#the-rp">#</a> <a class="toc-bak" href="#the-rp-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/semantics.html#the-rp">Section 3.10.24 [new], The rp element</a>” in the
|
|
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/semantics.html#the-rp">Section 3.10.24 [new], The rp element</a>” in a
|
|
diff-marked version of the specification, showing
|
|
changes made between 22 January 2008 and 10 June
|
|
2008.</p></div>
|
|
<p>This section is newly added. It concerns the
|
|
<code class="element">rp</code>
|
|
element, which can be used to provide parentheses
|
|
around a ruby “text component” of a ruby annotation,
|
|
to be shown by user agents that don’t support ruby
|
|
annotations.</p>
|
|
</div>
|
|
<div id="usage" class="section">
|
|
<h2>Section 3.10.25 [new], Usage summary <a class="hash" href="#usage">#</a> <a class="toc-bak" href="#usage-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/semantics.html#usage">Section 3.10.25 [new], Usage summary</a>” in the
|
|
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/semantics.html#usage">Section 3.10.25 [new], Usage summary</a>” in a
|
|
diff-marked version of the specification, showing
|
|
changes made between 22 January 2008 and 10 June
|
|
2008.</p></div>
|
|
<p>This section is newly added. It is a placeholder
|
|
with an editorial note that reads, “We need to
|
|
summarise the various elements, in particular to
|
|
distinguish b/i/em/strong/var/q/mark/cite.”</p>
|
|
</div>
|
|
<div id="footnotes" class="section">
|
|
<h2>Section 3.10.26 [new], Footnotes <a class="hash" href="#footnotes">#</a> <a class="toc-bak" href="#footnotes-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/semantics.html#footnotes">Section 3.10.26 [new], Footnotes</a>” in the
|
|
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/semantics.html#footnotes">Section 3.10.26 [new], Footnotes</a>” in a
|
|
diff-marked version of the specification, showing
|
|
changes made between 22 January 2008 and 10 June
|
|
2008.</p></div>
|
|
<p>This section is newly added. The introduction to
|
|
the section states, ”HTML does not have a dedicated
|
|
mechanism for marking up footnotes. Here are the
|
|
recommended alternatives”, and the section includes
|
|
descriptions and examples of use of the
|
|
<code class="htmlattribute">title</code> attribute,
|
|
<code class="element">a</code> element,
|
|
and the
|
|
<code class="element">aside</code> element
|
|
in marking up footnote content.</p>
|
|
</div>
|
|
</div>
|
|
<div id="edits" class="section">
|
|
<h2>Section 3.11 [was 3.13], Edits <a class="hash" href="#edits">#</a> <a class="toc-bak" href="#edits-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/semantics.html#edits">Section 3.11 [was 3.13], Edits</a>” in the
|
|
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/semantics.html#edits">Section 3.11 [was 3.13], Edits</a>” in a
|
|
diff-marked version of the specification, showing
|
|
changes made between 22 January 2008 and 10 June
|
|
2008.</p></div>
|
|
<p>This section concerns the
|
|
<code class="element">ins</code>
|
|
and
|
|
<code class="element">del</code>
|
|
elements. In the introduction
|
|
to this section, a large note with examples was moved
|
|
out to form a separate subsection, “Edits and
|
|
paragraphs” (which notes and illustrates the
|
|
difficulties of attempting to mark up edits that cross
|
|
<strong>implied paragraphs</strong>). The text of the
|
|
sections on the
|
|
<code class="element">ins</code>
|
|
and
|
|
<code class="element">del</code>
|
|
themselves remains unchanged.</p>
|
|
<div id="edits0" class="section">
|
|
<h2>Section 3.11.4 [new], Edits and paragraphs <a class="hash" href="#edits0">#</a> <a class="toc-bak" href="#edits0-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/semantics.html#edits0">Section 3.11.4 [new], Edits and paragraphs</a>” in the
|
|
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/semantics.html#edits0">Section 3.11.4 [new], Edits and paragraphs</a>” in a
|
|
diff-marked version of the specification, showing
|
|
changes made between 22 January 2008 and 10 June
|
|
2008.</p></div>
|
|
<p>This subsection was created by moving a large note
|
|
out of the introduction to its parent section,
|
|
“Edits”. The content of this subsection provides
|
|
information and examples illustrating the difficulties
|
|
of attempting to mark up edits that cross
|
|
<strong>implied paragraphs</strong>).</p>
|
|
</div>
|
|
<div id="edits1" class="section">
|
|
<h2>Section 3.11.5 [new], Edits and lists <a class="hash" href="#edits1">#</a> <a class="toc-bak" href="#edits1-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/semantics.html#edits1">Section 3.11.5 [new], Edits and lists</a>” in the
|
|
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/semantics.html#edits1">Section 3.11.5 [new], Edits and lists</a>” in a
|
|
diff-marked version of the specification, showing
|
|
changes made between 22 January 2008 and 10 June
|
|
2008.</p></div>
|
|
<p>This section, which is newly added, relates to use
|
|
of the
|
|
<code class="element">ins</code>
|
|
and
|
|
<code class="element">del</code>
|
|
elements with list items. The text provides both
|
|
examples and authoring-conformance requirements, and
|
|
begins with the following statement: <q>The content
|
|
models of the ol and ul elements do not allow ins
|
|
and del elements as children. Lists always represent
|
|
all their items, including items that would
|
|
otherwise have been marked as deleted.</q></p>
|
|
</div>
|
|
</div>
|
|
<div id="embedded0" class="section">
|
|
<h2>Section 3.12 [was 3.14], Embedded content <a class="hash" href="#embedded0">#</a> <a class="toc-bak" href="#embedded0-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/semantics.html#embedded0">Section 3.12 [was 3.14], Embedded content</a>” in the
|
|
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/semantics.html#embedded0">Section 3.12 [was 3.14], Embedded content</a>” in a
|
|
diff-marked version of the specification, showing
|
|
changes made between 22 January 2008 and 10 June
|
|
2008.</p></div>
|
|
<p>This section concerns elements used to embed non-text
|
|
content in HTML pages, primarily binary media content
|
|
(such as video and audio content, static images, images
|
|
that are dynamically created through scripting), but
|
|
also content in other markup languages (SVG and
|
|
MathML).</p>
|
|
<div id="the-figure" class="section">
|
|
<h2>Section 3.12.1, The figure element <a class="hash" href="#the-figure">#</a> <a class="toc-bak" href="#the-figure-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/semantics.html#the-figure">Section 3.12.1, The figure element</a>” in the
|
|
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/semantics.html#the-figure">Section 3.12.1, The figure element</a>” in a
|
|
diff-marked version of the specification, showing
|
|
changes made between 22 January 2008 and 10 June
|
|
2008.</p></div>
|
|
<p>In this section, the following changes were made:</p>
|
|
<ul>
|
|
<li>The category “sectioning root” was added to the
|
|
list of categories to which the <code class="element">figure</code> element belongs.</li>
|
|
<li>The content model for the element was changed to
|
|
make the <code class="element">legend</code> element
|
|
optional as a child of <code class="element">figure</code> (instead of being a
|
|
required child), and the first statement in the prose
|
|
description of the element was updated to read, “The
|
|
figure element represents some flow content, <em class="highlight">optionally with a caption, which can
|
|
be moved away from the main flow of the document
|
|
without affecting the document’s meaning.</em></li>
|
|
<li>The following statement was added:
|
|
<blockquote>
|
|
<p><q>The element can thus be used to
|
|
annotate illustrations, diagrams, photos, code
|
|
listings, etc, that are referred to from the main
|
|
content of the document, but that could, without
|
|
affecting the flow of the document, be moved away
|
|
from that primary content, e.g. to the side of the
|
|
page, to dedicated pages, or to an
|
|
appendix.</q></p>
|
|
</blockquote></li>
|
|
<li>Several examples were added.</li>
|
|
</ul>
|
|
</div>
|
|
<div id="the-img" class="section">
|
|
<h2>Section 3.12.2, The img element <a class="hash" href="#the-img">#</a> <a class="toc-bak" href="#the-img-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/semantics.html#the-img">Section 3.12.2, The img element</a>” in the
|
|
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/semantics.html#the-img">Section 3.12.2, The img element</a>” in a
|
|
diff-marked version of the specification, showing
|
|
changes made between 22 January 2008 and 10 June
|
|
2008.</p></div>
|
|
<p>In this section, the following changes were made:</p>
|
|
<ul>
|
|
<li>The title of a subsection that discusses
|
|
specific use cases from the element was changed from
|
|
“A key part of the content that doesn’t have an
|
|
obvious textual alternative” to simply, “A key part of
|
|
the content”. The text of that same subsection was
|
|
changed to now read:
|
|
<blockquote>
|
|
<p><q>In some cases, the image is a critical
|
|
part of the content. This could be the case, for
|
|
instance, on a page that is part of a photo
|
|
gallery. The image is the whole point of the page
|
|
containing it.</q></p>
|
|
</blockquote>
|
|
|
|
<blockquote>
|
|
<p><q>When it is possible for alternative
|
|
text to be provided, for example if the image is
|
|
part of a series of screenshots in a magazine
|
|
review, or part of a comic strip, or is a
|
|
photograph in a blog entry about that photograph,
|
|
text that conveys can serve as a substitute for
|
|
the image must be given as the contents of the alt
|
|
attribute.</q></p>
|
|
</blockquote>
|
|
|
|
<blockquote>
|
|
<p><q>In a rare subset of these cases, there
|
|
might be no alternative text available. This could
|
|
be the case, for instance, on a photo upload site,
|
|
if the site has received 8000 photos from a user
|
|
without the user annotating any of them. In such
|
|
cases, the alt attribute may be omitted, but the
|
|
alt attribute should be included, with a useful
|
|
value, if at all possible.</q></p>
|
|
</blockquote>
|
|
|
|
<blockquote>
|
|
<p><q>In any case, if an image is a key part
|
|
of the content, the alt attribute must not be
|
|
specified with an empty value.</q></p>
|
|
</blockquote>
|
|
</li>
|
|
<li>The <code class="htmlattribute">alt</code> text for the
|
|
“Screenshot of a KDE desktop” example was expanded.</li>
|
|
<li>The prefatory text for one of the examples was updated
|
|
to read: <q>A photo on a photo-sharing site, if the site
|
|
received the image with no metadata other than the
|
|
caption.</q></li>
|
|
<li>A portion of a note that had read, “the alt attribute
|
|
should only be omitted when no alternative text is
|
|
available and none can be made available, e.g. on
|
|
automated image gallery sites” was revised to now read
|
|
(change portion highlighted), <q>the alt attribute <em class="highlight">is only allowed to</em> be omitted
|
|
when no alternative text is available and none can be
|
|
made available, e.g. on automated image gallery
|
|
sites.</q></li>
|
|
<li>A statement that had read, “Once the download has
|
|
completed, if the image is a valid image, the user agent
|
|
must fire a load event on the img element” was emended to
|
|
read (added text highlighted), <q>Once the download has
|
|
completed, if the image is a valid image, the user agent
|
|
must fire a load event on the img element <em class="highlight">(this happens after complete starts
|
|
returning true)</em>.</q></li>
|
|
<li>A note was added with the following text: <q>The value
|
|
of complete can change while a script is
|
|
executing.</q></li>
|
|
<li>Some additional examples were added, prefaced by the
|
|
following text:
|
|
<blockquote>
|
|
<p><q>A single image can have different
|
|
appropriate alternative text depending on the
|
|
context.</q></p>
|
|
</blockquote>
|
|
<blockquote>
|
|
<p><q> In each of the following cases, the same
|
|
image is used, yet the alt text is different each
|
|
time.</q></p>
|
|
</blockquote>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
<div id="the-iframe" class="section">
|
|
<h2>Section 3.12.3, The iframe element <a class="hash" href="#the-iframe">#</a> <a class="toc-bak" href="#the-iframe-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/semantics.html#the-iframe">Section 3.12.3, The iframe element</a>” in the
|
|
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/semantics.html#the-iframe">Section 3.12.3, The iframe element</a>” in a
|
|
diff-marked version of the specification, showing
|
|
changes made between 22 January 2008 and 10 June
|
|
2008.</p></div>
|
|
<p>Very substantial changes were made in this section
|
|
to introduce the following:</p>
|
|
<ul>
|
|
<li>An
|
|
<code class="element">iframe</code>
|
|
<strong>name</strong>,
|
|
a <strong>valid browsing
|
|
context name</strong> associated with the iframe.</li>
|
|
<li>An
|
|
<code class="element">iframe</code>
|
|
<strong>sandbox</strong>,
|
|
which <q>enables a set of extra restrictions on any
|
|
content hosted by the iframe</q>.</li>
|
|
<li>An
|
|
<code class="element">iframe</code>
|
|
<strong>seamless</strong>
|
|
flag, which <q>indicates that the iframe element’s
|
|
browsing context is to be rendered in a manner that
|
|
makes it appear to be part of the containing
|
|
document (seamlessly included in the parent
|
|
document).</q></li>
|
|
</ul>
|
|
<p>A number of specific changes were made to introduce the above —
|
|
among them, the following:</p>
|
|
<ul>
|
|
<li>The
|
|
<code class="htmlattribute">name</code>,
|
|
<code class="htmlattribute">sandbox</code>,
|
|
<code class="htmlattribute">seamless</code>,
|
|
<code class="htmlattribute">width</code>,
|
|
and
|
|
<code class="htmlattribute">height</code>
|
|
content attributes were added to the list of conformant
|
|
attributes for the element, and the
|
|
<code class="domattribute">name</code>,
|
|
<code class="domattribute">sandbox</code>,
|
|
<code class="domattribute">seamless</code>,
|
|
<code class="domattribute">width</code>,
|
|
and
|
|
<code class="domattribute">height</code>
|
|
DOM attributes were added to the interface definition
|
|
for the <code>HTMLIFrameElement</code> interface.</li>
|
|
<li>Conformance criteria for the
|
|
<code class="htmlattribute">name</code>,
|
|
<code class="htmlattribute">sandbox</code>,
|
|
<code class="htmlattribute">seamless</code>,
|
|
<code class="htmlattribute">width</code>,
|
|
and
|
|
<code class="htmlattribute">height</code>
|
|
content attributes and
|
|
<code class="domattribute">name</code>,
|
|
<code class="domattribute">sandbox</code>,
|
|
<code class="domattribute">seamless</code>,
|
|
<code class="domattribute">width</code>,
|
|
and
|
|
<code class="domattribute">height</code>
|
|
DOM attribute were added.</li>
|
|
<li>Extensive text related to the
|
|
<code class="htmlattribute">name</code>,
|
|
<code class="htmlattribute">sandbox</code>,
|
|
and
|
|
<code class="htmlattribute">seamless</code>
|
|
attributes was added.</li>
|
|
</ul>
|
|
</div>
|
|
<div id="the-embed" class="section">
|
|
<h2>Section 3.12.4, The embed element <a class="hash" href="#the-embed">#</a> <a class="toc-bak" href="#the-embed-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/semantics.html#the-embed">Section 3.12.4, The embed element</a>” in the
|
|
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/semantics.html#the-embed">Section 3.12.4, The embed element</a>” in a
|
|
diff-marked version of the specification, showing
|
|
changes made between 22 January 2008 and 10 June
|
|
2008.</p></div>
|
|
<p>In this section, the following changes were made:</p>
|
|
<ul>
|
|
<li>Conformance criteria were added in relation to
|
|
behavior when the <strong>sandboxed plugins browsing
|
|
context flag</strong> is set.</li>
|
|
<li>In a number of places in the section, the word
|
|
“handler” was replaced by the word
|
|
<strong>plugin</strong>.</li>
|
|
<li>Two statements related to plugins were revised
|
|
and moved out of this section and into the
|
|
“Terminology” section.</li>
|
|
</ul>
|
|
</div>
|
|
<div id="the-object" class="section">
|
|
<h2>Section 3.12.5, The object element <a class="hash" href="#the-object">#</a> <a class="toc-bak" href="#the-object-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/semantics.html#the-object">Section 3.12.5, The object element</a>” in the
|
|
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/semantics.html#the-object">Section 3.12.5, The object element</a>” in a
|
|
diff-marked version of the specification, showing
|
|
changes made between 22 January 2008 and 10 June
|
|
2008.</p></div>
|
|
<p>In this section, the following changes were made:</p>
|
|
<ul>
|
|
<li>The
|
|
<code class="htmlattribute">name</code>
|
|
content attribute was added to the list of conformant
|
|
attributes for the element, and the
|
|
<code class="domattribute">name</code>
|
|
DOM attribute was added to the interface definition
|
|
for the <code>HTMLObjectElement</code> interface.</li>
|
|
<li>Conformance criteria for the
|
|
<code class="htmlattribute">name</code>
|
|
content attribute and
|
|
<code class="domattribute">name</code>
|
|
DOM attribute were added.</li>
|
|
<li>In a number of places in the section, the word
|
|
“handler” was replaced by the word
|
|
<strong>plugin</strong>.</li>
|
|
<li>The phrase “third-party software package” was
|
|
replaced with the term <strong>plugin</strong>.</li>
|
|
<li>Some specific statements were added in relation
|
|
to the case
|
|
when <strong>plugins aren’t being sandboxed</strong>
|
|
and the case when the <strong>sandboxed plugins browsing
|
|
context flag</strong> is set.</li>
|
|
<li>The following statement was added:
|
|
<blockquote>
|
|
<p><q>Whenever
|
|
the name attribute is set, if the object element
|
|
has a nested browsing context, its name must be
|
|
changed to the new value. If the attribute is
|
|
removed, if the object element has a browsing
|
|
context, the browsing context name must be set to
|
|
the empty string.</q></p>
|
|
</blockquote></li>
|
|
<li>Significant revisions and additions were made to
|
|
the algorithm for checking what the object element
|
|
represents, including a step for checking for the
|
|
presence of the <code class="htmlattribute">classid</code> attribute and
|
|
acting on its value, and changes to the requirements
|
|
for the case where the <code class="htmlattribute">data</code> attribute is
|
|
present.</li>
|
|
<li>The following note was added:
|
|
<blockquote>
|
|
<p><q>The object
|
|
element can, in certain cases as described above,
|
|
instantiate third-party handlers. This
|
|
specification does not define a mechanism for
|
|
interacting with third-party handlers, as it is
|
|
expected to be user-agent-specific. Some UAs might
|
|
opt to support a plugin mechanism such as the
|
|
Netscape Plugin API; others may use remote content
|
|
convertors or have built-in support for certain
|
|
types.</q></p>
|
|
</blockquote>
|
|
</li>
|
|
<li>Two examples were added.</li>
|
|
</ul>
|
|
</div>
|
|
<div id="the-param" class="section">
|
|
<h2>Section 3.12.6, The param element <a class="hash" href="#the-param">#</a> <a class="toc-bak" href="#the-param-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/semantics.html#the-param">Section 3.12.6, The param element</a>” in the
|
|
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/semantics.html#the-param">Section 3.12.6, The param element</a>” in a
|
|
diff-marked version of the specification, showing
|
|
changes made between 22 January 2008 and 10 June
|
|
2008.</p></div>
|
|
<p>In this section, an instance of the term “handlers”
|
|
was replaced by the term <strong>plugins</strong>.</p>
|
|
</div>
|
|
<div id="the-video" class="section">
|
|
<h2>Section 3.12.7, The video element <a class="hash" href="#the-video">#</a> <a class="toc-bak" href="#the-video-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/semantics.html#the-video">Section 3.12.7, The video element</a>” in the
|
|
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/semantics.html#the-video">Section 3.12.7, The video element</a>” in a
|
|
diff-marked version of the specification, showing
|
|
changes made between 22 January 2008 and 10 June
|
|
2008.</p></div>
|
|
<p>In this section, the following changes were made:</p>
|
|
<ul>
|
|
<li>Revisions were made to conformance requirements
|
|
related to the case where the
|
|
<code class="element">video</code>
|
|
element is paused.</li>
|
|
<li>In a section of the text that concerns where
|
|
video content is rendered inside the element’s
|
|
playback area, the term “aspect ratio” was changed
|
|
to <q>adjusted aspect ratio</q>, and a statement was
|
|
added to say, <q>The
|
|
adjusted aspect ratio of a video is the ratio of
|
|
its adjusted width to its intrinsic height. The
|
|
adjusted width of a video is its intrinsic width
|
|
multiplied by its pixel ratio.</q></li>
|
|
<li>The following editorial note was added: “The
|
|
spec does not currently define the interaction of
|
|
the “controls” attribute with the “height” and
|
|
“width” attributes. This will likely be defined in
|
|
the rendering section based on implementation
|
|
experience. So far, browsers seem to be making the
|
|
controls overlay-only, thus somewhat sidestepping
|
|
the issue.”</li>
|
|
</ul>
|
|
</div>
|
|
<div id="the-source" class="section">
|
|
<h2>Section 3.12.9, The source element <a class="hash" href="#the-source">#</a> <a class="toc-bak" href="#the-source-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/semantics.html#the-source">Section 3.12.9, The source element</a>” in the
|
|
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/semantics.html#the-source">Section 3.12.9, The source element</a>” in a
|
|
diff-marked version of the specification, showing
|
|
changes made between 22 January 2008 and 10 June
|
|
2008.</p></div>
|
|
<p>In this section, the following changes were made:</p>
|
|
<ul>
|
|
<li>The
|
|
<code class="htmlattribute">pixelratio</code>
|
|
content attribute was added to the list of conformant
|
|
attributes for the element, and the
|
|
<code class="domattribute">pixelratio</code>
|
|
DOM attribute was added to the interface definition for
|
|
the <code>HTMLSourceElement</code> interface.</li>
|
|
<li>Conformance criteria for the
|
|
<code class="htmlattribute">pixelratio</code>
|
|
content attribute and
|
|
<code class="domattribute">pixelratio</code>
|
|
DOM attribute were added, including the following
|
|
statement:
|
|
<blockquote>
|
|
<p><q>The pixelratio attribute allows the
|
|
author to specify the pixel ratio of anamorphic
|
|
media resources that do not self-describe their
|
|
pixel ratio. The attribute value, if specified,
|
|
must be a valid floating point number giving the
|
|
ratio of the correct rendered width of each
|
|
pixel to the actual width of each pixel in the
|
|
image (i.e., the multiple by which the video’s
|
|
intrinsic width is to be multiplied to obtain
|
|
the rendered width that gives the correct aspect
|
|
ratio). The default value, if the attribute is
|
|
omitted or cannot be parsed, is
|
|
1.0.</q></p>
|
|
</blockquote></li>
|
|
</ul>
|
|
</div>
|
|
<div id="media" class="section">
|
|
<h2>Section 3.12.10, Media elements <a class="hash" href="#media">#</a> <a class="toc-bak" href="#media-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/semantics.html#media">Section 3.12.10, Media elements</a>” in the
|
|
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/semantics.html#media">Section 3.12.10, Media elements</a>” in a
|
|
diff-marked version of the specification, showing
|
|
changes made between 22 January 2008 and 10 June
|
|
2008.</p></div>
|
|
<p>In this section, the following changes were made:</p>
|
|
<ul>
|
|
<li>The
|
|
<code class="domattribute">bufferingThrottled</code>,
|
|
<code class="domattribute">bufferedBytes</code>,
|
|
and
|
|
<code class="domattribute">totalBytes</code>
|
|
attributes were added to the interface definition
|
|
for the <code>HTMLMediaElement</code> interface.</li>
|
|
<li>Conformance criteria for the
|
|
<code class="domattribute">bufferingThrottled</code>,
|
|
<code class="domattribute">bufferedBytes</code>,
|
|
and
|
|
<code class="domattribute">totalBytes</code>
|
|
DOM attributes were added.</li>
|
|
<li>The algorithm for picking a media resource for a
|
|
media element was revised to include checking for
|
|
the presence and value of the
|
|
<code class="htmlattribute">pixelratio</code>
|
|
attribute.</li>
|
|
<li>In the algorithm that runs when the <code class="method">load()</code> method on a media
|
|
element is invoked, a step that had read, “The user
|
|
agent must then set the begun flag to true and fire
|
|
a progress event called begin at the media element”
|
|
was revised to read (change highlighted), <q>The
|
|
user agent must then set the begun flag to true
|
|
and fire a progress event called <em class="highlight">loadstart</em> at the
|
|
media element.</q></li>
|
|
<li>A part of the of the <strong>seeking
|
|
algorithm</strong> was revised, and conformance
|
|
statement that concerns determining when to fire the
|
|
<code>waiting</code> event at a media element was
|
|
revised to incorporate the case of the seeking
|
|
algorithm being invoked</li>
|
|
<li>The algorithm for responding to the invocation
|
|
of the <code class="method">play()</code> method was
|
|
revised.</li>
|
|
<li>Language that stated conformance
|
|
requirements for ECMAScript implementations in
|
|
relation to the <code>VoidCallback</code> interface
|
|
was removed.</li>
|
|
<li>In the “User interface” subsection, an instance
|
|
of the phrase “if scripting is disabled” was changed
|
|
to read, “if the media element is <strong>without
|
|
script</strong>”.</li>
|
|
<li>A small revision was made to a statement in the
|
|
“Time ranges” subsection.</li>
|
|
<li>A new “Byte ranges” subsection was added. It
|
|
defines the <code>ByteRanges</code>
|
|
interface and related conformance requirements.</li>
|
|
<li>In the table of events in the “Event summary”
|
|
subsection, the event that had been named <code class="event">begin</code> was re-named to <code class="event">loadstart</code>, and entries in the
|
|
table were added for the
|
|
<code class="event">seeking</code>
|
|
and
|
|
<code class="event">seeked</code>
|
|
events.</li>
|
|
</ul>
|
|
</div>
|
|
<div id="the-canvas" class="section">
|
|
<h2>Section 3.12.11, The canvas element <a class="hash" href="#the-canvas">#</a> <a class="toc-bak" href="#the-canvas-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/semantics.html#the-canvas">Section 3.12.11, The canvas element</a>” in the
|
|
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/semantics.html#the-canvas">Section 3.12.11, The canvas element</a>” in a
|
|
diff-marked version of the specification, showing
|
|
changes made between 22 January 2008 and 10 June
|
|
2008.</p></div>
|
|
<p>In this section, the following changes were
|
|
made:</p>
|
|
<ul>
|
|
<li>The following statements were added:
|
|
<blockquote>
|
|
<p><q>Arguments other than the contextId
|
|
must be ignored, and must not cause the user
|
|
agent to raise an exception (as would normally
|
|
occur if a method was called with the wrong
|
|
number of arguments).</q></p>
|
|
</blockquote>
|
|
<blockquote>
|
|
<p><q>If the canvas has no pixels (i.e.
|
|
either its horizontal dimension or its vertical
|
|
dimension is zero) then the method must return
|
|
the string “data:,”. (This is the shortest data:
|
|
URI; it represents the empty string in a
|
|
text/plain resource.)</q></p>
|
|
</blockquote>
|
|
</li>
|
|
<li>Some instances of the phrase “with scripting
|
|
enabled” and “with scripting disabled” were changed
|
|
to refer instead to the states <strong>with
|
|
script</strong> and <strong>without
|
|
script</strong>.</li>
|
|
<li>A note concerning the case of trying to use the
|
|
<code class="method">toDataURL()</code> method with
|
|
image types other than PNG was emended to read
|
|
(added text highlighted):
|
|
<blockquote>
|
|
<p><q>When trying to use types other than
|
|
image/png, authors can check if the image was
|
|
really returned in the requested format by
|
|
checking to see if the returned string starts
|
|
with one the exact strings “data:image/png,” or
|
|
“data:image/png;”. If it does, the image is PNG,
|
|
and thus the requested type was not supported.
|
|
(The one exception to this is if the canvas has
|
|
either no height or no width, in which case the
|
|
result might simply be
|
|
“data:,”.)</q></p>
|
|
</blockquote>
|
|
</li>
|
|
<li>A statement regarding preventing information
|
|
leakage from the
|
|
<code class="method">toDataURL()</code>
|
|
and
|
|
<code class="method">getImageData()</code>
|
|
methods
|
|
was moved to become part of a newly added “Security
|
|
with canvas elements” subsection.</li>
|
|
</ul>
|
|
<div id="the-2d" class="section">
|
|
<h2>Section 3.12.11.1, The 2D context <a class="hash" href="#the-2d">#</a> <a class="toc-bak" href="#the-2d-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/semantics.html#the-2d">Section 3.12.11.1, The 2D context</a>” in the
|
|
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/semantics.html#the-2d">Section 3.12.11.1, The 2D context</a>” in a
|
|
diff-marked version of the specification, showing
|
|
changes made between 22 January 2008 and 10 June
|
|
2008.</p></div>
|
|
<p>This section provides an extensive
|
|
<strong>immediate-mode graphics API</strong> for use
|
|
with the <code class="element">canvas</code>
|
|
element. In this section, the following changes were
|
|
made:</p>
|
|
<ul>
|
|
<li>In the interface definition for the
|
|
<code>CanvasRenderingContext2D</code> interface,
|
|
the following DOM attributes were added:
|
|
<ul>
|
|
<li><code class="domattribute">font</code></li>
|
|
<li><code class="domattribute">textAlign</code></li>
|
|
<li><code class="domattribute">textBaseline</code></li>
|
|
</ul>
|
|
Also, the following methods were added:
|
|
<ul>
|
|
<li><code class="method">fillText</code></li>
|
|
<li><code class="method">strokeText</code></li>
|
|
<li><code class="method">measureText</code></li>
|
|
<li><code class="method">createImageData</code></li>
|
|
</ul>
|
|
In addition, the <code>TextMetrics</code>
|
|
interface was added.</li>
|
|
<li>A number of significant refinements were made
|
|
to existing text throughout various
|
|
subsections.</li>
|
|
<li>A new and extensive “Text” subsection was
|
|
added. It concerns rendering of text to a
|
|
canvas.</li>
|
|
<li>A new “Security with canvas elements”
|
|
subsection was added. It begins with the following
|
|
statement:
|
|
<blockquote><p>
|
|
<q>Information leakage can occur if
|
|
scripts from one origin are exposed to images
|
|
from another origin (one that isn’t the
|
|
same).</q></p>
|
|
</blockquote>
|
|
<blockquote>
|
|
<p><q>To mitigate this, canvas elements
|
|
are defined to have a flag indicating whether
|
|
they are origin-clean. All canvas elements
|
|
must start with their origin-clean set to
|
|
true.</q></p>
|
|
</blockquote>
|
|
It then lists a specific set actions, each of
|
|
which must cause the <var>origin-clean</var> flag
|
|
to be set to <code>false</code>. In addition, it
|
|
includes the following statements:
|
|
<blockquote>
|
|
<p><q>Whenever the toDataURL() method of
|
|
a canvas element whose origin-clean flag is
|
|
set to false is called, the method must
|
|
immediately raise a security
|
|
exception.</q></p>
|
|
</blockquote>
|
|
<blockquote>
|
|
<p><q>Whenever the getImageData() method
|
|
of the 2D context of a canvas element whose
|
|
origin-clean flag is set to false is called,
|
|
the method must immediately raise a security
|
|
exception.</q></p>
|
|
</blockquote>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
<div id="the-map" class="section">
|
|
<h2>Section 3.12.12, The map element <a class="hash" href="#the-map">#</a> <a class="toc-bak" href="#the-map-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/semantics.html#the-map">Section 3.12.12, The map element</a>” in the
|
|
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/semantics.html#the-map">Section 3.12.12, The map element</a>” in a
|
|
diff-marked version of the specification, showing
|
|
changes made between 22 January 2008 and 10 June
|
|
2008.</p></div>
|
|
<p>In this section, the following changes were made:</p>
|
|
<ul>
|
|
<li>The content model for the element was changed to
|
|
add as an element-specific attribute the
|
|
<code class="htmlattribute">name</code>
|
|
attribute, which “gives the map a name so that it can
|
|
be referenced”.</li>
|
|
<li>The
|
|
<code class="domattribute">name</code>
|
|
DOM attribute was added to the interface definition
|
|
for the
|
|
<code>HTMLMapElement</code>
|
|
interface.</li>
|
|
</ul>
|
|
</div>
|
|
<div id="the-area" class="section">
|
|
<h2>Section 3.12.13, The area element <a class="hash" href="#the-area">#</a> <a class="toc-bak" href="#the-area-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/semantics.html#the-area">Section 3.12.13, The area element</a>” in the
|
|
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/semantics.html#the-area">Section 3.12.13, The area element</a>” in a
|
|
diff-marked version of the specification, showing
|
|
changes made between 22 January 2008 and 10 June
|
|
2008.</p></div>
|
|
<p>In this section, the following statement was added:
|
|
“The DOM attribute shape must reflect the shape
|
|
content attribute, limited to only known values.”</p>
|
|
</div>
|
|
<div id="image-maps" class="section">
|
|
<h2>Section 3.12.14, Image maps <a class="hash" href="#image-maps">#</a> <a class="toc-bak" href="#image-maps-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/semantics.html#image-maps">Section 3.12.14, Image maps</a>” in the
|
|
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/semantics.html#image-maps">Section 3.12.14, Image maps</a>” in a
|
|
diff-marked version of the specification, showing
|
|
changes made between 22 January 2008 and 10 June
|
|
2008.</p></div>
|
|
<p>In this section, some instances of the phrase
|
|
“hashed ID reference” were changed to “hash-name reference”.</p>
|
|
</div>
|
|
<div id="mathml" class="section">
|
|
<h2>Section 3.12.15 [new], MathML <a class="hash" href="#mathml">#</a> <a class="toc-bak" href="#mathml-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/semantics.html#mathml">Section 3.12.15 [new], MathML</a>” in the
|
|
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/semantics.html#mathml">Section 3.12.15 [new], MathML</a>” in a
|
|
diff-marked version of the specification, showing
|
|
changes made between 22 January 2008 and 10 June
|
|
2008.</p></div>
|
|
<p>This short section is newly added. It reads in
|
|
whole:</p>
|
|
<blockquote>
|
|
<p><q>The math element from the MathML
|
|
namespace falls into the embedded content category
|
|
for the purposes of the content models in this
|
|
specification.</q></p>
|
|
</blockquote>
|
|
|
|
<blockquote>
|
|
<p><q>User agents must handle text other than
|
|
inter-element whitespace found in MathML elements
|
|
whose content models do not allow raw text by
|
|
pretending for the purposes of MathML content
|
|
models, layout, and rendering that that text is
|
|
actually wrapped in an mtext element in the MathML
|
|
namespace. (Such text is not, however,
|
|
conforming.)</q></p>
|
|
</blockquote>
|
|
|
|
<blockquote>
|
|
<p><q>User agents must act as if any MathML element
|
|
whose contents does not match the element’s
|
|
content model was replaced, for the purposes of
|
|
MathML layout and rendering, by an merror element
|
|
in the MathML namespace containing some appropiate
|
|
error message.</q></p>
|
|
</blockquote>
|
|
|
|
<blockquote>
|
|
<p><q>To enable authors to use MathML tools that only
|
|
accept MathML in its XML form, interactive HTML
|
|
user agents are encouraged to provide a way to
|
|
export any MathML fragment as a
|
|
namespace-well-formed XML
|
|
fragment.</q></p>
|
|
</blockquote>
|
|
</div>
|
|
<div id="svg" class="section">
|
|
<h2>Section 3.12.16 [new], SVG <a class="hash" href="#svg">#</a> <a class="toc-bak" href="#svg-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/semantics.html#svg">Section 3.12.16 [new], SVG</a>” in the
|
|
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/semantics.html#svg">Section 3.12.16 [new], SVG</a>” in a
|
|
diff-marked version of the specification, showing
|
|
changes made between 22 January 2008 and 10 June
|
|
2008.</p></div>
|
|
<p>This short section is newly added. It reads in
|
|
whole:</p>
|
|
<blockquote>
|
|
<p><q>The svg element from the SVG namespace
|
|
falls into the embedded content category for the
|
|
purposes of the content models in this
|
|
specification.</q></p>
|
|
</blockquote>
|
|
|
|
<blockquote>
|
|
<p><q>To enable authors to use SVG tools that only
|
|
accept SVG in its XML form, interactive HTML user
|
|
agents are encouraged to provide a way to export
|
|
any SVG fragment as a namespace-well-formed XML
|
|
fragment.</q></p>
|
|
</blockquote>
|
|
</div>
|
|
</div>
|
|
<div id="tabular" class="section">
|
|
<h2>Section 3.13 [was 3.15], Tabular data <a class="hash" href="#tabular">#</a> <a class="toc-bak" href="#tabular-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/semantics.html#tabular">Section 3.13 [was 3.15], Tabular data</a>” in the
|
|
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/semantics.html#tabular">Section 3.13 [was 3.15], Tabular data</a>” in a
|
|
diff-marked version of the specification, showing
|
|
changes made between 22 January 2008 and 10 June
|
|
2008.</p></div>
|
|
<p>This section concerns the
|
|
<code class="element">table</code>
|
|
element and its descendant-element hierarchy.</p>
|
|
<div id="the-table" class="section">
|
|
<h2>Section 3.13.2, The table element <a class="hash" href="#the-table">#</a> <a class="toc-bak" href="#the-table-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/semantics.html#the-table">Section 3.13.2, The table element</a>” in the
|
|
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/semantics.html#the-table">Section 3.13.2, The table element</a>” in a
|
|
diff-marked version of the specification, showing
|
|
changes made between 22 January 2008 and 10 June
|
|
2008.</p></div>
|
|
<p>In this section, the following changes were
|
|
made:</p>
|
|
<ul>
|
|
<li>The
|
|
<code class="method">createTBody()</code>
|
|
method was added to the interface definition for the
|
|
<code>HTMLTableElement</code> interface.</li>
|
|
<li>Following a statement of the conformance
|
|
requirement that a
|
|
<code class="element">table</code>
|
|
element must have “Zero or more tbody elements, or
|
|
One or more tr elements”, the following note was
|
|
added: <strong>(Only expressible in the XML
|
|
serialization.)</strong></li>
|
|
<li>A statement giving conformance requirements for the
|
|
<code class="domattribute">caption</code>
|
|
DOM attribute was emended to read (added text
|
|
highlighted),
|
|
<q>The caption DOM attribute must
|
|
return, on getting, the first caption element
|
|
child of the table element<em class="highlight">, if
|
|
any, or null otherwise</em></q>.</li>
|
|
<li>A statement giving conformance requirements for the
|
|
<code class="domattribute">tHead</code>
|
|
DOM attribute was emended to read (added text
|
|
highlighted),
|
|
<q>The tHead DOM attribute must return, on getting,
|
|
the first thead element child of the table
|
|
element<em class="highlight">, if any, or null
|
|
otherwise</em></q>.</li>
|
|
<li>A statement giving conformance requirements for the
|
|
<code class="domattribute">tFoot</code>
|
|
DOM attribute was emended to read (added text
|
|
highlighted),
|
|
<q>The tFoot DOM attribute must return, on getting,
|
|
the first tfoot element child of the table
|
|
element<em class="highlight">, if any, or null
|
|
otherwise</em></q>.</li>
|
|
<li>The following new statement was added: <q>The
|
|
createTBody() method must create a new tbody
|
|
element, insert it immediately after the last
|
|
tbody element in the table element, if any, or at
|
|
the end of the table element if the table element
|
|
has no tbody element children, and then must
|
|
return the new tbody element.</q></li>
|
|
<li>The algorithm that must run when the
|
|
<code class="method">deleteRow()</code>
|
|
method is called was revised.</li>
|
|
</ul>
|
|
</div>
|
|
<div id="the-colgroup" class="section">
|
|
<h2>Section 3.13.4, The colgroup element <a class="hash" href="#the-colgroup">#</a> <a class="toc-bak" href="#the-colgroup-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/semantics.html#the-colgroup">Section 3.13.4, The colgroup element</a>” in the
|
|
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/semantics.html#the-colgroup">Section 3.13.4, The colgroup element</a>” in a
|
|
diff-marked version of the specification, showing
|
|
changes made between 22 January 2008 and 10 June
|
|
2008.</p></div>
|
|
<p>In this section, the following changes were
|
|
made:</p>
|
|
<ul>
|
|
<li>The following statement that concerns requirements
|
|
for the
|
|
<code class="htmlattribute">span</code>
|
|
attribute on the
|
|
<code class="element">colgroup</code>
|
|
element
|
|
was <strong>removed</strong> completely: “Its default
|
|
value, which must be used if parsing the attribute as
|
|
a non-negative integer returns either an error or
|
|
zero, is 1.”</li>
|
|
<li>A statement that concerns requirements
|
|
for the
|
|
<code class="htmlattribute">span</code>
|
|
DOM attribute was revised to now read, <strong>The
|
|
span DOM attribute must reflect the content
|
|
attribute of the same name. The value must be
|
|
limited to only positive non-zero
|
|
numbers.</strong> (it had previously stated, “on
|
|
setting, if the new value is 0, then an
|
|
INDEX_SIZE_ERR exception must be raised”.</li>
|
|
</ul>
|
|
</div>
|
|
<div id="the-col" class="section">
|
|
<h2>Section 3.13.5, The col element <a class="hash" href="#the-col">#</a> <a class="toc-bak" href="#the-col-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/semantics.html#the-col">Section 3.13.5, The col element</a>” in the
|
|
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/semantics.html#the-col">Section 3.13.5, The col element</a>” in a
|
|
diff-marked version of the specification, showing
|
|
changes made between 22 January 2008 and 10 June
|
|
2008.</p></div>
|
|
<p>In this section, the following changes were
|
|
made:</p>
|
|
<ul>
|
|
<li>The following statement that concerns requirements
|
|
for the
|
|
<code class="htmlattribute">span</code>
|
|
attribute on the
|
|
<code class="element">col</code>
|
|
element
|
|
was <strong>removed</strong> completely: “Its default
|
|
value, which must be used if parsing the attribute as
|
|
a non-negative integer returns either an error or
|
|
zero, is 1.”</li>
|
|
<li>A statement that concerns requirements
|
|
for the
|
|
<code class="htmlattribute">span</code>
|
|
DOM attribute was revised to now read, <strong>The
|
|
span DOM attribute must reflect the content
|
|
attribute of the same name. The value must be
|
|
limited to only positive non-zero
|
|
numbers.</strong> (it had previously stated, “on
|
|
setting, if the new value is 0, then an
|
|
INDEX_SIZE_ERR exception must be raised”.</li>
|
|
</ul>
|
|
</div>
|
|
<div id="the-tbody" class="section">
|
|
<h2>Section 3.13.6, The tbody element <a class="hash" href="#the-tbody">#</a> <a class="toc-bak" href="#the-tbody-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/semantics.html#the-tbody">Section 3.13.6, The tbody element</a>” in the
|
|
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/semantics.html#the-tbody">Section 3.13.6, The tbody element</a>” in a
|
|
diff-marked version of the specification, showing
|
|
changes made between 22 January 2008 and 10 June
|
|
2008.</p></div>
|
|
<p>In this section, the following changes were
|
|
made:</p>
|
|
<ul>
|
|
<li>The content model for the element was changed to
|
|
require <q>Zero or more tr elements</q>. (It had
|
|
previously required “One or more tr elements”.)</li>
|
|
</ul>
|
|
</div>
|
|
<div id="the-thead" class="section">
|
|
<h2>Section 3.13.7, The thead element <a class="hash" href="#the-thead">#</a> <a class="toc-bak" href="#the-thead-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/semantics.html#the-thead">Section 3.13.7, The thead element</a>” in the
|
|
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/semantics.html#the-thead">Section 3.13.7, The thead element</a>” in a
|
|
diff-marked version of the specification, showing
|
|
changes made between 22 January 2008 and 10 June
|
|
2008.</p></div>
|
|
<p>In this section, the following changes were
|
|
made:</p>
|
|
<ul>
|
|
<li>The content model for the element was changed to
|
|
require <q>Zero or more tr elements</q>. (It had
|
|
previously required “One or more tr elements”.)</li>
|
|
</ul>
|
|
</div>
|
|
<div id="the-tfoot" class="section">
|
|
<h2>Section 3.13.8, The tfoot element <a class="hash" href="#the-tfoot">#</a> <a class="toc-bak" href="#the-tfoot-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/semantics.html#the-tfoot">Section 3.13.8, The tfoot element</a>” in the
|
|
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/semantics.html#the-tfoot">Section 3.13.8, The tfoot element</a>” in a
|
|
diff-marked version of the specification, showing
|
|
changes made between 22 January 2008 and 10 June
|
|
2008.</p></div>
|
|
<p>In this section, the following changes were
|
|
made:</p>
|
|
<ul>
|
|
<li>The content model for the element was changed to
|
|
require <q>Zero or more tr elements</q>. (It had
|
|
previously required “One or more tr elements”.)</li>
|
|
</ul>
|
|
</div>
|
|
<div id="the-tr" class="section">
|
|
<h2>Section 3.13.9, The tr element <a class="hash" href="#the-tr">#</a> <a class="toc-bak" href="#the-tr-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/semantics.html#the-tr">Section 3.13.9, The tr element</a>” in the
|
|
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/semantics.html#the-tr">Section 3.13.9, The tr element</a>” in a
|
|
diff-marked version of the specification, showing
|
|
changes made between 22 January 2008 and 10 June
|
|
2008.</p></div>
|
|
<p>In this section, the following changes were
|
|
made:</p>
|
|
<ul>
|
|
<li>The content model for the element was changed to
|
|
require <q>Zero or more td or th elements</q> (It had
|
|
previously required “One or more tr elements”.)</li>
|
|
<li>In a statement that gives conformance requirements
|
|
for the
|
|
<code class="domattribute">rowIndex</code>
|
|
DOM attribute,
|
|
for the case where no table exists that meets
|
|
particular criteria, the text was changed to state
|
|
that the attribute must return <code>-1</code>. (It
|
|
had stated that it must return 0.)</li>
|
|
<li>In a statement that gives conformance requirements
|
|
for the
|
|
<code class="domattribute">sectionRowIndex</code>
|
|
DOM attribute,
|
|
for the case where no parent element exists that meets
|
|
particular criteria, the text was changed to state
|
|
that the attribute must return <code>-1</code>. (It
|
|
had stated that it must return 0.)</li>
|
|
</ul>
|
|
</div>
|
|
<div id="the-td" class="section">
|
|
<h2>Section 3.13.10, The td element <a class="hash" href="#the-td">#</a> <a class="toc-bak" href="#the-td-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/semantics.html#the-td">Section 3.13.10, The td element</a>” in the
|
|
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/semantics.html#the-td">Section 3.13.10, The td element</a>” in a
|
|
diff-marked version of the specification, showing
|
|
changes made between 22 January 2008 and 10 June
|
|
2008.</p></div>
|
|
<p>In this section, the following changes were
|
|
made:</p>
|
|
<ul>
|
|
<li>The category to which the
|
|
<code class="element">td</code>
|
|
element belongs was changed from “None” to
|
|
<strong>sectioning root</strong>.</li>
|
|
<li>The interface that corresponds to the
|
|
element was renamed from “HTMLTableCellElement” to
|
|
<code>HTMLTableDataCellElement</code>.</li>
|
|
<li>The
|
|
<code class="htmlattribute">headers</code>
|
|
content attribute was added to the list of conformant
|
|
attributes for the element, and the
|
|
<code class="domattribute">headers</code>
|
|
DOM attribute was added to the interface definition for
|
|
the <code>HTMLTableDataCellElement</code> interface.</li>
|
|
<li> The
|
|
<code class="domattribute">colSpan</code>
|
|
and
|
|
<code class="domattribute">rowSpan</code>
|
|
DOM attributes were <strong>removed</strong> from
|
|
the interface definition for the
|
|
<code>HTMLTableDataCellElement</code>
|
|
interface.</li>
|
|
<li>The text of the section was revised to remove
|
|
references to the
|
|
<code class="domattribute">colSpan</code>
|
|
and
|
|
<code class="domattribute">rowSpan</code>
|
|
DOM attributes
|
|
and to add references to the
|
|
<code class="domattribute">headers</code>
|
|
DOM attribute.</li>
|
|
</ul>
|
|
</div>
|
|
<div id="the-th" class="section">
|
|
<h2>Section 3.13.11, The th element <a class="hash" href="#the-th">#</a> <a class="toc-bak" href="#the-th-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/semantics.html#the-th">Section 3.13.11, The th element</a>” in the
|
|
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/semantics.html#the-th">Section 3.13.11, The th element</a>” in a
|
|
diff-marked version of the specification, showing
|
|
changes made between 22 January 2008 and 10 June
|
|
2008.</p></div>
|
|
<p>In this section, the following changes were
|
|
made:</p>
|
|
<ul>
|
|
<li>The text of the section was revised to remove
|
|
references to the
|
|
<code class="htmlattribute">colspan</code>
|
|
and
|
|
<code class="htmlattribute">rowSpan</code>
|
|
content attributes.</li>
|
|
</ul>
|
|
</div>
|
|
<div id="attributes0" class="section">
|
|
<h2>Section 3.13.12 [new], Attributes common to td and th
|
|
elements <a class="hash" href="#attributes0">#</a> <a class="toc-bak" href="#attributes0-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/semantics.html#attributes0">Section 3.13.12 [new], Attributes common to td and th
|
|
elements</a>” in the
|
|
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/semantics.html#attributes0">Section 3.13.12 [new], Attributes common to td and th
|
|
elements</a>” in a
|
|
diff-marked version of the specification, showing
|
|
changes made between 22 January 2008 and 10 June
|
|
2008.</p></div>
|
|
<p>This section is newly added. It provides</p>
|
|
<ul>
|
|
<li>an
|
|
interface definition for the
|
|
<code>HTMLTableCellElement</code>
|
|
interface; the
|
|
conformance requirements for the
|
|
<code class="element">td</code>
|
|
and
|
|
<code class="element">th</code>
|
|
elements
|
|
now state that they implement interfaces that inherit
|
|
from that interface</li>
|
|
<li>Conformance criteria for the
|
|
<code class="htmlattribute">colspan</code>
|
|
and
|
|
<code class="htmlattribute">rowSpan</code>
|
|
content attributes.</li>
|
|
<li>Conformance criteria for the
|
|
<code class="domattribute">colSpan</code>,
|
|
<code class="domattribute">rowSpan</code>,
|
|
and
|
|
<code class="domattribute">cellIndex</code>
|
|
DOM attributes.</li>
|
|
</ul>
|
|
</div>
|
|
<div id="processing" class="section">
|
|
<h2>Section 3.13.13, Processing model <a class="hash" href="#processing">#</a> <a class="toc-bak" href="#processing-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/semantics.html#processing">Section 3.13.13, Processing model</a>” in the
|
|
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/semantics.html#processing">Section 3.13.13, Processing model</a>” in a
|
|
diff-marked version of the specification, showing
|
|
changes made between 22 January 2008 and 10 June
|
|
2008.</p></div>
|
|
<p>In this section, the following changes were
|
|
made:</p>
|
|
<ul>
|
|
<li>Changes were made in the introduction to this
|
|
section to bring it in alignment with related change
|
|
made in other parts of the specification.</li>
|
|
<li>A large number of substantive changes were made
|
|
to the algorithms in the “Forming a table”
|
|
subsection; among those changes were the addition of
|
|
steps related to the <code class="element">tfoot</code> and <code class="element">caption</code> elements, as well as a
|
|
number of other changes, including a reformulation and
|
|
refinement of a part of the previous text to form an
|
|
<strong>algorithm for growing downward-growing
|
|
cells</strong>.</li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
<div id="forms" class="section">
|
|
<h2>Section 3.14 [was 3.16], Forms <a class="hash" href="#forms">#</a> <a class="toc-bak" href="#forms-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/semantics.html#forms">Section 3.14 [was 3.16], Forms</a>” in the
|
|
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/semantics.html#forms">Section 3.14 [was 3.16], Forms</a>” in a
|
|
diff-marked version of the specification, showing
|
|
changes made between 22 January 2008 and 10 June
|
|
2008.</p></div>
|
|
<p>This section is currently a placeholder without any
|
|
content except the following editorial notes.</p>
|
|
<blockquote>
|
|
<p><q> This section will contain definitions of
|
|
the form element and so forth.</q></p>
|
|
<p><q>This section will be a rewrite of the
|
|
HTML4 Forms and <a href="http://www.whatwg.org/specs/web-forms/current-work/">Web Forms 2.0</a> specifications, with hopefully
|
|
no normative changes.</q></p>
|
|
<p><q>If a form is in a browsing context whose
|
|
sandboxed forms browsing context flag is set, it
|
|
must not be submitted.</q></p>
|
|
</blockquote>
|
|
</div>
|
|
<div id="scripting0" class="section">
|
|
<h2>Section 3.15 [was 3.17], Scripting <a class="hash" href="#scripting0">#</a> <a class="toc-bak" href="#scripting0-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/semantics.html#scripting0">Section 3.15 [was 3.17], Scripting</a>” in the
|
|
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/semantics.html#scripting0">Section 3.15 [was 3.17], Scripting</a>” in a
|
|
diff-marked version of the specification, showing
|
|
changes made between 22 January 2008 and 10 June
|
|
2008.</p></div>
|
|
<p>An introduction was added for this section. The full
|
|
text of that introduction reads:</p>
|
|
|
|
<blockquote>
|
|
<p><q>Scripts allow authors to add interactivity
|
|
to their documents.</q></p>
|
|
|
|
<p><q>Authors are encouraged to use declarative
|
|
alternatives to scripting where possible, as declarative
|
|
mechanisms are often more maintainable, and many users
|
|
disable scripting.</q></p>
|
|
|
|
<p><q>For example, instead of using script to show or hide
|
|
a section to show more details, the details element
|
|
could be used.</q></p>
|
|
|
|
<p><q>Authors are also encouraged to make their
|
|
applications degrade gracefully in the absence of
|
|
scripting support.</q></p>
|
|
|
|
<p><q>For example, if an author provides a link in a table
|
|
header to dynamically resort the table, the link could
|
|
also be made to function without scripts by requesting
|
|
the sorted table from the server.</q></p>
|
|
</blockquote>
|
|
<div id="script" class="section">
|
|
<h2>Section 3.15.1, The script element <a class="hash" href="#script">#</a> <a class="toc-bak" href="#script-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/semantics.html#script">Section 3.15.1, The script element</a>” in the
|
|
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/semantics.html#script">Section 3.15.1, The script element</a>” in a
|
|
diff-marked version of the specification, showing
|
|
changes made between 22 January 2008 and 10 June
|
|
2008.</p></div>
|
|
<p>In this section, a number of significant changes
|
|
were made made:</p>
|
|
<ul>
|
|
<li>The
|
|
<code class="htmlattribute">charset</code>
|
|
content attribute was added to the list of conformant
|
|
attributes for the element, and the
|
|
<code class="domattribute">charset</code>
|
|
DOM attribute was added to the interface definition for
|
|
the <code>HTMLScriptElement</code> interface.</li>
|
|
<li>Conformance criteria for the
|
|
<code class="htmlattribute">charset</code>
|
|
content attribute and
|
|
<code class="domattribute">charset</code>
|
|
DOM attribute were added.</li>
|
|
<li>An part of conformance statement that read, “If
|
|
scripting is disabled, or if the Document has
|
|
designMode enabled” was revised to now read, “If the
|
|
script element is <strong>without
|
|
script</strong>“.</li>
|
|
<li>The text providing the conformance requirements
|
|
for the <code class="element">script</code> element
|
|
and the algorithm for running scripts in script
|
|
blocks within documents were revised
|
|
extensively.</li>
|
|
</ul>
|
|
</div>
|
|
<div id="the-noscript" class="section">
|
|
<h2>Section 3.15.2, The noscript element <a class="hash" href="#the-noscript">#</a> <a class="toc-bak" href="#the-noscript-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/semantics.html#the-noscript">Section 3.15.2, The noscript element</a>” in the
|
|
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/semantics.html#the-noscript">Section 3.15.2, The noscript element</a>” in a
|
|
diff-marked version of the specification, showing
|
|
changes made between 22 January 2008 and 10 June
|
|
2008.</p></div>
|
|
<p>In this section, the following changes were
|
|
made:</p>
|
|
<ul>
|
|
<li>The content model for the element was updated to
|
|
change instances of the phrases “when scripting is
|
|
disabled” and “when scripting is enabled” to instead
|
|
use the terms “without script” and “with
|
|
script”, and statements within the text of the
|
|
section were revised to use those terms.</li>
|
|
<li>The following note was added:
|
|
<q>The noscript element is only effective in the HTML
|
|
serialization, it has no effect in the XML
|
|
serialization.</q></li>
|
|
<li>The following note was added: <q>The noscript
|
|
element interacts poorly with the designMode
|
|
feature. Authors are encouraged to not use
|
|
noscript elements on pages that will have
|
|
designMode enabled.</q></li>
|
|
</ul>
|
|
</div>
|
|
<div id="the-event-source" class="section">
|
|
<h2>Section 3.15.3, The event-source element <a class="hash" href="#the-event-source">#</a> <a class="toc-bak" href="#the-event-source-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/semantics.html#the-event-source">Section 3.15.3, The event-source element</a>” in the
|
|
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/semantics.html#the-event-source">Section 3.15.3, The event-source element</a>” in a
|
|
diff-marked version of the specification, showing
|
|
changes made between 22 January 2008 and 10 June
|
|
2008.</p></div>
|
|
<p>In this section, a statement regarding the
|
|
<code class="htmlattribute">src</code> attribute was
|
|
changed to now read (changed text highlighted), <q>The
|
|
src attribute, if specified, must give a URI (or IRI)
|
|
pointing to a resource that uses the
|
|
<em class="highlight">text/event-stream</em>
|
|
format.</q> (The highlighted part had previously read,
|
|
“application/x-dom-event-stream”.</p>
|
|
</div>
|
|
</div>
|
|
<div id="interactive-elements" class="section">
|
|
<h2>Section 3.16 [was 3.18], Interactive elements <a class="hash" href="#interactive-elements">#</a> <a class="toc-bak" href="#interactive-elements-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/semantics.html#interactive-elements">Section 3.16 [was 3.18], Interactive elements</a>” in the
|
|
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/semantics.html#interactive-elements">Section 3.16 [was 3.18], Interactive elements</a>” in a
|
|
diff-marked version of the specification, showing
|
|
changes made between 22 January 2008 and 10 June
|
|
2008.</p></div>
|
|
<p>This section concerns the <code class="element">details</code>, <code class="element">datagrid</code>, <code class="element">command</code>, <code class="element">menu</code> elements.</p>
|
|
<div id="datagrid" class="section">
|
|
<h2>Section 3.16.2, The datagrid element <a class="hash" href="#datagrid">#</a> <a class="toc-bak" href="#datagrid-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/semantics.html#datagrid">Section 3.16.2, The datagrid element</a>” in the
|
|
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/semantics.html#datagrid">Section 3.16.2, The datagrid element</a>” in a
|
|
diff-marked version of the specification, showing
|
|
changes made between 22 January 2008 and 10 June
|
|
2008.</p></div>
|
|
<p><code class="element">datagrid</code>
|
|
is a new element and feature introduced in HTML 5. It
|
|
is an interactive representation of a tree, a list, or
|
|
a set of tabular data. Support for the <code class="element">datagrid</code> feature has not yet
|
|
been implemented in any user agents.</p>
|
|
<p>In this section, the following changes were
|
|
made:</p>
|
|
<ul>
|
|
<li>The category “sectioning root” was added to the
|
|
list of categories to which the <code class="element">datagrid</code> element belongs.</li>
|
|
<li>Part of the content model for the element was
|
|
emended to read (highlighting added), <q>Flow
|
|
content, but where the first element child node,
|
|
if any, is not a table, <em class="highlight">select, or datalist</em>
|
|
element</q></li>
|
|
<li>The interface definition for the
|
|
<code>DataGridDataProvider</code> interface was
|
|
updated for consistency with the Web IDL
|
|
specification <a href="#webidl">[WebIDL]</a>.</li>
|
|
<li>In the “Requirements for interactive user
|
|
agents” subsection, a statement that concerns
|
|
invocation of a data provider’s <code class="method">setCellCheckedState()</code> method
|
|
was revised to read (change highlighted), “The state
|
|
should be represented by the number 1 if the new
|
|
state is checked, 0 if the new state is unchecked,
|
|
and <em class="highlight">−1</em> if the new state is
|
|
indeterminate.”</li>
|
|
<li>The interface definition for the
|
|
<code>DataGridSelection</code> interface was
|
|
updated for consistency with the Web IDL
|
|
specification <a href="#webidl">[WebIDL]</a>.</li>
|
|
</ul>
|
|
</div>
|
|
<div id="menus" class="section">
|
|
<h2>Section 3.16.4, The menu element <a class="hash" href="#menus">#</a> <a class="toc-bak" href="#menus-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/semantics.html#menus">Section 3.16.4, The menu element</a>” in the
|
|
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/semantics.html#menus">Section 3.16.4, The menu element</a>” in a
|
|
diff-marked version of the specification, showing
|
|
changes made between 22 January 2008 and 10 June
|
|
2008.</p></div>
|
|
<p>In this section, the following editorial comment
|
|
was added: “Context menus should inherit (so clicking
|
|
on a span in a paragraph with a context menu should
|
|
show the menu).”</p>
|
|
</div>
|
|
<div id="commands" class="section">
|
|
<h2>Section 3.16.5, Commands <a class="hash" href="#commands">#</a> <a class="toc-bak" href="#commands-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/semantics.html#commands">Section 3.16.5, Commands</a>” in the
|
|
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/semantics.html#commands">Section 3.16.5, Commands</a>” in a
|
|
diff-marked version of the specification, showing
|
|
changes made between 22 January 2008 and 10 June
|
|
2008.</p></div>
|
|
<p>This section concerns the <strong>command</strong>
|
|
abstraction behind menu items, buttons, and links. In
|
|
this section, the interface definition for the
|
|
<code>Command</code> interface was updated for
|
|
consistency with the Web IDL specification <a href="#webidl">[WebIDL]</a>.</p>
|
|
</div>
|
|
</div>
|
|
<div id="datatemplate" class="section">
|
|
<h2>Section 3.17 [was 3.19], Data Templates <a class="hash" href="#datatemplate">#</a> <a class="toc-bak" href="#datatemplate-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/semantics.html#datatemplate">Section 3.17 [was 3.19], Data Templates</a>” in the
|
|
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/semantics.html#datatemplate">Section 3.17 [was 3.19], Data Templates</a>” in a
|
|
diff-marked version of the specification, showing
|
|
changes made between 22 January 2008 and 10 June
|
|
2008.</p></div>
|
|
<p>This section concerns the
|
|
<code class="element">datatemplate</code>,
|
|
<code class="element">rule</code>,
|
|
and
|
|
<code class="element">nest</code>
|
|
elements. No substantive changes were added to this
|
|
section, and support for the
|
|
<code class="element">datatemplate</code>
|
|
elements and its associated elements remains
|
|
unimplemented in any user agents.</p>
|
|
</div>
|
|
<div id="miscellaneous" class="section">
|
|
<h2>Section 3.18 [was 3.20], Miscellaneous elements <a class="hash" href="#miscellaneous">#</a> <a class="toc-bak" href="#miscellaneous-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/semantics.html#miscellaneous">Section 3.18 [was 3.20], Miscellaneous elements</a>” in the
|
|
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/semantics.html#miscellaneous">Section 3.18 [was 3.20], Miscellaneous elements</a>” in a
|
|
diff-marked version of the specification, showing
|
|
changes made between 22 January 2008 and 10 June
|
|
2008.</p></div>
|
|
<p>This section concerns the
|
|
<code class="element">legend</code>,
|
|
and
|
|
<code class="element">div</code>
|
|
elements. No substantive changes were made in this
|
|
section (other than global changes that were made to
|
|
other parts of the specification as well; for example,
|
|
the replacement of the term “prose content” with the
|
|
term <strong>flow content</strong>).</p>
|
|
</div>
|
|
</div>
|
|
<div id="web-browsers" class="section">
|
|
<h2>Section 4, Web browsers <a class="hash" href="#web-browsers">#</a> <a class="toc-bak" href="#web-browsers-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/web-browsers.html#web-browsers">Section 4, Web browsers</a>” in the
|
|
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/web-browsers.html#web-browsers">Section 4, Web browsers</a>” in a
|
|
diff-marked version of the specification, showing
|
|
changes made between 22 January 2008 and 10 June
|
|
2008.</p></div>
|
|
<p>This section, which applies most directly to Web
|
|
browsers, defines features affecting environments that
|
|
deal with multiple pages, links between pages, and running
|
|
scripts.</p>
|
|
<div id="windows" class="section">
|
|
<h2>Section 4.1, Browsing context <a class="hash" href="#windows">#</a> <a class="toc-bak" href="#windows-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/web-browsers.html#windows">Section 4.1, Browsing context</a>” in the
|
|
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/web-browsers.html#windows">Section 4.1, Browsing context</a>” in a
|
|
diff-marked version of the specification, showing
|
|
changes made between 22 January 2008 and 10 June
|
|
2008.</p></div>
|
|
<p>This section defines a <strong>browsing
|
|
context</strong> as “a collection of one or more
|
|
Document objects, and one or more
|
|
<strong>views</strong>, as well as particular browsing
|
|
contexts, including the <strong>active
|
|
document</strong>“. In this section, the following
|
|
changes were made:</p>
|
|
<ul>
|
|
<li>A statement related to creation of a browsing
|
|
context was updated to read (added text highlighted):
|
|
<q>When a browsing context is first created, it must
|
|
be created with a single Document in its session
|
|
history, whose address is about:blank, which is
|
|
marked as being an HTML document, <em class="highlight">and whose character encoding is
|
|
UTF-8</em>.</q></li>
|
|
<li>A description was added of how the
|
|
<strong>origin</strong> of the
|
|
<code>about:blank</code> <code>Document</code> object
|
|
is set.</li>
|
|
<li>In the “Nested browsing contexts” subsection, the
|
|
following statements were added:
|
|
<blockquote>
|
|
<p><q>The transitive closure of parent browsing
|
|
contexts for a nested browsing context
|
|
gives the list of ancestor browsing
|
|
contexts.</q></p>
|
|
<p><q>A nested browsing context can have a
|
|
seamless browsing context flag set, if it is
|
|
embedded through an iframe element with a
|
|
seamless attribute.</q></p>
|
|
</blockquote></li>
|
|
<li>A definition of the concept of an <strong>ancestor of
|
|
a browsing context</strong> was added.</li>
|
|
<li>A “Security” subsection was added, with a
|
|
definition of the concept of <strong>allowed to
|
|
navigate</strong>.</li>
|
|
<li>In the “Browsing context names” subsection, a
|
|
number of changes were made — among them, the addition
|
|
of conformance statements related to the condition of
|
|
the <strong>sandboxed navigation browsing context
|
|
flag</strong> being set — and a statement was added
|
|
that <q>User agent implementors are encouraged to
|
|
provide a way for users to configure the user agent
|
|
to always reuse the current browsing
|
|
context.</q></li>
|
|
</ul>
|
|
</div>
|
|
<div id="the-default0" class="section">
|
|
<h2>Section 4.2, The default view <a class="hash" href="#the-default0">#</a> <a class="toc-bak" href="#the-default0-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/web-browsers.html#the-default0">Section 4.2, The default view</a>” in the
|
|
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/web-browsers.html#the-default0">Section 4.2, The default view</a>” in a
|
|
diff-marked version of the specification, showing
|
|
changes made between 22 January 2008 and 10 June
|
|
2008.</p></div>
|
|
<p>This section defines the interface for the
|
|
<code>Window</code> object. In this section, the
|
|
following changes were made:</p>
|
|
<ul>
|
|
<li>The interface definition was updated for
|
|
consistency with the Web IDL specification <a href="#webidl">[WebIDL]</a> and to refer
|
|
to the <code class="domattribute">localStorage</code>
|
|
attribute (which was previously named <code class="domattribute">globalStorage</code> and to add
|
|
the <code class="method">showModalDialog</code> and
|
|
<code class="method">XXX4</code>
|
|
methods and <code class="domattribute">onstorage</code> attribute.
|
|
(Note that the “<code class="method">XXX4</code>“
|
|
name is simply a placeholder; it is not intended that
|
|
the method will be implemented with that literal name.)</li>
|
|
<li>In the “Security” subsection, the <code class="method">XXX4</code> and <code class="domattribute">frames</code> attribute were
|
|
added to the list of exceptions.</li>
|
|
<li>In the “APIs for creating and navigating browsing
|
|
contexts by name” subsection, the phrase “valid
|
|
browsing context name” was emended to become <q>valid
|
|
browsing context name or keyword</q>, and
|
|
conformance requirements related to using the
|
|
<strong>script execution context</strong> were
|
|
added.</li>
|
|
<li>In the “Accessing other browsing contexts”
|
|
subsection, for consistency with the Web IDL <a href="#webidl">[WebIDL]</a>
|
|
specification, language that stated conformance
|
|
requirements for ECMAScript implementations was
|
|
removed, and requirements were added in relation to
|
|
the condition of the <strong>sandboxed origin browsing
|
|
context flag</strong> being set.</li>
|
|
</ul>
|
|
</div>
|
|
<div id="origin" class="section">
|
|
<h2>Section 4.3 [was 4.3.2], Origin <a class="hash" href="#origin">#</a> <a class="toc-bak" href="#origin-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/web-browsers.html#origin">Section 4.3 [was 4.3.2], Origin</a>” in the
|
|
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/web-browsers.html#origin">Section 4.3 [was 4.3.2], Origin</a>” in a
|
|
diff-marked version of the specification, showing
|
|
changes made between 22 January 2008 and 10 June
|
|
2008.</p></div>
|
|
<p>This section, which had been a subsection
|
|
of the “Scripting” section, was moved up a level in the
|
|
section hierarchy to instead become a sibling to section
|
|
to the “Scripting” section. This section defines the
|
|
<strong>origin</strong> and <strong>effective script
|
|
origin</strong> of a resource (a URI, a script, or a
|
|
<code>Document</code> object or image). In this section,
|
|
the following changes were made:</p>
|
|
<ul>
|
|
<li>The term <strong>effective script origin</strong>
|
|
has been introduced, and its characteristics defined
|
|
along with those of the term <strong>origin</strong>.</li>
|
|
<li>The word “origin” was replaced by “value” in the
|
|
sentence that now reads, “If the scheme is ‘file’, then
|
|
the user agent may return a UA-specific value”</li>
|
|
<li>Some instances of the phrase “the same as the
|
|
origin” were refined to read “equal to the
|
|
origin”.</li>
|
|
<li>The criteria for determining origin and effective
|
|
script origin were reorganized and expanded, with the
|
|
“Unscripted same-origin checks” subsection being moved
|
|
to become the “For URIs” part of that list of
|
|
criteria.</li>
|
|
<li>An algorithm was added for determining the whether
|
|
any two given origins are of the <strong>same
|
|
origin</strong></li>
|
|
<li>A new “Relaxing the same-origin restriction”
|
|
subsection was added, with most of the content of that
|
|
subsection being content moved out from the “Resource
|
|
metadata management” subsection within the “The Document
|
|
Object Model” major section. This “Relaxing the
|
|
same-origin restriction” now more explicitly defines an
|
|
algorithm that must be run when setting the <code class="domattribue">domain</code> attribute on
|
|
<code>Document</code> objects.</li>
|
|
</ul>
|
|
</div>
|
|
<div id="scripting" class="section">
|
|
<h2>Section 4.3 [now 4.4], Scripting <a class="hash" href="#scripting">#</a> <a class="toc-bak" href="#scripting-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/web-browsers.html#scripting">Section 4.3 [now 4.4], Scripting</a>” in the
|
|
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/web-browsers.html#scripting">Section 4.3 [now 4.4], Scripting</a>” in a
|
|
diff-marked version of the specification, showing
|
|
changes made between 22 January 2008 and 10 June
|
|
2008.</p></div>
|
|
<p>This section provides conformance criteria
|
|
related to mechanisms that can cause author-provided
|
|
executable code to run in the context of a document
|
|
scripting, as well as defining the states
|
|
<strong>scripting is enabled</strong> and
|
|
<strong>scripting is disabled</strong>.</p>
|
|
<ul>
|
|
<li>A new “Script execution contexts” subsection was
|
|
added to define the <strong>script execution
|
|
context</strong> of a script. It also introduces the
|
|
term <strong>without script</strong> and the term
|
|
<strong>with script</strong> (<q>A
|
|
node is said to be with script if it is not without
|
|
script</q>), along with the following editorial
|
|
note: <q>If you can find a better pair of terms than
|
|
“with script” and “without script” let me know. The
|
|
only things I can find that are less confusing are
|
|
also way, way longer.</q></li>
|
|
<li>In the “The javascript: protocol” subsection, some
|
|
clarifying language was added, and the case for the
|
|
“dereference context” that had previously stated that it
|
|
must be “the browsing context of the Document to which
|
|
belongs the element for which the URI is being
|
|
dereferenced, or to which the style sheet for which the
|
|
URI is being dereferenced applies, whichever is
|
|
appropriate” was changed to instead say that it must be
|
|
an empty object for that same case; also, the
|
|
following note was added: <q>The rules for handling
|
|
script execution in a script execution context
|
|
include making the script not execute (and just
|
|
return void) in certain cases, e.g. in a sandbox or
|
|
when the user has disabled scripting altogether.</q></li>
|
|
<li>In the “Events” subsection, a
|
|
number of changes were made — among them, the addition
|
|
of the <code class="event">onstorage</code> event to the list of
|
|
event handler attributes that must be supported by all
|
|
HTML elements and on <code>Window</code> objects. Also,
|
|
a statement related to the <strong>script execution
|
|
context</strong> was added, and, in the
|
|
same subsection, a clarifying statement that <q>The
|
|
listener argument is emphatically not the event
|
|
handler attribute itself.</q> Also, for consistency
|
|
with the Web IDL specification <a href="#webidl">[WebIDL]</a>, some statements that
|
|
provided conformance criteria for ECMAScript DOM
|
|
bindings were removed. </li>
|
|
</ul>
|
|
</div>
|
|
<div id="user-prompts" class="section">
|
|
<h2>Section 4.4 [now 4.5], User prompts <a class="hash" href="#user-prompts">#</a> <a class="toc-bak" href="#user-prompts-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/web-browsers.html#user-prompts">Section 4.4 [now 4.5], User prompts</a>” in the
|
|
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/web-browsers.html#user-prompts">Section 4.4 [now 4.5], User prompts</a>” in a
|
|
diff-marked version of the specification, showing
|
|
changes made between 22 January 2008 and 10 June
|
|
2008.</p></div>
|
|
<p>This section provides conformance criteria
|
|
related to dialogs presented to users. In this section,
|
|
the following changes were made:</p>
|
|
<ul>
|
|
<li>The existing content of this section was moved,
|
|
unchanged, to become the “Simple dialogs”
|
|
subsection.</li>
|
|
<li>A new “Dialogs implemented using separate
|
|
documents” subsection was added. That subsection defines
|
|
how user agents must behave when the <code class="method">showModalDialog()</code> method is
|
|
invoked.</li>
|
|
<li>A new “Notifications” subsection was added. That
|
|
subsection concerns <q>short, transient messages that
|
|
bring the user’s attention to new information, or
|
|
remind the user of scheduled events</q>, and defines
|
|
a new <code class="method">showNotification()</code>
|
|
method.</li>
|
|
<li>A new “Printing” subsection was added. It defines
|
|
steps that take place when the
|
|
<code class="method">print()</code>
|
|
method is invoked, including steps related to the
|
|
<code class="event">beforeprint</code>
|
|
and
|
|
<code class="event">afterprint</code>
|
|
events</li>
|
|
</ul>
|
|
</div>
|
|
<div id="browser" class="section">
|
|
<h2>Section 4.5 [now 4.6], Browser state <a class="hash" href="#browser">#</a> <a class="toc-bak" href="#browser-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/web-browsers.html#browser">Section 4.5 [now 4.6], Browser state</a>” in the
|
|
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/web-browsers.html#browser">Section 4.5 [now 4.6], Browser state</a>” in a
|
|
diff-marked version of the specification, showing
|
|
changes made between 22 January 2008 and 10 June
|
|
2008.</p></div>
|
|
<p>This section defines how Web sites can
|
|
register themselves as potential protocol and content
|
|
handlers; for example, how a Web-based mail application
|
|
can register itself as a potential handler for the
|
|
<code>mailto:</code> protocol.</p>
|
|
<p>No changes at all were made to this section since the
|
|
FPWD.</p>
|
|
</div>
|
|
<div id="offline" class="section">
|
|
<h2>Section 4.6 [now 4.7], Offline Web applications <a class="hash" href="#offline">#</a> <a class="toc-bak" href="#offline-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/web-browsers.html#offline">Section 4.6 [now 4.7], Offline Web applications</a>” in the
|
|
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/web-browsers.html#offline">Section 4.6 [now 4.7], Offline Web applications</a>” in a
|
|
diff-marked version of the specification, showing
|
|
changes made between 22 January 2008 and 10 June
|
|
2008.</p></div>
|
|
<p>This section defines a mechanism by which Web
|
|
applications can maintain an <strong>application
|
|
cache</strong>, with an accompanying
|
|
<strong>manifest</strong>, that allows some limited use
|
|
of the application even when the user is offline.</p>
|
|
<p>A variety of refinements have been made to this
|
|
section since the FPWD.</p>
|
|
</div>
|
|
<div id="history" class="section">
|
|
<h2>Section 4.7 [now 4.8], Session history and navigation <a class="hash" href="#history">#</a> <a class="toc-bak" href="#history-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/web-browsers.html#history">Section 4.7 [now 4.8], Session history and navigation</a>” in the
|
|
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/web-browsers.html#history">Section 4.7 [now 4.8], Session history and navigation</a>” in a
|
|
diff-marked version of the specification, showing
|
|
changes made between 22 January 2008 and 10 June
|
|
2008.</p></div>
|
|
<p>This section defines the <strong>session
|
|
history</strong> for a browsing context and its
|
|
associated <code>History</code> interface. In this
|
|
section, the following changes were made:</p>
|
|
<ul>
|
|
<li>Language defining the <strong>last activated
|
|
entry</strong> was added.</li>
|
|
<li>A significant part of what had been in this
|
|
section was moved out to form the basis for the
|
|
“History traversal” subsection in the “Browsing the
|
|
Web” section.</li>
|
|
<li>A number of other changes were made, including the
|
|
addition of more explicit steps in the “Activating
|
|
state object entries” subsection, and, for consistency
|
|
with the Web IDL specification <a href="#webidl">[WebIDL]</a>, the removal of
|
|
conformance requirements for the ECMAScript DOM binding
|
|
for the <code>Location</code> interface, and a
|
|
statement related to the <strong>script execution
|
|
context</strong> was added.</li>
|
|
</ul>
|
|
</div>
|
|
<div id="browsing0" class="section">
|
|
<h2>Section 4.9 [new], Browsing the Web <a class="hash" href="#browsing0">#</a> <a class="toc-bak" href="#browsing0-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/web-browsers.html#browsing0">Section 4.9 [new], Browsing the Web</a>” in the
|
|
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/web-browsers.html#browsing0">Section 4.9 [new], Browsing the Web</a>” in a
|
|
diff-marked version of the specification, showing
|
|
changes made between 22 January 2008 and 10 June
|
|
2008.</p></div>
|
|
<p>This section was formed by moving the
|
|
contents of the existing “Navigating across documents”
|
|
section down one level in the section hierarchy and adding to it
|
|
a subsection on “History traversal”, which was moved
|
|
here from the “Session history and navigation”
|
|
section.</p>
|
|
<p>A number of changes were made to the content that was
|
|
moved to form this section — among them, the addition of
|
|
statements related to the <strong>source browsing
|
|
context</strong> and some criteria
|
|
related to the “opportunistic caching namespace” and
|
|
“opportunistically cached entries”, to setting of
|
|
document character encoding, and to the
|
|
<strong>sandboxed plugins browsing context
|
|
flag</strong>.</p>
|
|
</div>
|
|
<div id="content-type-sniffing" class="section">
|
|
<h2>Section 4.9 [now 4.10], Determining the type of a
|
|
new resource in a browsing context <a class="hash" href="#content-type-sniffing">#</a> <a class="toc-bak" href="#content-type-sniffing-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/web-browsers.html#content-type-sniffing">Section 4.9 [now 4.10], Determining the type of a
|
|
new resource in a browsing context</a>” in the
|
|
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/web-browsers.html#content-type-sniffing">Section 4.9 [now 4.10], Determining the type of a
|
|
new resource in a browsing context</a>” in a
|
|
diff-marked version of the specification, showing
|
|
changes made between 22 January 2008 and 10 June
|
|
2008.</p></div>
|
|
<p>This section provides conformance criteria
|
|
related to content-type sniffing. In this section, the
|
|
following changes were made:
|
|
</p><ul>
|
|
<li>Some changes were made to the algorithm for
|
|
finding the “sniffed type of a resource”, as well as
|
|
to the “Content-Type sniffing: feed or HTML” and
|
|
“Content-Type metadata” subsections.</li>
|
|
<li>References to UTF-32 were <strong>removed</strong>
|
|
from the table in the “Content-Type sniffing: text or
|
|
binary” subsection.</li>
|
|
<li>An item for the <code>
|
|
image/vnd.microsoft.icon</code> type was added in two
|
|
tables that list byte sequences used in the
|
|
type-sniffing algorithm.</li>
|
|
<li>revisions were made to the specific <strong>algorithm for
|
|
extracting an encoding from a
|
|
Content-Type</strong>.</li>
|
|
<li>The following note was added: <q>The above algorithm
|
|
is a willful violation of the HTTP
|
|
specification.</q></li>
|
|
</ul>
|
|
</div>
|
|
<div id="structured" class="section">
|
|
<h2>Section 4.11 [new], Structured client-side storage <a class="hash" href="#structured">#</a> <a class="toc-bak" href="#structured-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/web-browsers.html#structured">Section 4.11 [new], Structured client-side storage</a>” in the
|
|
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/web-browsers.html#structured">Section 4.11 [new], Structured client-side storage</a>” in a
|
|
diff-marked version of the specification, showing
|
|
changes made between 22 January 2008 and 10 June
|
|
2008.</p></div>
|
|
<p>This section was formed by combining the existing
|
|
“Client-side session and persistent storage of
|
|
name/value pairs” and “Client-side database storage”
|
|
sections with common sections related to disk space,
|
|
security, and privacy. A number of changes were made in
|
|
these content that is now in this section — among those
|
|
changes are the following:</p>
|
|
<ul>
|
|
<li>Some instances of “origin” were changed to
|
|
“site”.</li>
|
|
<li>In the “Storing name/value pairs” subsection, the
|
|
<code class="domattribute">globalStorage</code> DOM
|
|
attribute was renamed to <code class="domattribute">localStorage</code>.</li>
|
|
<li>The “Storing name/value pairs” subsection also
|
|
adds an definition for the <code class="interface">StorageEvent</code> interface, with
|
|
<code class="method">initStorageEvent()</code> and <code class="method">initStorageEventNS()</code>
|
|
methods.</li>
|
|
<li>Also in the “Storing name/value pairs” subsection,
|
|
some instances of the term “origin” were changed to
|
|
“site”; for example, in the statement that now reads
|
|
<q>Each site has its own separate storage area.</q></li>
|
|
<li>The “Disk space” and “Security and privacy” parts
|
|
of the “Miscellaneous implementation requirements for
|
|
storage areas” subsection of the “Client-side session
|
|
and persistent storage of name/value pairs” section
|
|
were moved to become shared sibling sections of both
|
|
the “Storing name/value pairs” and “Database storage”
|
|
subsections.</li>
|
|
<li>In the “Database storage” subsection, the
|
|
following editorial note was added:
|
|
<blockquote>
|
|
<p><q>Implementation feedback is requested on
|
|
what to do with arguments that are of types that
|
|
are not supported by the underlying SQL backend.
|
|
For example, SQLite doesn’t support booleans, so
|
|
what should the UA do if passed a boolean? The
|
|
Gears team suggests failing, not silently
|
|
converting types.</q></p>
|
|
</blockquote>
|
|
</li>
|
|
<li>Also in the “Database storage” subsection, the
|
|
interface definition for the
|
|
<code>SQLResultSetRowList</code> interface was updated
|
|
for consistency with the Web IDL specification <a href="#webidl">[WebIDL]</a>.</li>
|
|
</ul>
|
|
</div>
|
|
<div id="links" class="section">
|
|
<h2>Section 4.12, Links <a class="hash" href="#links">#</a> <a class="toc-bak" href="#links-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/web-browsers.html#links">Section 4.12, Links</a>” in the
|
|
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/web-browsers.html#links">Section 4.12, Links</a>” in a
|
|
diff-marked version of the specification, showing
|
|
changes made between 22 January 2008 and 10 June
|
|
2008.</p></div>
|
|
<p>This section provides conformance criteria
|
|
related to handling of hyperlinks. This section remains
|
|
largely unchanged, though some significant changes were
|
|
made to — among those, the following:</p>
|
|
<ul>
|
|
<li>In the “Hyperlink elements” subsection, the phrase
|
|
“valid browsing context name” was emended to become
|
|
<q>valid browsing context name or keyword</q>.</li>
|
|
<li>In the “Following hyperlinks” subsection, a
|
|
statement related to the <strong>source browsing
|
|
context</strong> was added.</li>
|
|
<li>Particularly significant changes were made to the
|
|
“Hyperlink auditing” subsection (which states
|
|
requirements for HTTP-request behavior when a user
|
|
follows a hyperlink for an <code class="element">a</code>
|
|
or <code class="element">area</code> element that has a
|
|
<code class="htmlattribute">ping</code> attribute); a
|
|
statement was added that <q>All relevant cookie and HTTP
|
|
authentication headers must be included in the
|
|
request. Which other headers are required depends on
|
|
the URIs involved</q>, and criteria was added for
|
|
conditions under which <code>Ping-From</code>,
|
|
<code>Ping-To</code>, and <code>Referer</code> HTTP
|
|
headers must be included.</li>
|
|
<li>In the “Link types” section, the link type
|
|
“contact” was removed from the table that lists
|
|
conformant link types.</li>
|
|
<li>The subsection that defined that “contact” link
|
|
type was completely removed.</li>
|
|
<li>In the subsection that defines the “icon” link
|
|
type, the following changes were made:
|
|
<ul>
|
|
<li>A definition was added for the <code class="htmlattribute">sizes</code> attribute (for
|
|
specifying sizes for icon link types) and its
|
|
conformant values</li>
|
|
<li>The
|
|
<code class="htmlattribute">type</code> attribute was
|
|
added to the set of attributes that user agents must
|
|
use when to select the most appropriate icon when
|
|
multiple icons are available.</li>
|
|
<li>The following statement was added:
|
|
<blockquote>
|
|
<p><q>If the user agent tries to use an icon but
|
|
that icon is determined, upon closer
|
|
examination, to in fact be inappropriate (e.g.
|
|
because it uses an unsupported format), then the
|
|
user agent must try the next-most-appropriate
|
|
icon as determined by the attributes.</q></p>
|
|
</blockquote>
|
|
</li>
|
|
<li>Text which had stated that “If there are multiple
|
|
equally appropriate icons, user agents must use the
|
|
first one declared in tree order” was revised to read,
|
|
<q>If there are multiple equally appropriate icons,
|
|
user agents must use the <em class="highlight">last</em> one declared in tree
|
|
order.</q></li>
|
|
<li>In reference to the
|
|
<code class="htmlattribute">sizes</code>
|
|
attribute, the following statement was added:
|
|
<blockquote>
|
|
<p><q>If the attribute is not specified, then
|
|
the user agent must assume that the given
|
|
icon is appropriate, but less appropriate
|
|
than an icon of a known and appropriate
|
|
size.</q></p>
|
|
</blockquote>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
<li>In the subsection that defines the “nofollow” link
|
|
type, a statement was emended to now read (add text
|
|
highlighted), <q>The nofollow keyword indicates that
|
|
the link is not endorsed by the original author or
|
|
publisher of the page<em class="highlight">, or that
|
|
the link to the referenced document was included
|
|
primarily because of a commercial relationship
|
|
between people affiliated with the two
|
|
pages</em>.</q>
|
|
</li><li>In the subsection that defines the “prefetch”
|
|
link
|
|
type, a statement was added that <q>There is no
|
|
default type for resources given by the “prefetch”
|
|
keyword.</q></li>
|
|
<li>In the subsection that defines the “stylesheet” link
|
|
type, a statement was added that <q>The default type
|
|
for resources given by the stylesheet keyword is
|
|
text/css</q>, and a description was added of
|
|
quirks-mode behavior with respect to this link
|
|
type.</li>
|
|
<li>In the subsection that defines the “UP” link
|
|
type, a statement was added that <q>Only one link is
|
|
created for the set of one or more “up” keywords
|
|
and, if present, the “index” keyword.</q>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
<div id="interfaces" class="section">
|
|
<h2>Section 4.13, Interfaces for URI manipulation <a class="hash" href="#interfaces">#</a> <a class="toc-bak" href="#interfaces-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/web-browsers.html#interfaces">Section 4.13, Interfaces for URI manipulation</a>” in the
|
|
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/web-browsers.html#interfaces">Section 4.13, Interfaces for URI manipulation</a>” in a
|
|
diff-marked version of the specification, showing
|
|
changes made between 22 January 2008 and 10 June
|
|
2008.</p></div>
|
|
<p>This section specifies a set of attributes for any
|
|
interface that has a “complement of URI decomposition
|
|
attributes”. In this section, a statement was added to
|
|
specify conformant behavior when replacing a component
|
|
in a URI, and a change was made to the parsing rules for
|
|
the <code class="domattribute">port</code> attribute.</p>
|
|
</div>
|
|
</div>
|
|
<div id="editing" class="section">
|
|
<h2>Section 5, Editing <a class="hash" href="#editing">#</a> <a class="toc-bak" href="#editing-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/editing.html#editing">Section 5, Editing</a>” in the
|
|
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/editing.html#editing">Section 5, Editing</a>” in a
|
|
diff-marked version of the specification, showing
|
|
changes made between 22 January 2008 and 10 June
|
|
2008.</p></div>
|
|
<p>This section describes various features that
|
|
allow authors to enable users to interactively edit documents
|
|
and parts of documents.</p>
|
|
<div id="contenteditable" class="section">
|
|
<h2>Section 5.2, The contenteditable attribute <a class="hash" href="#contenteditable">#</a> <a class="toc-bak" href="#contenteditable-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/editing.html#contenteditable">Section 5.2, The contenteditable attribute</a>” in the
|
|
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/editing.html#contenteditable">Section 5.2, The contenteditable attribute</a>” in a
|
|
diff-marked version of the specification, showing
|
|
changes made between 22 January 2008 and 10 June
|
|
2008.</p></div>
|
|
<p>This section defines handling of HTML
|
|
elements that have the <code class="htmlattribute">contenteditable</code> attribute.
|
|
In this section, the following changes were made:</p>
|
|
<ul>
|
|
<li>Language defining the <strong>inherit
|
|
state</strong> and related handling was added.</li>
|
|
<li>A sentence was added to define handling of the
|
|
<code class="domattribute">isContentEditable</code> DOM
|
|
attribute.</li>
|
|
<li>In the “User editing actions” subsection, the
|
|
following statement was added: “User agents may
|
|
prevent selections from being made in ways that cross
|
|
from editable elements into non-editable elements
|
|
(e.g. by making each non-editable descendant
|
|
atomically selectable, but not allowing text selection
|
|
within them).”</li>
|
|
<li>Language was added to state that UAs should should
|
|
offer a way for the user to delete “non-editable
|
|
descendants”.</li>
|
|
<li>A general statement that “UAs should offer a way
|
|
for the user to mark text as having stress emphasis
|
|
and as being important” was removed, and the following
|
|
statements were added:
|
|
<blockquote>
|
|
<p><q>In response to a request from a user to
|
|
mark text up in italics, user agents should use
|
|
the <code class="element">i</code> element to
|
|
represent the semantic. The <code class="element">em</code> element should be used
|
|
only if the user agent is sure that the user means
|
|
to indicate stress emphasis.</q></p>
|
|
</blockquote>
|
|
<blockquote>
|
|
<p><q>In response to a request from a user to
|
|
mark text up in bold, user agents should use the
|
|
<code class="element">b</code> element to represent
|
|
the semantic. The <code class="element">strong</code> element should be
|
|
used only if the user agent is sure that the user
|
|
means to indicate importance.</q></p>
|
|
</blockquote>
|
|
</li>
|
|
<li>In the “Making entire documents editable”
|
|
subsection, refinements were made to the description
|
|
of handling for the case when the <code class="domattribute">designMode</code> DOM attribute
|
|
on the <code>Document</code> object is set.</li>
|
|
</ul>
|
|
</div>
|
|
<div id="dnd" class="section">
|
|
<h2>Section 5.3, Drag and drop <a class="hash" href="#dnd">#</a> <a class="toc-bak" href="#dnd-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/editing.html#dnd">Section 5.3, Drag and drop</a>” in the
|
|
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/editing.html#dnd">Section 5.3, Drag and drop</a>” in a
|
|
diff-marked version of the specification, showing
|
|
changes made between 22 January 2008 and 10 June
|
|
2008.</p></div>
|
|
<p>This section defines an event-based drag-and-drop
|
|
mechanism. The bulk of this section remains unchanged
|
|
from the FPWD, with the exception of a handful of
|
|
statements that were refined or removed from the
|
|
section, and the single significant addition to the
|
|
section being the addition of a <code class="domattribute">types</code> DOM attribute to the
|
|
<code>DataTransfer</code> interface, and a description of its
|
|
handling.</p>
|
|
</div>
|
|
<div id="undo" class="section">
|
|
<h2>Section 5.4, Undo history <a class="hash" href="#undo">#</a> <a class="toc-bak" href="#undo-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/editing.html#undo">Section 5.4, Undo history</a>” in the
|
|
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/editing.html#undo">Section 5.4, Undo history</a>” in a
|
|
diff-marked version of the specification, showing
|
|
changes made between 22 January 2008 and 10 June
|
|
2008.</p></div>
|
|
<p>This section defines how to associate an <strong>undo
|
|
transaction history</strong> with each
|
|
<code>HTMLDocument</code> object, and an
|
|
<code>UndoManager</code> interface for
|
|
manipulating that undo transaction history. The bulk of
|
|
this section remains unchanged from the FPWD, and the
|
|
mechanism is specifies remains unimplemented in any user
|
|
agents. The only changes to this section were, for
|
|
consistency with the Web IDL specification <a href="#webidl">[WebIDL]</a>, the removal
|
|
of a sentence stating conformance requirements for the
|
|
associated ECMAScript DOM binding for the
|
|
<code>UndoManager</code> interface, and a change to the
|
|
interface definition for the <code>UndoManager</code>
|
|
interface.</p>
|
|
</div>
|
|
<div id="command" class="section">
|
|
<h2>Section 5.5 [now 5.6], Command APIs <a class="hash" href="#command">#</a> <a class="toc-bak" href="#command-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/editing.html#command">Section 5.5 [now 5.6], Command APIs</a>” in the
|
|
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/editing.html#command">Section 5.5 [now 5.6], Command APIs</a>” in a
|
|
diff-marked version of the specification, showing
|
|
changes made between 22 January 2008 and 10 June
|
|
2008.</p></div>
|
|
<p>This section defines an <code class="methog">execCommand</code> method on the
|
|
<code>HTMLDocument</code> interface, mainly to allow
|
|
scripts to editor UI that allows users to perform
|
|
actions on the current selection or at the current caret
|
|
position. In this section, the following changes were
|
|
made:</p>
|
|
<ul>
|
|
<li>The following additional methods were added:
|
|
<ul>
|
|
<li><code class="method">queryCommandEnabled</code></li>
|
|
<li><code class="method">queryCommandIndeterm</code></li>
|
|
<li><code class="method">queryCommandState</code></li>
|
|
<li><code class="method">queryCommandSupported</code></li>
|
|
<li><code class="method">queryCommandValue</code></li>
|
|
</ul>
|
|
</li>
|
|
<li>A number of additional commands have been added and
|
|
defined.</li>
|
|
</ul>
|
|
</div>
|
|
<div id="selection" class="section">
|
|
<h2>Section 5.6 [now 5.5], The text selection APIs <a class="hash" href="#selection">#</a> <a class="toc-bak" href="#selection-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/editing.html#selection">Section 5.6 [now 5.5], The text selection APIs</a>” in the
|
|
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/editing.html#selection">Section 5.6 [now 5.5], The text selection APIs</a>” in a
|
|
diff-marked version of the specification, showing
|
|
changes made between 22 January 2008 and 10 June
|
|
2008.</p></div>
|
|
<p>This section defines a <strong>selection</strong>
|
|
that exists for each instance of a browsing context, and
|
|
a <code>Selection</code> interface with a <code class="method">getSelection()</code> method for
|
|
retrieving the selection. In this section, the following
|
|
changes were made:</p>
|
|
<ul>
|
|
<li>The interface definition for the
|
|
<code>Selection</code> interface was updated for
|
|
consistency with the Web IDL specification <a href="#webidl">[WebIDL]</a>.</li>
|
|
<li>Explicit references to the <code class="method">toString()</code> method in this
|
|
section were changed to refer instead to
|
|
<q>stringification</q>.</li>
|
|
<li>Statements were added to specify that User agents
|
|
<q>may selectively ignore attempts to use the API to
|
|
adjust the selection made after the user has
|
|
modified the selection</q> and <q>may also allow
|
|
the user to create selections that are not exposed
|
|
to the API.</q></li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
<div id="comms" class="section">
|
|
<h2>Section 6, Communication <a class="hash" href="#comms">#</a> <a class="toc-bak" href="#comms-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/comms.html#comms">Section 6, Communication</a>” in the
|
|
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/comms.html#comms">Section 6, Communication</a>” in a
|
|
diff-marked version of the specification, showing
|
|
changes made between 22 January 2008 and 10 June
|
|
2008.</p></div>
|
|
<p>Applications written in HTML often require mechanisms
|
|
to communicate with remote servers, as well mechanisms
|
|
for applications from different domains running on the
|
|
same client to communicate with each other (so-called
|
|
“cross-document messaging”). This section defines APIs for
|
|
enabling those classes of communication; specifically,
|
|
APIs for cross-document messaging, for server-sent DOM
|
|
events, and for network connections — as well as providing
|
|
the interface definitions for messages sent in
|
|
cross-document messaging and server-sent DOM events.</p>
|
|
<div id="event1" class="section">
|
|
<h2>Section 6.1, Event definitions <a class="hash" href="#event1">#</a> <a class="toc-bak" href="#event1-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/comms.html#event1">Section 6.1, Event definitions</a>” in the
|
|
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/comms.html#event1">Section 6.1, Event definitions</a>” in a
|
|
diff-marked version of the specification, showing
|
|
changes made between 22 January 2008 and 10 June
|
|
2008.</p></div>
|
|
<p>This section defines the <code>MessageEvent</code>
|
|
interface. In this section, the following changes were
|
|
made:</p>
|
|
<ul>
|
|
<li>The <code class="domattribute">domain</code>
|
|
attribute was renamed <code class="domattribute">origin</code> (and its definition
|
|
was refined), the <code class="domattribute">uri</code> attribute was removed,
|
|
and the <code class="domattribute">lastEventId</code>
|
|
attribute was added.</li>
|
|
</ul>
|
|
</div>
|
|
<div id="server-sent-events" class="section">
|
|
<h2>Section 6.2, Server-sent DOM events <a class="hash" href="#server-sent-events">#</a> <a class="toc-bak" href="#server-sent-events-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/comms.html#server-sent-events">Section 6.2, Server-sent DOM events</a>” in the
|
|
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/comms.html#server-sent-events">Section 6.2, Server-sent DOM events</a>” in a
|
|
diff-marked version of the specification, showing
|
|
changes made between 22 January 2008 and 10 June
|
|
2008.</p></div>
|
|
<p>This section describes a mechanism for allowing
|
|
servers to dispatch DOM events into documents that
|
|
expect it. In this section, the specification for the
|
|
server-sent events format was rewritten; among the specific
|
|
changes made were the addition of language related to
|
|
<strong>reconnection time</strong> and the <strong>last
|
|
event ID string</strong>, and extensive changes to the
|
|
“Interpreting an event stream” subsection.</p>
|
|
</div>
|
|
<div id="network" class="section">
|
|
<h2>Section 6.3, Network connections <a class="hash" href="#network">#</a> <a class="toc-bak" href="#network-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/comms.html#network">Section 6.3, Network connections</a>” in the
|
|
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/comms.html#network">Section 6.3, Network connections</a>” in a
|
|
diff-marked version of the specification, showing
|
|
changes made between 22 January 2008 and 10 June
|
|
2008.</p></div>
|
|
<p>This section defines a <code>Connection</code>
|
|
interface to enable Web applications to communicate with
|
|
each other in local area networks, and to maintain
|
|
bidirectional communications with their originating
|
|
server. In this section, the only substantive changes
|
|
made were the addition of the <code class="domattribute">readyState</code> attribute to the
|
|
<code>Connection</code> interface, and corrections in
|
|
the “TCP connections” subsection to replace some
|
|
instances of “domain” with “host”. No other significant
|
|
changes were made (and the interface remains
|
|
unimplemented in any user agents).</p>
|
|
</div>
|
|
<div id="crossDocumentMessages" class="section">
|
|
<h2>Section 6.4, Cross-document messaging <a class="hash" href="#crossDocumentMessages">#</a> <a class="toc-bak" href="#crossDocumentMessages-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/comms.html#crossDocumentMessages">Section 6.4, Cross-document messaging</a>” in the
|
|
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/comms.html#crossDocumentMessages">Section 6.4, Cross-document messaging</a>” in a
|
|
diff-marked version of the specification, showing
|
|
changes made between 22 January 2008 and 10 June
|
|
2008.</p></div>
|
|
<p>This section introduces a messaging system, using the
|
|
<code class="method">postMessage()</code> method, that
|
|
allows documents to communicate with each other
|
|
regardless of their source domain, in a way designed to
|
|
not enable cross-site scripting attacks. In this
|
|
section, the following changes were made:</p>
|
|
<ul>
|
|
<li>The <code class="method">postMessage()</code> method
|
|
was changed from being synchronous to being
|
|
asynchronous.</li>
|
|
<li>A <var>targetOrigin</var> argument was added to
|
|
the <code class="method">postMessage()</code>
|
|
method.</li>
|
|
<li>The description of required user-agent behavior
|
|
when a script invokes the <code class="method">postMessage()</code> method was
|
|
expanded and made into a numbered set of steps.</li>
|
|
<li>In the “Processing model”, a clarification related
|
|
to non-<strong>same origin</strong> behavior was added
|
|
to a warning note.</li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
<div id="repetition" class="section">
|
|
<h2>Section 7, Repetition templates <a class="hash" href="#repetition">#</a> <a class="toc-bak" href="#repetition-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/repetition.html#repetition">Section 7, Repetition templates</a>” in the
|
|
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/repetition.html#repetition">Section 7, Repetition templates</a>” in a
|
|
diff-marked version of the specification, showing
|
|
changes made between 22 January 2008 and 10 June
|
|
2008.</p></div>
|
|
<p>This section was an empty placeholder in the FPWD, and
|
|
not additions were made to it, so it remains so. Its
|
|
intended purpose is to define a mechanism to support
|
|
repeating sections in forms.</p>
|
|
</div>
|
|
<div id="syntax" class="section">
|
|
<h2>Section 8, The HTML syntax <a class="hash" href="#syntax">#</a> <a class="toc-bak" href="#syntax-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/syntax.html#syntax">Section 8, The HTML syntax</a>” in the
|
|
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/syntax.html#syntax">Section 8, The HTML syntax</a>” in a
|
|
diff-marked version of the specification, showing
|
|
changes made between 22 January 2008 and 10 June
|
|
2008.</p></div>
|
|
<p>This section describes syntax rules for the
|
|
<code>text/html</code> serialization of the HTML language,
|
|
as well as rules for parsing and serializing it.</p>
|
|
<div id="writing0" class="section">
|
|
<h2>Section 8.1, Writing HTML documents <a class="hash" href="#writing0">#</a> <a class="toc-bak" href="#writing0-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/syntax.html#writing0">Section 8.1, Writing HTML documents</a>” in the
|
|
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/syntax.html#writing0">Section 8.1, Writing HTML documents</a>” in a
|
|
diff-marked version of the specification, showing
|
|
changes made between 22 January 2008 and 10 June
|
|
2008.</p></div>
|
|
<p>This section provides basic syntax conformance
|
|
requirements that apply to documents, authoring tools, and
|
|
markup generators. In this section, the following changes
|
|
were made:</p>
|
|
<ul>
|
|
<li>The following statement was
|
|
<strong>removed</strong> completely: <q>The U+0000
|
|
NULL character must not appear anywhere in a
|
|
document.</q></li>
|
|
<li>A note describing handling of comments and space
|
|
characters around the
|
|
<code class="element">html</code>,
|
|
<code class="element">head</code>, and
|
|
<code class="element">body</code>
|
|
elements and handling of newlines inserted after the
|
|
<code>DOCTYPE</code> was refined.</li>
|
|
<li>In the “Elements” subsection, the category
|
|
<strong>foreign elements</strong> was added to the
|
|
list of kinds of elements, the definition of
|
|
foreign elements as <q>Elements from the MathML
|
|
namespace</q> was added, and other parts of the section
|
|
were updated to add language related to foreign
|
|
elements.</li>
|
|
<li>Also in the “Elements” subsection, the range
|
|
“U+0030 DIGIT ZERO .. U+0039 DIGIT NINE” was added to
|
|
the set of allowed characters in tag names.</li>
|
|
<li>Also in the “Elements” subsection, the description
|
|
of allowed characters for attribute names and unquoted
|
|
attribute value syntax were refined, and statements
|
|
were added to make it clear that a space is required
|
|
after a quoted attribute value and any following
|
|
attribute.</li>
|
|
<li>Also in the “Elements” subsection, refinements
|
|
were made to the description of conditions under which
|
|
certain tags can be omitted.</li>
|
|
<li>Also in the “Elements” subsection, the following
|
|
statement was <strong>removed</strong> completely:
|
|
<blockquote>
|
|
<p><q>A p element must not contain
|
|
blockquote, dl, menu, ol, pre, table, or ul
|
|
elements, even though these elements are
|
|
technically allowed inside p elements according to
|
|
the content models described in this
|
|
specification. (In fact, if one of those elements
|
|
is put inside a p element in the markup, it will
|
|
instead imply a p element end tag before
|
|
it.)</q></p>
|
|
</blockquote>
|
|
</li>
|
|
<li>Also in the “Elements” subsection, the
|
|
definition of <strong>escaping text span</strong> was
|
|
refined.</li>
|
|
<li>The title of the “Character entity references”
|
|
subsection was changed to “Character references”, the
|
|
term “Named entities” was changed to <q>Named character
|
|
references</q>, and other instances of the term
|
|
“character entity references” were changed to
|
|
“character references”.</li>
|
|
<li>Also in the “Character references” subsection, the
|
|
definition of <strong>ambiguous ampersand</strong> was
|
|
refined.</li>
|
|
<li>A new “CDATA blocks” subsection was added.</li>
|
|
<li>In the “Comments” subsection, the description of
|
|
comments was refined to add the constraint that
|
|
comments <q>must not start with a single U+003E
|
|
GREATER-THAN SIGN (‘>‘) character, nor start with a
|
|
U+002D HYPHEN-MINUS (-) character followed by a
|
|
U+003E GREATER-THAN SIGN (‘>‘) character</q>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
<div id="parsing" class="section">
|
|
<h2>Section 8.2, Parsing HTML documents <a class="hash" href="#parsing">#</a> <a class="toc-bak" href="#parsing-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/syntax.html#parsing">Section 8.2, Parsing HTML documents</a>” in the
|
|
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/syntax.html#parsing">Section 8.2, Parsing HTML documents</a>” in a
|
|
diff-marked version of the specification, showing
|
|
changes made between 22 January 2008 and 10 June
|
|
2008.</p></div>
|
|
<p>This section defines parsing rules used by
|
|
user agents, data mining tools, and conformance
|
|
checkers in parsing <code>text/html</code> content. In
|
|
this section, the following changes were made:</p>
|
|
<ul>
|
|
<li>In the “The input stream” subsection, the
|
|
following changes were made:
|
|
<ul>
|
|
<li>In the parts of the that deal with preprocessing
|
|
the input stream, character encoding requirements,
|
|
and determining the character encoding of the input
|
|
stream, a number of refinements were made, including
|
|
the addition of a clarification related to the
|
|
<strong>source browsing context</strong>.</li>
|
|
<li>The following note was added:
|
|
<blockquote>
|
|
<p><q>This specification does not make any
|
|
attempt to support UTF-32 in its algorithms;
|
|
support and use of UTF-32 can thus lead to
|
|
unexpected behavior in implementations of this
|
|
specification.</q></p>
|
|
</blockquote></li>
|
|
<li>In the “Changing the encoding while parsing”
|
|
subsection, the first step in the algorithm for
|
|
changing the encoding, which had read, “If the new
|
|
encoding is UTF-16, change it to UTF-8”, was updated
|
|
to now read (changed text highlighted), <q>If the
|
|
new encoding is <em class="highlight">a UTF-16
|
|
encoding</em>, change it to UTF-8.</q></li>
|
|
<li>Also, in the “Changing the encoding while
|
|
parsing” subsection, the following statement,
|
|
which had been placed at the end of the algorithm,
|
|
was <strong>removed</strong> completely: <q>While
|
|
the invocation of this algorithm is not a parse
|
|
error, it is still indicative of non-conforming
|
|
content.</q></li>
|
|
</ul>
|
|
</li>
|
|
<li>Significant revisions were made to the “Character
|
|
encoding requirements” subsection, including the
|
|
addition of a “Character encoding overrides” table,
|
|
and the refinement of an accompanying note to now
|
|
read, <q>The requirement to treat certain encodings as
|
|
other encodings according to the table above is a
|
|
willful violation of the W3C Character Model
|
|
specification.</q></li>
|
|
<li>A new “Parse state” subsection was added.</li>
|
|
<li>The algorithm for resetting the insertion mode was
|
|
refined for the case of <code class="domattribute">innerHTML</code> used with
|
|
<code class="element">td</code>
|
|
and
|
|
<code class="element">th</code>.</li>
|
|
<li>A new “The scripting state” subsection was added,
|
|
with the following text: <q>The scripting flag
|
|
is set to “enabled” if the Document with which
|
|
the parser is associated was with script when
|
|
the parser was created, and “disabled”
|
|
otherwise.</q></li>
|
|
<li>In the “Tokenisation” subsection, a number of
|
|
changes were made — among them, the addition of an
|
|
<q>After attribute value (quoted) state</q>, a
|
|
<q>Self-closing start tag state</q>, and a <q>CDATA
|
|
block state</q>. Also, statements that had referred
|
|
to setting the public identifier and system identifier
|
|
to “the empty string” were emended to read refer to
|
|
setting them to <q>the empty string (not missing)</q>;
|
|
statements that referred to the state in which the
|
|
public identifier or system identifier was “not set”
|
|
were revised to instead refer to those as being the
|
|
case were a public identifier or system identifier
|
|
was “missing”, and the following statement was
|
|
added: <q>A system identifier whose value is the
|
|
empty string is not considered missing for the
|
|
purposes of the conditions above.</q></li>
|
|
<li>In the “Tree construction” subsection, a number of
|
|
changes were made — among them, the following:
|
|
<ul>
|
|
<li>Descriptions were added for handling
|
|
<strong>foreign elements</strong> and
|
|
<strong>foreign attributes</strong>.</li>
|
|
<li>More doctypes were added to the list of
|
|
“quirks mode” doctypes, all doctypes that ended in
|
|
<code>//EN</code> were revised to drop the
|
|
<code>//EN</code>, and the accompanying text was
|
|
changed to say that instead of the public
|
|
identifier being “set to” a particular doctype
|
|
string that it instead “starts with” that
|
|
particular doctype string.</li>
|
|
<li>A new “Foster parenting” subsection was
|
|
created; its contents were formed by moving
|
|
statements out from algorithms in other parts of
|
|
the “Tree construction” section to form this new
|
|
subsection.</li>
|
|
<li>Statements related to handling of the
|
|
<code class="element">ruby</code>,
|
|
<code class="element">rp</code>,
|
|
and
|
|
<code class="element">rt</code>
|
|
elements
|
|
were added.</li>
|
|
<li>The tree-construction algorithm was refined to
|
|
allow the
|
|
<code class="element">noframes</code>
|
|
element
|
|
as a child of the
|
|
<code class="element">head</code>
|
|
element, and to cause a
|
|
<code class="element">textarea</code>
|
|
element
|
|
within a
|
|
<code class="element">select</code>
|
|
element to imply an end tag for the
|
|
<code class="element">select</code>
|
|
element.</li>
|
|
<li>Algorithms in this section were updated to
|
|
define handling of a number of elements that are
|
|
newly added in HTML5, including
|
|
<code class="element">command</code>,
|
|
<code class="element">event-source</code>,
|
|
<code class="element">article</code>,
|
|
<code class="element">aside</code>,
|
|
<code class="element">datagrid</code>,
|
|
<code class="element">dialog</code>,
|
|
<code class="element">footer</code>,
|
|
<code class="element">header</code>,
|
|
<code class="element">nav</code>,
|
|
<code class="element">section</code>,
|
|
<code class="element">param</code>,
|
|
<code class="element">source</code>,
|
|
</li>
|
|
<li>The following step was added in the “The ‘in
|
|
body’ insertion mode” subsection:
|
|
<blockquote>
|
|
<p><q>An end tag whose tag name is
|
|
“sarcasm”</q></p>
|
|
<p><q>Take a deep breath, then act as described
|
|
in the “any other end tag” entry
|
|
below.</q></p>
|
|
</blockquote>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
<li>A number of instances of the phrase “if
|
|
scripting is enabled” were changed to read, <q>if the
|
|
scripting flag is enabled.</q></li>
|
|
<li>In the “The end” subsection, language related to
|
|
<strong>current document readiness</strong> was
|
|
added.</li>
|
|
</ul>
|
|
</div>
|
|
<div id="namespaces" class="section">
|
|
<h2>Section 8.3, Namespaces <a class="hash" href="#namespaces">#</a> <a class="toc-bak" href="#namespaces-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/syntax.html#namespaces">Section 8.3, Namespaces</a>” in the
|
|
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/syntax.html#namespaces">Section 8.3, Namespaces</a>” in a
|
|
diff-marked version of the specification, showing
|
|
changes made between 22 January 2008 and 10 June
|
|
2008.</p></div>
|
|
<p>In this section, namespace URIs were added for the
|
|
following: MathML, SVG, XLink, XML, XMLNS.</p>
|
|
</div>
|
|
<div id="serializing" class="section">
|
|
<h2>Section 8.4, Serializing HTML fragments <a class="hash" href="#serializing">#</a> <a class="toc-bak" href="#serializing-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/syntax.html#serializing">Section 8.4, Serializing HTML fragments</a>” in the
|
|
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/syntax.html#serializing">Section 8.4, Serializing HTML fragments</a>” in a
|
|
diff-marked version of the specification, showing
|
|
changes made between 22 January 2008 and 10 June
|
|
2008.</p></div>
|
|
<p>In this section, some language refinements were made,
|
|
and <strong>ProcessingInstruction</strong> handling was
|
|
added to the HTML fragment serialization algorithm.</p>
|
|
</div>
|
|
<div id="parsing2" class="section">
|
|
<h2>Section 8.5, Parsing HTML fragments <a class="hash" href="#parsing2">#</a> <a class="toc-bak" href="#parsing2-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/syntax.html#parsing2">Section 8.5, Parsing HTML fragments</a>” in the
|
|
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/syntax.html#parsing2">Section 8.5, Parsing HTML fragments</a>” in a
|
|
diff-marked version of the specification, showing
|
|
changes made between 22 January 2008 and 10 June
|
|
2008.</p></div>
|
|
<p>In this section, some minor refinements were made,
|
|
and a requirement about switching the HTML parser‘s tree
|
|
construction stage was removed from one of the parsing
|
|
steps.</p>
|
|
</div>
|
|
<div id="named" class="section">
|
|
<h2>Section 8.6, Entities [now "Named character references"] <a class="hash" href="#named">#</a> <a class="toc-bak" href="#named-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/syntax.html#named">Section 8.6, Entities [now "Named character references"]</a>” in the
|
|
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/syntax.html#named">Section 8.6, Entities [now "Named character references"]</a>” in a
|
|
diff-marked version of the specification, showing
|
|
changes made between 22 January 2008 and 10 June
|
|
2008.</p></div>
|
|
<p>In this section, the following changes were made:</p>
|
|
<ul>
|
|
<li>The title of the section was changed to “Named
|
|
character references”, and the table listing character
|
|
reference names that are supported by HTML, and the
|
|
code points to which they refer, was greatly expanded
|
|
— mainly to include named character references
|
|
of potential use in MathML documents.</li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
<div id="wsiwyg" class="section">
|
|
<h2>Section 9 [now removed], WYSIWYG editors <a class="hash" href="#wsiwyg">#</a> <a class="toc-bak" href="#wsiwyg-toc">T</a></h2>
|
|
<p>The entire “WYSIWYG editors” section was removed from
|
|
the specification. It had provided information that
|
|
attempted to “allow a way for WYSIWYG editors, which
|
|
aren’t going to use semantic markup, to still write
|
|
conforming documents, while not letting it be ok for
|
|
hand-coding authors to not use semantic markup”.</p>
|
|
</div>
|
|
<div id="rendering" class="section">
|
|
<h2>Section 10 [now section 9], Rendering and
|
|
user-agent behavior <a class="hash" href="#rendering">#</a> <a class="toc-bak" href="#rendering-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/rendering.html#rendering">Section 10 [now section 9], Rendering and
|
|
user-agent behavior</a>” in the
|
|
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/rendering.html#rendering">Section 10 [now section 9], Rendering and
|
|
user-agent behavior</a>” in a
|
|
diff-marked version of the specification, showing
|
|
changes made between 22 January 2008 and 10 June
|
|
2008.</p></div>
|
|
<p>This section is intended to provide
|
|
descriptions of expected user-agent rendering behavior as
|
|
well as other user-agent behavior, but remains mostly just
|
|
a placeholder at this point, with the plan being to
|
|
complete the section later. In this section, the following
|
|
changes were made:</p>
|
|
<ul>
|
|
<li>The title of the section was changed from
|
|
“Rendering” to “Rendering and user-agent behavior”.</li>
|
|
<li>Within this section, a new subsection was added,
|
|
with the title “Obsolete elements, attributes, and
|
|
APIs”. It contains descriptions of the obsoleted <code class="element">applet</code> element and obsolete parts
|
|
of DOM interface for the <code class="element">body</code>
|
|
element.</li>
|
|
</ul>
|
|
</div>
|
|
<div id="no" class="section">
|
|
<h2>Section 11 [now section 10], Things that you
|
|
can't do with this specification… <a class="hash" href="#no">#</a> <a class="toc-bak" href="#no-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/no.html#no">Section 11 [now section 10], Things that you
|
|
can't do with this specification…</a>” in the
|
|
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/no.html#no">Section 11 [now section 10], Things that you
|
|
can't do with this specification…</a>” in a
|
|
diff-marked version of the specification, showing
|
|
changes made between 22 January 2008 and 10 June
|
|
2008.</p></div>
|
|
<p>This mostly non-normative section describes certain
|
|
features that the specification, by design, does not
|
|
address — because “a client-side markup language is not
|
|
the right level for them, or because the features exist in
|
|
other languages that can be integrated into” HTML. In this
|
|
section, the following changes were made:</p>
|
|
<ul>
|
|
<li>In the “Timers” subsection, which is
|
|
planned to be integrated into the Window Object
|
|
specification, the following changes were made: For
|
|
consistency with the Web IDL specification <a href="#webidl">[WebIDL]</a>, the interface
|
|
definition for the <code>WindowTimers</code> and
|
|
<code>TimeoutHandler</code> interfaces were updated, and
|
|
a paragraph was removed that stated conformance
|
|
requirements for the <code class="method">handleEvent()</code> method in the
|
|
<code>TimeoutHandler</code> interface of the ECMAScript
|
|
DOM binding.</li>
|
|
</ul>
|
|
</div>
|
|
<div id="acknowledgements" class="section">
|
|
<h2>Acknowledgements <a class="hash" href="#acknowledgements">#</a> <a class="toc-bak" href="#acknowledgements-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/acknowledgements.html#acknowledgements">Acknowledgements</a>” in the
|
|
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/acknowledgements.html#acknowledgements">Acknowledgements</a>” in a
|
|
diff-marked version of the specification, showing
|
|
changes made between 22 January 2008 and 10 June
|
|
2008.</p></div>
|
|
<p>The following names were added to the list of names in
|
|
the Acknowledgements:</p>
|
|
<blockquote>
|
|
<p>Adam Barth, Addison Phillips, Adele Peterson, Alastair
|
|
Campbell, Anders Carlsson, Anthony Ricaud, Arphen Lin,
|
|
Ashley Sheridan, Aurelien Levy, Ben Millard, Brian
|
|
Smith, Bruce Miller, Cameron McCormack, Daniel Glazman,
|
|
Danny Sullivan,
|
|
Dave Camp, David Bloom, David Carlisle, Dean Edridge,
|
|
Debi Orton, Evan Prodromou, Geoffrey Garen, Henry Mason,
|
|
Hugh Winkler, Jacques Distler, James Justin Harrell,
|
|
Jason White, Jens Fendler, Jjgod Jiang, Johan Herland,
|
|
Jim Jewett, Jim Meehan, Joe Clark, Julian Reschke, Laura
|
|
L. Carlson, Laura Wisewell, Lee Kowalkowski, Leif
|
|
Halvard Silli, Magnus Kristiansen, Masataka Yakura,
|
|
Michael Carter, Michael(tm) Smith, Neil Soiffer, Olaf
|
|
Hoffmann, Oliver Hunt, Peter Karlsson, Philip TAYLOR,
|
|
Ralf Stoltze, Raphael Champeimont, Rene Saarsoo, Richard
|
|
Ishida, Steve Faulkner, Sunava Dutta, Terrence Wood, Tim
|
|
Johansson, Wayne Pollock, Yi-An Huang</p>
|
|
</blockquote>
|
|
</div>
|
|
</div>
|
|
<div id="references" class="section">
|
|
<h2>References <a class="hash" href="#references">#</a> <a class="toc-bak" href="#references-toc">T</a></h2>
|
|
<dl>
|
|
<dt id="html5fpwd">[HTML5FPWD]</dt>
|
|
<dd><a href="http://www.w3.org/TR/2008/WD-html5-20080122/">HTML 5: A vocabulary and associated APIs for HTML and
|
|
XHTML</a> (First Public Working Draft), I. Hickson,
|
|
D. Hyatt, editors. W3C, January 2008.</dd>
|
|
<dt id="html5">[HTML5]</dt>
|
|
<dd><a href="http://www.w3.org/TR/2008/WD-html5-20080610/">HTML 5: A vocabulary and associated APIs for HTML and
|
|
XHTML</a> (current Working Draft), I. Hickson,
|
|
D. Hyatt, editors. W3C, June 2008.</dd>
|
|
<dt id="html4diffs">[HTML4DIFFS]</dt>
|
|
<dd><a href="http://www.w3.org/TR/2008/WD-html5-diff-20080610/">HTML 5 differences from HTML 4</a>, A. van Kesteren, editor. W3C, June 2008.</dd>
|
|
<dt id="webidl">[WebIDL]</dt>
|
|
<dd><a href="http://www.w3.org/TR/2008/WD-DOM-Bindings-20080410/">Language Bindings for DOM Specifications</a>, C. McCormack, editor. W3C, April 2008.</dd>
|
|
</dl>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</body></html>
|