NOTE: The current preferred location for bug reports is the GitHub issue tracker.
Bug 309 - Minor fixes: Ignore out-of-band encoding if it's not supported; require 2d context's 'font' attribute to ignore errors on setting.
Minor fixes: Ignore out-of-band encoding if it's not supported; require 2d co...
Status: NEW
Product: Validator.nu
Classification: Unclassified
Component: HTML parser
HEAD
All All
: P2 normal
Assigned To: Nobody
http://svn.whatwg.org/webapps/source?...
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-09-25 11:51 CEST by Henri Sivonen
Modified: 2009-11-23 17:17 CET (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Henri Sivonen 2008-09-25 11:51:58 CEST
Index: source
===================================================================
--- source	(revision 2130)
+++ source	(revision 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="">&lt;a::></code> start tag
   will be closed by a <code title="">&lt;/a::></code> end tag, and