- From: Simon Pieters via cvs-syncmail <cvsmail@w3.org>
- Date: Tue, 06 Mar 2012 11:55:32 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/html4-differences
In directory hutz:/tmp/cvs-serv1943
Modified Files:
Overview.src.html
Log Message:
listify some stuff
Index: Overview.src.html
===================================================================
RCS file: /sources/public/html5/html4-differences/Overview.src.html,v
retrieving revision 1.159
retrieving revision 1.160
diff -u -d -r1.159 -r1.160
--- Overview.src.html 6 Mar 2012 11:45:31 -0000 1.159
+++ Overview.src.html 6 Mar 2012 11:55:30 -0000 1.160
@@ -1482,113 +1482,126 @@
<h3 id="changed-attributes">Changed Attributes</h3>
+
+ <p>Several attributes have changed in various ways.</p>
- <p>The <code data-anolis-spec=html title=attr-input-accept>accept</code>
- attribute on <code data-anolis-spec=html>input</code> now allows the values
- <code>audio/*</code>, <code>video/*</code> and <code>image/*</code>.
+ <ul>
+ <li><p>The <code data-anolis-spec=html
+ title=attr-input-accept>accept</code> attribute on <code
+ data-anolis-spec=html>input</code> now allows the values
+ <code>audio/*</code>, <code>video/*</code> and <code>image/*</code>.
- <p>The <code data-anolis-spec=html title=attr-accesskey>accesskey</code>
- global attribute now allows multiple characters to be specified, which the
- user agent can choose from.
+ <li><p>The <code data-anolis-spec=html
+ title=attr-accesskey>accesskey</code> global attribute now allows multiple
+ characters to be specified, which the user agent can choose from.
- <p>The <code data-anolis-spec=html title=attr-fs-action>action</code>
- attribute on <code data-anolis-spec=html>form</code> is no longer allowed to
- have an empty URL.
+ <li><p>The <code data-anolis-spec=html title=attr-fs-action>action</code>
+ attribute on <code data-anolis-spec=html>form</code> is no longer allowed
+ to have an empty URL.
- <p>The <code data-anolis-spec=html title=attr-table-border>border</code>
- attribute on <code data-anolis-spec=html>table</code> only allows the values
- "1" and the empty string.
+ <li><p>The <code data-anolis-spec=html
+ title=attr-table-border>border</code> attribute on <code
+ data-anolis-spec=html>table</code> only allows the values "1" and the
+ empty string.
- <p>The <code data-anolis-spec=html title=attr-tdth-colspan>colspan</code>
- attribute on <code data-anolis-spec=html>td</code> and <code
- data-anolis-spec=html>th</code> now has to be greater than zero.
+ <li><p>The <code data-anolis-spec=html
+ title=attr-tdth-colspan>colspan</code> attribute on <code
+ data-anolis-spec=html>td</code> and <code data-anolis-spec=html>th</code>
+ now has to be greater than zero.
- <p>The <code data-anolis-spec=html title=attr-area-coords>coords</code>
- attribute on <code data-anolis-spec=html>area</code> no longer allows a
- percentage value of the radius when the element is in the circle state.
+ <li><p>The <code data-anolis-spec=html
+ title=attr-area-coords>coords</code> attribute on <code
+ data-anolis-spec=html>area</code> no longer allows a percentage value of
+ the radius when the element is in the circle state.
- <p>The <code data-anolis-spec=html title=attr-object-data>data</code>
- attribute on <code data-anolis-spec=html>object</code> is no longer said to
- be relative to the <code>codebase</code> attribute.
+ <li><p>The <code data-anolis-spec=html title=attr-object-data>data</code>
+ attribute on <code data-anolis-spec=html>object</code> is no longer said
+ to be relative to the <code>codebase</code> attribute.
- <p>The <code data-anolis-spec=html title=attr-script-defer>defer</code>
- attribute on <code data-anolis-spec=html>script</code> now explicitly makes
- the script execute when the page has finished parsing.
+ <li><p>The <code data-anolis-spec=html
+ title=attr-script-defer>defer</code> attribute on <code
+ data-anolis-spec=html>script</code> now explicitly makes the script
+ execute when the page has finished parsing.
- <p>The <code data-anolis-spec=html title=attr-dir>dir</code> global
- attribute now allows the value <code>auto</code>.
+ <li><p>The <code data-anolis-spec=html title=attr-dir>dir</code> global
+ attribute now allows the value <code>auto</code>.
- <p>The <code data-anolis-spec=html title=attr-fs-enctype>enctype</code>
- attribute on <code data-anolis-spec=html>form</code> now supports the value
- <code>text/plain</code>.
+ <li><p>The <code data-anolis-spec=html
+ title=attr-fs-enctype>enctype</code> attribute on <code
+ data-anolis-spec=html>form</code> now supports the value
+ <code>text/plain</code>.
- <p>The <code data-anolis-spec=html title=attr-dim-width>width</code> and
- <code data-anolis-spec=html title=attr-dim-height>height</code> attributes
- on <code data-anolis-spec=html>img</code>, <code
- data-anolis-spec=html>iframe</code> and <code
- data-anolis-spec=html>object</code> are no longer allowed to contain
- percentages. They are also not allowed to be used to stretch the image to a
- different aspect ratio than its intrinsic aspect ratio.</p>
+ <li><p>The <code data-anolis-spec=html title=attr-dim-width>width</code>
+ and <code data-anolis-spec=html title=attr-dim-height>height</code>
+ attributes on <code data-anolis-spec=html>img</code>, <code
+ data-anolis-spec=html>iframe</code> and <code
+ data-anolis-spec=html>object</code> are no longer allowed to contain
+ percentages. They are also not allowed to be used to stretch the image to
+ a different aspect ratio than its intrinsic aspect ratio.</p>
- <p>The <code data-anolis-spec=html title=attr-link-href>href</code>
- attribute on <code data-anolis-spec=html>link</code> is no longer allowed to
- have an empty URL.
+ <li><p>The <code data-anolis-spec=html title=attr-link-href>href</code>
+ attribute on <code data-anolis-spec=html>link</code> is no longer allowed
+ to have an empty URL.
- <p>The <code data-anolis-spec=html title=attr-base-href>href</code>
- attribute on <code data-anolis-spec=html>base</code> is now allowed to
- contain a relative URL.
+ <li><p>The <code data-anolis-spec=html title=attr-base-href>href</code>
+ attribute on <code data-anolis-spec=html>base</code> is now allowed to
+ contain a relative URL.
- <p>The <code data-anolis-spec=html
- title=attr-meta-http-equiv>http-equiv</code> attribute on <code
- data-anolis-spec=html>meta</code> is no longer said to be used by HTTP
- servers to create HTTP headers in the HTTP response. Instead, it is said to
- be a pragma directive to be used by the user agent.
+ <li><p>The <code data-anolis-spec=html
+ title=attr-meta-http-equiv>http-equiv</code> attribute on <code
+ data-anolis-spec=html>meta</code> is no longer said to be used by HTTP
+ servers to create HTTP headers in the HTTP response. Instead, it is said
+ to be a pragma directive to be used by the user agent.
- <p>The <code data-anolis-spec=html title=attr-id>id</code> global attribute
- is now allowed to have any value, as long as it is unique, is not the empty
- string, and does not contain space characters.
+ <li><p>The <code data-anolis-spec=html title=attr-id>id</code> global
+ attribute is now allowed to have any value, as long as it is unique, is
+ not the empty string, and does not contain space characters.
- <p>The <code data-anolis-spec=html title=attr-lang>lang</code> global
- attribute takes the empty string in addition to a valid language identifier,
- just like <code>xml:lang</code> does in XML.
+ <li><p>The <code data-anolis-spec=html title=attr-lang>lang</code> global
+ attribute takes the empty string in addition to a valid language
+ identifier, just like <code>xml:lang</code> does in XML.
- <p>The <code data-anolis-spec=html title=attr-hyperlink-media>media</code>
- attribute on <code data-anolis-spec=html>link</code> now accepts a media
- query and defaults to "all".
+ <li><p>The <code data-anolis-spec=html
+ title=attr-hyperlink-media>media</code> attribute on <code
+ data-anolis-spec=html>link</code> now accepts a media query and defaults
+ to "all".
- <p>The event handler attributes (e.g. <code data-anolis-spec=html
- title=handler-onclick>onclick</code>) now always use JavaScript as the
- scripting language.
+ <li><p>The event handler attributes (e.g. <code data-anolis-spec=html
+ title=handler-onclick>onclick</code>) now always use JavaScript as the
+ scripting language.
- <p>The <code data-anolis-spec=html title=attr-li-value>value</code>
- attribute of the <code data-anolis-spec=html>li</code> element is no longer
- deprecated as it is not presentational. The same goes for the <code
- data-anolis-spec=html title=attr-ol-start>start</code> and <code
- data-anolis-spec=html title=attr-ol-type>type</code> attributes of the <code
- data-anolis-spec=html>ol</code> element.
+ <li><p>The <code data-anolis-spec=html title=attr-li-value>value</code>
+ attribute of the <code data-anolis-spec=html>li</code> element is no
+ longer deprecated as it is not presentational. The same goes for the <code
+ data-anolis-spec=html title=attr-ol-start>start</code> and <code
+ data-anolis-spec=html title=attr-ol-type>type</code> attributes of the
+ <code data-anolis-spec=html>ol</code> element.
- <p>The <code data-anolis-spec=html title=attr-style>style</code> global
- attribute now always uses CSS as the styling language.
+ <li><p>The <code data-anolis-spec=html title=attr-style>style</code>
+ global attribute now always uses CSS as the styling language.
- <p>The <code data-anolis-spec=html title=attr-tabindex>tabindex</code>
- global attribute now allows negative values which indicate that the element
- can receive focus but cannot be tabbed to.
+ <li><p>The <code data-anolis-spec=html title=attr-tabindex>tabindex</code>
+ global attribute now allows negative values which indicate that the
+ element can receive focus but cannot be tabbed to.
- <p>The <code data-anolis-spec=html title=attr-hyperlink-target>target</code>
- attribute of the <code data-anolis-spec=html>a</code> and <code
- data-anolis-spec=html>area</code> elements is no longer deprecated, as it is
- useful in Web applications, e.g. in conjunction with <code
- data-anolis-spec=html>iframe</code>.
+ <li><p>The <code data-anolis-spec=html
+ title=attr-hyperlink-target>target</code> attribute of the <code
+ data-anolis-spec=html>a</code> and <code data-anolis-spec=html>area</code>
+ elements is no longer deprecated, as it is useful in Web applications,
+ e.g. in conjunction with <code data-anolis-spec=html>iframe</code>.
- <p>The <code data-anolis-spec=html title=attr-script-type>type</code>
- attribute on <code data-anolis-spec=html>script</code> and <code
- data-anolis-spec=html>style</code> is no longer required if the scripting
- language is ECMAScript and the styling language is CSS, respectively.</p>
+ <li><p>The <code data-anolis-spec=html title=attr-script-type>type</code>
+ attribute on <code data-anolis-spec=html>script</code> and <code
+ data-anolis-spec=html>style</code> is no longer required if the scripting
+ language is ECMAScript and the styling language is CSS, respectively.</p>
- <p>The <code data-anolis-spec=html title=attr-hyperlink-usemap>usemap</code>
- attribute on <code data-anolis-spec=html>img</code> no longer takes a URL,
- but instead takes a <span data-anolis-spec=html>valid hash-name
- reference</span> to a <code data-anolis-spec=html>map</code> element.
+ <li><p>The <code data-anolis-spec=html
+ title=attr-hyperlink-usemap>usemap</code> attribute on <code
+ data-anolis-spec=html>img</code> no longer takes a URL, but instead takes
+ a <span data-anolis-spec=html>valid hash-name reference</span> to a <code
+ data-anolis-spec=html>map</code> element.
+
+ </ul>
<p>The following attributes are allowed but authors are discouraged from
using them and instead strongly encouraged to use an alternative solution:</p>
@@ -1859,74 +1872,84 @@
accepts what HTML4 called "block-level" elements; e.g. the <code
data-anolis-spec=html>body</code> element now allows flow content. This is
thus closer to HTML4 Transitional than HTML4 Strict.
+
+ <p>Further changes include:
+
+ <ul>
- <p>The <code data-anolis-spec=html>address</code> element now allows flow
- content, but with no heading content descendants, no sectioning content
- descendants, and no <code data-anolis-spec=html>header</code>, <code
- data-anolis-spec=html>footer</code>, or <code
- data-anolis-spec=html>address</code> element descendants.
+ <li><p>The <code data-anolis-spec=html>address</code> element now allows
+ flow content, but with no heading content descendants, no sectioning
+ content descendants, and no <code data-anolis-spec=html>header</code>,
+ <code data-anolis-spec=html>footer</code>, or <code
+ data-anolis-spec=html>address</code> element descendants.
- <p>HTML4 allowed <code>object</code> in <code>head</code>. HTML5 does not.
+ <li><p>HTML4 allowed <code>object</code> in <code>head</code>. HTML5 does
+ not.
- <p>WHATWG HTML allows <code>link</code> and <code>meta</code> as descendants
- of <code>body</code> if they use microdata attributes.
+ <li><p>WHATWG HTML allows <code>link</code> and <code>meta</code> as
+ descendants of <code>body</code> if they use microdata attributes.
- <p>The <code data-anolis-spec=html>noscript</code> element was a
- "block-level" element in HTML4, but is phrasing content in HTML5.
+ <li><p>The <code data-anolis-spec=html>noscript</code> element was a
+ "block-level" element in HTML4, but is phrasing content in HTML5.
- <p>The <code data-anolis-spec=html>table</code>, <code
- data-anolis-spec=html>thead</code>, <code
- data-anolis-spec=html>tbody</code>, <code
- data-anolis-spec=html>tfoot</code>, <code data-anolis-spec=html>tr</code>,
- <code data-anolis-spec=html>ol</code>, <code
- data-anolis-spec=html>ul</code>, <code data-anolis-spec=html>dl</code> are
- allowed to be empty in HTML5.
+ <li><p>The <code data-anolis-spec=html>table</code>, <code
+ data-anolis-spec=html>thead</code>, <code
+ data-anolis-spec=html>tbody</code>, <code
+ data-anolis-spec=html>tfoot</code>, <code data-anolis-spec=html>tr</code>,
+ <code data-anolis-spec=html>ol</code>, <code
+ data-anolis-spec=html>ul</code>, <code data-anolis-spec=html>dl</code> are
+ allowed to be empty in HTML5.
- <p>Table elements have to conform to the <span data-anolis-spec=html>table
- model</span> (e.g. two cells are not allowed to overlap).
+ <li><p>Table elements have to conform to the <span
+ data-anolis-spec=html>table model</span> (e.g. two cells are not allowed
+ to overlap).
- <p>The <code data-anolis-spec=html>table</code> element now does not allow
- <code data-anolis-spec=html>col</code> elements as direct children. However,
- the HTML parser implies a <code data-anolis-spec=html>colgroup</code>
- element, so this change should not affect <code>text/html</code> content.
+ <li><p>The <code data-anolis-spec=html>table</code> element now does not
+ allow <code data-anolis-spec=html>col</code> elements as direct children.
+ However, the HTML parser implies a <code
+ data-anolis-spec=html>colgroup</code> element, so this change should not
+ affect <code>text/html</code> content.
- <p>The <code data-anolis-spec=html>table</code> element now allows the <code
- data-anolis-spec=html>tfoot</code> element to be the last child.
-
- <p>The <code data-anolis-spec=html>caption</code> element now allows flow
- content, but with no descendant <code data-anolis-spec=html>table</code>
- elements.
+ <li><p>The <code data-anolis-spec=html>table</code> element now allows the
+ <code data-anolis-spec=html>tfoot</code> element to be the last child.
- <p>The <code data-anolis-spec=html>th</code> element now allows flow
- content, but with no <code data-anolis-spec=html>header</code>, <code
- data-anolis-spec=html>footer</code>, sectioning content, or heading content
- descendants.
+ <li><p>The <code data-anolis-spec=html>caption</code> element now allows
+ flow content, but with no descendant <code
+ data-anolis-spec=html>table</code> elements.
- <p>The <code data-anolis-spec=html>a</code> element now has a <span
- data-anolis-spec=html>transparent</span> content model (except it does not
- allow interactive content descendants), meaning that it has the same content
- model as its parent. This means that the <code
- data-anolis-spec=html>a</code> element can now contain e.g. <code
- data-anolis-spec=html>div</code> elements, if its parent allows flow
- content.
+ <li><p>The <code data-anolis-spec=html>th</code> element now allows flow
+ content, but with no <code data-anolis-spec=html>header</code>, <code
+ data-anolis-spec=html>footer</code>, sectioning content, or heading
+ content descendants.
- <p>The <code data-anolis-spec=html>ins</code> and <code
- data-anolis-spec=html>del</code> elements also have a transparent content
- model. HTML4 had similar rules in prose that could not be expressed in the
- DTD.
+ <li><p>The <code data-anolis-spec=html>a</code> element now has a <span
+ data-anolis-spec=html>transparent</span> content model (except it does not
+ allow interactive content descendants), meaning that it has the same
+ content model as its parent. This means that the <code
+ data-anolis-spec=html>a</code> element can now contain e.g. <code
+ data-anolis-spec=html>div</code> elements, if its parent allows flow
+ content.
- <p>The <code data-anolis-spec=html>object</code> element also has a
- transparent content model, after its <code
- data-anolis-spec=html>param</code> children.
+ <li><p>The <code data-anolis-spec=html>ins</code> and <code
+ data-anolis-spec=html>del</code> elements also have a transparent content
+ model. HTML4 had similar rules in prose that could not be expressed in the
+ DTD.
- <p>The <code data-anolis-spec=html>map</code> element also has a transparent
- content model. The <code data-anolis-spec=html>area</code> element is
- considered phrasing content if there is a <code
- data-anolis-spec=html>map</code> element ancestor, which means that they do
- not need to be direct children of <code data-anolis-spec=html>map</code>.
+ <li><p>The <code data-anolis-spec=html>object</code> element also has a
+ transparent content model, after its <code
+ data-anolis-spec=html>param</code> children.
- <p>The <code data-anolis-spec=html>fieldset</code> element no longer
- requires a <code data-anolis-spec=html>legend</code> child.
+ <li><p>The <code data-anolis-spec=html>map</code> element also has a
+ transparent content model. The <code data-anolis-spec=html>area</code>
+ element is considered phrasing content if there is a <code
+ data-anolis-spec=html>map</code> element ancestor, which means that they
+ do not need to be direct children of <code
+ data-anolis-spec=html>map</code>.
+
+ <li><p>The <code data-anolis-spec=html>fieldset</code> element no longer
+ requires a <code data-anolis-spec=html>legend</code> child.
+
+ </ul>
<h2 id="apis">APIs</h2>
Received on Tuesday, 6 March 2012 11:55:38 UTC