[html5] r2131 - [t] (0) Minor fixes: Ignore out-of-band encoding if it's not supported; require [...]

whatwg at whatwg.org whatwg at whatwg.org
Mon Sep 1 20:35:08 PDT 2008


Author: ianh
Date: 2008-09-01 20:35:06 -0700 (Mon, 01 Sep 2008)
New Revision: 2131

Modified:
   index
   source
Log:
[t] (0) Minor fixes: Ignore out-of-band encoding if it's not supported; require 2d context's 'font' attribute to ignore errors on setting.

Modified: index
===================================================================
--- index	2008-08-29 11:39:38 UTC (rev 2130)
+++ index	2008-09-02 03:35:06 UTC (rev 2131)
@@ -1,4 +1,4 @@
-
+<!DOCTYPE HTML>
 <html lang=en-US-x-hixie>
  <head>
   <title>HTML 5</title>
@@ -28,8 +28,8 @@
 
    <h1 id=html-5>HTML 5</h1>
 
-   <h2 class="no-num no-toc" id=draft>Draft Recommendation — 29 August
-    2008</h2>
+   <h2 class="no-num no-toc" id=draft>Draft Recommendation — 1
+    September 2008</h2>
 
    <p>You can take part in this work. <a
     href="http://www.whatwg.org/mailing-list">Join the working group's
@@ -22820,9 +22820,11 @@
    attribute, on setting, must be parsed the same way as the 'font' property
    of CSS (but without supporting property-independent stylesheet syntax like
    'inherit'), and the resulting font must be assigned to the context, with
-   the 'line-height' component forced to 'normal'. <a
-   href="#refsCSS">[CSS]</a><!-- XXX generic
-  version-independent reference -->
+   the 'line-height' component forced to 'normal'. If the new value is
+   syntactically incorrect, then it must be ignored, without assigning a new
+   font value. <a
+   href="#refsCSS">[CSS]</a><!-- XXX generic version-independent
+  reference -->
 
   <p>Font names must be interpreted in the context of the <code><a
    href="#canvas">canvas</a></code> element's stylesheets; any fonts embedded
@@ -46226,8 +46228,8 @@
 
   <ol>
    <li>
-    <p>If the transport layer specifies an encoding, return that encoding
-     with the <a href="#confidence"
+    <p>If the transport layer specifies an encoding, and it is supported,
+     return that encoding with the <a href="#confidence"
      title=concept-encoding-confidence>confidence</a> <i>certain</i>, and
      abort these steps.
 
@@ -53072,7 +53074,7 @@
     href="#form-element"><code>form</code> element pointer</a> in the parser)
   </ul>
 
-  <p class=note>The mutatiosn allowed by this section apply <em>after</em>
+  <p class=note>The mutations allowed by this section apply <em>after</em>
    the <a href="#html-0">HTML parser</a>'s rules have been applied. For
    example, a <code title=""><a::></code> start tag will be closed by a
    <code title=""></a::></code> end tag, and never by a <code

Modified: source
===================================================================
--- source	2008-08-29 11:39:38 UTC (rev 2130)
+++ source	2008-09-02 03:35:06 UTC (rev 2131)
@@ -20078,8 +20078,10 @@
   property of CSS (but without supporting property-independent
   stylesheet syntax like 'inherit'), and the resulting font must be
   assigned to the context, with the 'line-height' component forced to
-  'normal'. <a href="#refsCSS">[CSS]</a><!-- XXX generic
-  version-independent reference --></p>
+  'normal'. If the new value is syntactically incorrect, then it must
+  be ignored, without assigning a new font value. <a
+  href="#refsCSS">[CSS]</a><!-- XXX generic version-independent
+  reference --></p>
 
   <p>Font names must be interpreted in the context of the
   <code>canvas</code> element's stylesheets; any fonts embedded using
@@ -43665,8 +43667,8 @@
 
   <ol>
 
-   <li><p>If the transport layer specifies an encoding, return that
-   encoding with the <span
+   <li><p>If the transport layer specifies an encoding, and it is
+   supported, return that encoding with the <span
    title="concept-encoding-confidence">confidence</span>
    <i>certain</i>, and abort these steps.</p></li>
 
@@ -50055,7 +50057,7 @@
 
   </ul>
 
-  <p class="note">The mutatiosn allowed by this section apply
+  <p class="note">The mutations allowed by this section apply
   <em>after</em> the <span>HTML parser</span>'s rules have been
   applied. For example, a <code title=""><a::></code> start tag
   will be closed by a <code title=""></a::></code> end tag, and




More information about the Commit-Watchers mailing list