Re: Table background

Helder Magalhães <[email protected]>
Newsgroups gmane.comp.web.amaya.general
Message-ID <[email protected]>
Hi everyone,


> I could set the color, but not the background image.

I realized that, although Amaya sets the appropriate CSS information
(one may confirm toggling "view source" and/or by opening the document
in other browser such as Firefox), there seem to be a couple of
issues:

1. The background image isn't rendered by Amaya, thereby becoming
somehow confusing (the style information is there but no visual
feedback is obtained);

2. The URI is not escaped as the standard [1] states it should,
thereby URI which contain spaces ("My image.png", for example) to fail
(at least in Firefox and Opera). A quick experiment confirmed that
placing a quote (optional [1]) around the URI helps avoiding escaping
the URL's special characters, although I'm not sure if that would be
conformant behavior.

3. When the image URI is absolute and comes from a local resource, the
file URI scheme [2] should be used ("file:///C:/My image.png" instead
of "C:/My image.png").

I haven't checked for the possibility of these could be regressions
from previous Amaya versions.


Hope this helps,
 Helder


[1] http://www.w3.org/TR/CSS2/syndata.html#uri
[2] http://en.wikipedia.org/wiki/File_URI_scheme
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.