Author: michael
Description:
This is a new behaviour. All CSS comments in inline CSS within wikitext, or inline CSS entered in a template are
changed to either a single space character, or to the numeric entity for a non-breaking space (seemingly at
random, both appear in the same web page). This breaks CSS comments, including perfectly valid workarounds
for browser bugs.
Example: this completely breaks the behaviour of [[en:Template:IPA]] and several others, which work around a
font-rendering problem in MSIE/Windows, and appear in the English Wikipedia literally thousands of times.
This template, containing only correctly-formed CSS, gives MSIE a font specification for rendering
pronunciation in the [[en:International Phonetic Alphabet]]. Then it provides a second declaration ("font-family:
inherit;") which hides the first spec from all other browsers. But MSIE ignores the second spec because of a
rendering bug. [http://www.dithered.com/css_filters/css_only/property_space_comment.html]
To see the effects of this bug, view the article on [[en:IPA]] using Firefox or Safari, and notice how IPA text is
rendered in different fonts, depending on what you have installed at the system.
More info at [[en:Template talk:IPA#This is annoying...]].
Version: unspecified
Severity: major
OS: Mac OS X 10.4
URL: http://en.wikipedia.org/wiki/Template_talk:IPA#This_is_annoying...