KunjanSharma / gwt-chronoscope

Automatically exported from code.google.com/p/gwt-chronoscope
GNU Lesser General Public License v2.1
0 stars 0 forks source link

GSS file location resolution inconsistencies #147

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
I'm trying to put my main HTML file in the root of the WAR.
If the GSS file is also in the root, then Google Chrome finds it, but FF and 
IE8 don't. FF & IE require a public folder so that the GSS will be placed under 
the module's folder.

Which of the browser is doing the correct resolution, and what should be done 
to fix the rest?

What version of the product are you using? On what operating system?
Latest source

Original issue reported on code.google.com by tom...@gmail.com on 4 Oct 2010 at 5:39

GoogleCodeExporter commented 9 years ago
Gss files are loaded using ajax requests, you have to provide the absolute path 
to your gss files or the relative path giving the application page as reference.
Take a look to the errors using firebug and fix your <link> tags.

Original comment by manuel.carrasco.m on 24 Oct 2010 at 9:53

GoogleCodeExporter commented 9 years ago
Relative paths don't work because different browsers solve them differently.
If I want to use a relative path, I have to put the same gss file both in the 
root directory and under the public directory.

Original comment by tom...@gmail.com on 24 Oct 2010 at 9:58

GoogleCodeExporter commented 9 years ago
Not sure about what you mean. I'm unable to reproduce the issue.
Please could you provide an example with the issue, html file, gss files, etc. 
or a simple eclipse project?

- Manolo 

Original comment by manuel.carrasco.m on 24 Oct 2010 at 10:47