Bugzilla – Bug 600
Remove a redundant parse error in the bang state. Make shadows hidden until they're non-zero-alpha.
Last modified: 2009-11-23 17:17:30 CET
Index: source =================================================================== --- source (revision 3193) +++ source (revision 3194) @@ -26366,9 +26366,9 @@ be ignored.</p> <p><dfn title="when shadows are drawn">Shadows are only drawn - if</dfn> either the opacity component of the alpha component of the - color of <code title="dom-context-2d-shadowColor">shadowColor</code> - is non-zero, or the <code + if</dfn> the opacity component of the alpha component of the color + of <code title="dom-context-2d-shadowColor">shadowColor</code> is + non-zero and either the <code title="dom-context-2d-shadowBlur">shadowBlur</code> is non-zero, or the <code title="dom-context-2d-shadowOffsetX">shadowOffsetX</code> is non-zero, or the <code @@ -74792,9 +74792,9 @@ comment in comment end state --> <dt>Anything else</dt> - <dd><span>Parse error</span>. Append two U+002D HYPHEN-MINUS (-) - characters, a U+0021 EXCLAMATION MARK (!) character, and the input - character to the comment token's data. Switch to the <span>comment + <dd>Append two U+002D HYPHEN-MINUS (-) characters, a U+0021 + EXCLAMATION MARK (!) character, and the input character to the + comment token's data. Switch to the <span>comment state</span>.</dd> </dl>