Bugzilla – 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.
Last modified: 2009-11-23 17:17:01 CET
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=""><a::></code> start tag will be closed by a <code title=""></a::></code> end tag, and