Re: Element.getStyle() getProperty from css external file

2009-10-08 Thread Thomas Broyer



On 7 oct, 16:56, iwo.di...@gmail.com iwo.di...@gmail.com wrote:
 Hello,
    I have a webpage with external css file, I must parse this page and
 read css property for any tag. I use Element.getStyle().getProperty,
 but this not read the css property from external file, but only inline
 style.

 how can I do?

There's no API in GWT, you'd have to resort to using JSNI and cope for
browser-specific APIs (runtimeStyle in IE, computedStyle in others)
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en
-~--~~~~--~~--~--~---



Element.getStyle() getProperty from css external file

2009-10-07 Thread iwo.di...@gmail.com

Hello,
   I have a webpage with external css file, I must parse this page and
read css property for any tag. I use Element.getStyle().getProperty,
but this not read the css property from external file, but only inline
style.

how can I do?

best regards

Ivan

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en
-~--~~~~--~~--~--~---