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 doesn't work in IE & Chrome #146

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
When adding <link rel="stylesheet" href="simple.css" type="text/gss"> to the 
HTML, the chart data line is no longer painted. The rest of the chart is 
painted correctly.

What version of the product are you using? On what operating system?
Latest source, on Win7 x64, both hosted and web modes in IE8 & Google Chrome.

Please provide any additional information below.
The GSS is applied correctly in Firefox.

Chrome prints the following:
12:10:35.460 [ERROR] [timelineDemo] Uncaught exception escaped
com.google.gwt.core.client.JavaScriptException: (INDEX_SIZE_ERR): 
INDEX_SIZE_ERR: DOM Exception 1
 code: 1
 __gwt_ObjectId: 858
 INDEX_SIZE_ERR: 1
 DOMSTRING_SIZE_ERR: 2
 HIERARCHY_REQUEST_ERR: 3
 WRONG_DOCUMENT_ERR: 4
 INVALID_CHARACTER_ERR: 5
 NO_DATA_ALLOWED_ERR: 6
 NO_MODIFICATION_ALLOWED_ERR: 7
 NOT_FOUND_ERR: 8
 NOT_SUPPORTED_ERR: 9
 INUSE_ATTRIBUTE_ERR: 10
 INVALID_STATE_ERR: 11
 SYNTAX_ERR: 12
 INVALID_MODIFICATION_ERR: 13
 NAMESPACE_ERR: 14
 INVALID_ACCESS_ERR: 15
 VALIDATION_ERR: 16
 TYPE_MISMATCH_ERR: 17
 SECURITY_ERR: 18
 NETWORK_ERR: 19
 ABORT_ERR: 20
 URL_MISMATCH_ERR: 21
 QUOTA_EXCEEDED_ERR: 22
    at com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:195)
    at com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:120)
    at com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:507)
    at com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject(ModuleSpace.java:264)
    at com.google.gwt.dev.shell.JavaScriptHost.invokeNativeObject(JavaScriptHost.java:91)
    at com.google.gwt.core.client.impl.Impl.apply(Impl.java)
    at com.google.gwt.core.client.impl.Impl.entry0(Impl.java:188)
    at sun.reflect.GeneratedMethodAccessor70.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103)
    at com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:71)
    at com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:157)
    at com.google.gwt.dev.shell.BrowserChannel.reactToMessages(BrowserChannel.java:1669)
    at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:401)
    at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:222)
    at java.lang.Thread.run(Thread.java:619)

Original issue reported on code.google.com by tom...@gmail.com on 3 Oct 2010 at 10:18

GoogleCodeExporter commented 9 years ago
Correction:
This happens when the GSS contains
overview {visiblity: hidden;}

Original comment by tom...@gmail.com on 3 Oct 2010 at 10:29

GoogleCodeExporter commented 9 years ago
I've added the line:

if (!visible) return;

in the beginning of OverviewAxisPanel.draw()

Original comment by tom...@gmail.com on 4 Oct 2010 at 5:55

GoogleCodeExporter commented 9 years ago
The provided code above causes exceptions during executino, so it's not a real 
solution. It drove me to remark/modify other places in the code as well.

Original comment by tom...@gmail.com on 5 Oct 2010 at 8:01

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r1265.

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

GoogleCodeExporter commented 9 years ago
Please verify that this is not an issue, just a misspelling in your gss.
Substitute overview {visiblity: hidden;} by overview {visibility: hidden;}

- Manolo

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