- From: Anne van Kesteren via cvs-syncmail <cvsmail@w3.org>
- Date: Thu, 11 Feb 2010 07:48:15 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/html4-differences
In directory hutz:/tmp/cvs-serv18381
Modified Files:
Overview.html Overview.src.html
Log Message:
mention new media type in syntax section; fix typo; documents using the HTML syntax could be served as text/plain
Index: Overview.html
===================================================================
RCS file: /sources/public/html5/html4-differences/Overview.html,v
retrieving revision 1.86
retrieving revision 1.87
diff -u -d -r1.86 -r1.87
--- Overview.html 11 Feb 2010 07:13:36 -0000 1.86
+++ Overview.html 11 Feb 2010 07:48:13 -0000 1.87
@@ -366,8 +366,8 @@
href="http://www.w3.org/TR/1999/REC-html401-19991224/appendix/notes.html#h-B.3.6">processing
instructions</a> and <a
href="http://www.w3.org/TR/1999/REC-html401-19991224/appendix/notes.html#h-B.3.7">shorthand
- markup</a>. Documents using the HTML syntax must be served with the
- <code>text/html</code> media type.
+ markup</a>. Documents using the HTML syntax are almost always served with
+ the <code>text/html</code> media type.
<p>HTML5 also defines detailed parsing rules (including "error handling")
for this syntax which are largely compatible with popular implementations.
@@ -386,6 +386,10 @@
</body>
</html></code></pre>
+ <p>HTML5 also defines a <code>text/html-sandboxed</code> media type for
+ documents using the HTML syntax. This can be used when hosting untrusted
+ content.
+
<p>The other syntax that can be used for HTML5 is XML. This syntax is
compatible with XHTML1 documents and implementations. Documents using this
syntax need to be served with an XML media type and elements need to be
@@ -1261,7 +1265,7 @@
the <code>output</code> element, can now be labeled using the
<code>label</code> element.
- <li>A new media type, <code>text/html-sandboxed</code>, was introduced. to
+ <li>A new media type, <code>text/html-sandboxed</code>, was introduced to
allow hosting of potential hostile content without it causing harm.
<li>A <code>srcdoc</code> attribute for the <code>iframe</code> element
Index: Overview.src.html
===================================================================
RCS file: /sources/public/html5/html4-differences/Overview.src.html,v
retrieving revision 1.64
retrieving revision 1.65
diff -u -d -r1.64 -r1.65
--- Overview.src.html 11 Feb 2010 07:13:37 -0000 1.64
+++ Overview.src.html 11 Feb 2010 07:48:13 -0000 1.65
@@ -272,8 +272,8 @@
<a href="http://www.w3.org/TR/1999/REC-html401-19991224/appendix/notes.html#h-B.3.6">processing instructions</a>
and
<a href="http://www.w3.org/TR/1999/REC-html401-19991224/appendix/notes.html#h-B.3.7">shorthand markup</a>.
- Documents using the HTML syntax must be
- served with the <code>text/html</code> media type.</p>
+ Documents using the HTML syntax are almost always served with the
+ <code>text/html</code> media type.</p>
<p>HTML5 also defines detailed parsing rules (including "error
handling") for this syntax which are largely compatible with popular
@@ -292,6 +292,10 @@
</body>
</html></code></pre>
+ <p>HTML5 also defines a <code>text/html-sandboxed</code> media type for
+ documents using the HTML syntax. This can be used when hosting untrusted
+ content.</p>
+
<p>The other syntax that can be used for HTML5 is XML. This syntax
is compatible with XHTML1 documents and implementations. Documents
using this syntax need to be served with an XML media type and elements
@@ -1078,7 +1082,7 @@
<li>The <code>meter</code> and <code>progress</code> elements, as well
as the <code>output</code> element, can now be labeled using the
<code>label</code> element.</li>
- <li>A new media type, <code>text/html-sandboxed</code>, was introduced.
+ <li>A new media type, <code>text/html-sandboxed</code>, was introduced
to allow hosting of potential hostile content without it causing
harm.</li>
<li>A <code>srcdoc</code> attribute for the <code>iframe</code> element
Received on Thursday, 11 February 2010 07:48:16 UTC