bug-lilypond
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Some background PNGs are 0-length


From: markdblackwell
Subject: Some background PNGs are 0-length
Date: Wed, 9 Sep 2015 13:05:12 -0700 (MST)

RELEVANT COMMIT

The latest commit relevant to the below problem seems to be "Web: Revise
navigation bars with CSS gradients":

http://git.savannah.gnu.org/cgit/lilypond.git/diff/?id=0a89d9ec5ab4b03a6396c0970aa0a227f8950c31

which regards issue "#4258 Patch: Web: revise navigation bars with CSS
gradients":

http://sourceforge.net/p/testlilyissues/issues/4258/
https://code.google.com/p/lilypond/issues/detail?id=4258

with code review "Issue 193140043: Web: revise navigation bars with CSS
gradients (Closed)":

https://codereview.appspot.com/193140043/

MINOR PROBLEM

The following PNG files (only), added by the above commit, are empty (i.e.,
their length is 0 bytes):

lily-home-32x32.png
nav1-active.png
nav1-bg.png
nav1-hover.png
nav2-active.png
nav2-bg.png
nav2-hover.png

as revealed by:

$ ls -Sdlr `find . -type f` | head

All are in Documentation/pictures/.

Here's the (only) file which references the first PNG:

Documentation/css/lilypond-website.css

All web browsers seem to use this single PNG, not just IE (Microsoft's
Internet Explorer).

Only one file references the later PNGs (after the first PNG):

Documentation/css/lilypond-website-ie-fixes.css

Its comments say:

/* IE9 and IE8 lack support for CSS gradients so this file */
/* supplies background images for them instead. */

Seemingly (therefore), any effect of the emptiness of these later PNGs would
become noticeable only with IE 9 or below.

Perhaps someone intended to replace all these empty PNGs with actual,
functional PNGs at some future time. However, as yet, no one has done so.

Web developers' usual practice, as I understand it, is to provide actual,
image-containing PNGs as a fallback to various CSS syntax which fails in
certain web browsers.

BTW, here's the (only) file which references these CSS files:

Documentation/lilypond-texi2html.init

A comment there explains the use of these fixes for IE:

# Add a conditionally included CSS file for IE, for either the docs or the
website

There, the fixes are applied to IE versions less than or equal to 9 for the
web manual, but less than or equal to 7 for all other usages. BTW, I wonder
why we have this version difference between usages?

This post in 2010 reported statistics on IE visits to lilypond.org:

http://lilypond.1069038.n5.nabble.com/Issue-1182-in-lilypond-Website-rendering-problem-with-navigation-bar-in-IE-6-tp85968p85974.html

Windows XP is limited to IE 8.



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Some-background-PNGs-are-0-length-tp180917.html
Sent from the Bugs mailing list archive at Nabble.com.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]