- From: Simon Pieters via cvs-syncmail <cvsmail@w3.org>
- Date: Mon, 05 Mar 2012 15:28:20 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/html4-differences
In directory hutz:/tmp/cvs-serv17706
Modified Files:
Overview.src.html
Log Message:
fix changed attributes
Index: Overview.src.html
===================================================================
RCS file: /sources/public/html5/html4-differences/Overview.src.html,v
retrieving revision 1.154
retrieving revision 1.155
diff -u -d -r1.154 -r1.155
--- Overview.src.html 5 Mar 2012 10:31:11 -0000 1.154
+++ Overview.src.html 5 Mar 2012 15:28:18 -0000 1.155
@@ -328,10 +328,6 @@
<li>HTML now has native support for IRIs, though they can only be fully
used if the document encoding is UTF-8 or UTF-16.</li>
- <li>The <code data-anolis-spec=html title=attr-lang>lang</code> attribute takes the empty string in addition
- to a valid language identifier, just like <code>xml:lang</code> does in
- XML.</li>
-
<li>The <code>&lang;</code> and <code>&rang;</code> named character
references now expand to U+27E8 and U+27E9 instead of U+2329 and U+232A,
respectively.
@@ -1176,11 +1172,17 @@
<li><p>The <code data-anolis-spec=html>menu</code> element is redefined to
be useful for toolbars and context menus.</p></li>
- <li><p>The <code data-anolis-spec=html>meta</code> element when it has an
- <code data-anolis-spec=html title=attr-meta-http-equiv>http-equiv</code>
- attribute, 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.
+ <!--
+ META
+ html4:
+ The META element can be used to identify properties of a document (e.g.,
+ author, expiration date, a list of key words, etc.) and assign values to
+ those properties.
+
+ html5:
+ The meta element represents various kinds of metadata that cannot be
+ expressed using the title, base, link, style, and script elements.
+ -->
<li><p>The <code data-anolis-spec=html>noscript</code> element is no
longer said to be rendered when the user agent doesn't support a scripting
@@ -1481,15 +1483,99 @@
<h3 id="changed-attributes">Changed Attributes</h3>
+ <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.
+
+ <p>The <code data-anolis-spec=html title=attr-form-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.
+
+ <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.
+
+ <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.
+
+ <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-form-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>
+
+ <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.
+
+ <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.
+
+ <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".
+
+ <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 for the <code data-anolis-spec=html>li</code> element is no longer
+ 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.
+
+ <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 for the <code data-anolis-spec=html>a</code> and <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>.
@@ -1499,9 +1585,10 @@
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-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-img-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.
<p>The following attributes are allowed but authors are discouraged from
using them and instead strongly encouraged to use an alternative solution:</p>
@@ -1529,11 +1616,6 @@
title=attr-table-summary>summary</code> attribute on <code
data-anolis-spec=html>table</code>. The HTML5 draft defines several
alternative solutions.</p></li>
-
- <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> and other elements are
- no longer allowed to contain percentages.</p></li>
</ul>
Received on Monday, 5 March 2012 15:28:27 UTC