We ran into the same problem.  We took a different approach particular to 
the function no longer being supported.

The DOM.gwt.xml switches user.agents with ie10 or less from StyleInjectorImpl 
to StyleInjectorImplIE.

In the gwt.xml file we check if the function exists 
return typeof $doc.createStyleSheet === 'function';

If that function does not exist and the user.agent is ie10 or less switch 
StyleInjectorImpl to IeCompatibilityStyleInjectorImpl.

IeCompatibilityStyleInjectorImpl is a class we created that just extends 
StyleInjectorImpl.  This was required so that the DOM.gwt.xml doesn't find 
and try to switch StyleInjectorImpl.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

Reply via email to