I am releasing a new version of lib-gwt-svg. For a detailed list of changes, see the release notes. This new version is mostly a bug-fix and tuning release, which provides better support for IE9 and Opera. Among the notable features of the release are:
- On IE9, the XPath APIs are now supported. This is made possible by embedding the xpath.js library by Cameron McCormack, which provides the XPath support lacking in IE9 and IE10. Other browsers, which have native xpath support are unchanged and do embed xpath.js.
- On IE9, stylesheets embedded in dynamically loaded SVGs are not ignored any more (found a workaround for this IE9 bug)
- On Opera, xlink hrefs embedded stylesheets contained in dynamically loaded SVGs are not broken any more (found a workaround for this Opera bug)
- On all platforms, OMSVGParser.parse will throw a ParserException in a consistent manner when fed input which is not well-formed or is not an SVG document
I have created a new XPath sample in the lib-gwt-svg-samples program. It lets you type xpath expressions which are evaluated on the fly, resulting in the proper nodes being selected in the SVG and XML view of a sample document.
I have updated all my educational games to use the latest version. The following matrix shows what works and what does not, per platform:
FF | Webkit (chrome) | Opera | IE | |
---|---|---|---|---|
samples-shapes | sample-events | sample-parser | sample-widgets | sample-xpath | sample-smil | (No JS SMIL support) | (No SMIL support) | games-chess | games-dots | (No JS filter support) | (No filter support. Coming in IE10) | games-maze | games-push | games-puzzle |
Leave a Reply