User talk:Rdm: Difference between revisions

Content added Content deleted
m (/* Bug found in wiki-preprocessor - image metatag placement attributes corrupted when flanking spaces are introduced into Math tag)
Line 324: Line 324:
::: It looks as if the injection of the fallback '''alttext''' attribute is prompted by some kind of error condition, and is not itself the source of a failure to display.
::: It looks as if the injection of the fallback '''alttext''' attribute is prompted by some kind of error condition, and is not itself the source of a failure to display.
::: The deeper problem is that when the redundant flanking spaces are introduced into the math tag by a human editor, a bug in the wiki preprocessor generates some '''ill-formed code''', dropping a semicolon at the end of a vertical-align attribute and concatenating the alignment value straight into the name of the following height attribute, so that we get something like: '''vertical-align:-2.671exheight''' where there should be a semi-colon between the letters '''x''' and '''h'''.
::: The deeper problem is that when the redundant flanking spaces are introduced into the math tag by a human editor, a bug in the wiki preprocessor generates some '''ill-formed code''', dropping a semicolon at the end of a vertical-align attribute and concatenating the alignment value straight into the name of the following height attribute, so that we get something like: '''vertical-align:-2.671exheight''' where there should be a semi-colon between the letters '''x''' and '''h'''.
::: Restoring the missing semi-colon between the '''vertical-align''' and '''height attributes''' proves sufficient to restore the lost visibility on the main iOS and OSX browsers
::: Restoring the missing semi-colon between the '''vertical-align''' and '''height attributes''' proves sufficient to restore the lost visibility on the main iOS and OSX browsers.
::: In short - there is a bug in the wiki pre-processor. Adding the redundant spaces to a math tag leads to the generation of an ill-formed fall-back image metatag, with a corrupted pair of placement attributes. Not a bad reason for scrupulously avoiding the injection of redundant space into <math> tags, and clearly no fault of the browsers. Bug report, some one ? [[User:Hout|Hout]] ([[User talk:Hout|talk]]) 22:39, 16 September 2016 (UTC)
::: In short - there is a bug in the wiki pre-processor. Adding the redundant spaces to a math tag leads to the generation of an ill-formed fall-back image metatag, with a corrupted pair of placement attributes. Not a bad reason for scrupulously avoiding the injection of redundant space into <math> tags, and clearly no fault of the browsers. Bug report, some one ? [[User:Hout|Hout]] ([[User talk:Hout|talk]]) 22:39, 16 September 2016 (UTC)