User talk:Rdm: Difference between revisions

m
/* Bug found in wiki-preprocessor - image metatag placement attributes corrupted when flanking spaces are introduced into Math tag
m (/* Bug found in wiki-preprocessor - image metatag placement attributes corrupted when flanking spaces are introduced into Math tag)
Line 323:
::: Ah - getting clearer now, on closer reading of the diff.
::: 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.671ex;height671exheight''' where there should be a semi-colon between the digitletters 1'''x''' and the letter e'''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
::: 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)
9,655

edits