W3C home > Mailing lists > Public > public-html-diffs@w3.org > February 2010

annevk: mention new media type in syntax section; fix typo; documents using the HTML syntax could be served as text/plain

From: poot <cvsmail@w3.org>
Date: Thu, 11 Feb 2010 16:48:21 +0900 (JST)
To: public-html-diffs@w3.org
Message-Id: <20100211074822.14F902BCD0@toro.w3.mag.keio.ac.jp>
annevk: mention new media type in syntax section; fix typo; documents
using the HTML syntax could be served as text/plain

http://dev.w3.org/cvsweb/html5/html4-differences/Overview.html?r1=1.86&r2=1.87&f=h

===================================================================
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 @@
   &lt;/body>
 &lt;/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 @@
   &lt;/body>
 &lt;/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:50 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 18 December 2010 06:14:17 GMT