Re: chrome 53 styleSheet insertRule not working

2016-09-22 Thread fenyoapa
I solved it by not storing the sheet in a gwt JavaScriptObject field but always get it with a native js method: styleElement.sheet. -- You received this message because you are subscribed to the Google Groups "GWT Users" group. To unsubscribe from this group and stop receiving emails from it,

Re: chrome 53 styleSheet insertRule not working

2016-09-09 Thread fenyoapa

Re: chrome 53 styleSheet insertRule not working

2016-09-09 Thread fenyoapa
2016. szeptember 9., péntek 11:41:12 UTC+2 időpontban fenyoapa a következőt írta: > > hi, > it is maybe not a gwt issue, but it is in a gwt app. > This code snippet worked for years: > > > *$doc.styleSheets[0].insertRule('.aclassname { color:red;}', 0);* > but now in chrome 53.0.2785.101 m

Re: chrome 53 styleSheet insertRule not working

2016-09-09 Thread Thomas Broyer
Works for me (from the devtools console, but still). 53.0.2785.101 (64-bit) on Ubuntu 16.04. On Friday, September 9, 2016 at 11:41:12 AM UTC+2, fenyoapa wrote: > > hi, > it is maybe not a gwt issue, but it is in a gwt app. > This code snippet worked for years: > > >