Fixed the bug with ghostly lines appearing in line-numbering

10/09/07

Permalink 12:53:49 pm, by mholmes, 110 words, 382 views   English (CA)
Categories: Activity log; Mins. worked: 30

Fixed the bug with ghostly lines appearing in line-numbering

This was another empty-span-tag issue, caused by the combination of Cocoon and Firefox. Cocoon spits out empty tags as self-closing tags (which is wrong according to W3C guidelines), and Firefox screws up rendering when it encounters a self-closing tag which can have content, such as <span/> (which is annoying but at least draws our attention to the problem). In the case of this error, the empty span tags were caused by lines which have no number (i.e. no @n attribute), because they're in some way a refrain or a tagline that shouldn't be numbered. Fixed this by adding non-breaking spaces where there are no line numbers.

Pingbacks:

No Pingbacks for this post yet...

Devonshire

Reports

Categories

May 2013
Sun Mon Tue Wed Thu Fri Sat
 << <   > >>
      1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31  

XML Feeds