Maintenance: Planio will be observing a scheduled maintenance window this Sunday, November 10, 2024 from 20:00 UTC until 21:00 UTC to perform important network maintenance in our primary data center. Your Planio account will be unavailable for a few minutes during this maintenance window.
Bug #4728
closedCoverage for event handling
100%
Description
As raised on the saxon-help list, we do not document which types of events Saxon-JS can, and cannot, handle. Currently not all events are handled, but the documentation doesn't include anything about the restrictions.
The event handling coverage should be extended, and the documentation improved.
Martynas's original message:
are there any limitations re. the types of events Saxon-JS can handle? I don't think there is anything in the documentation on this topic.
I'm doing a simple 'onblur' test but cannot get it to work (no effect):
<xsl:template match="input[tokenize(@class, ' ') = 'typeahead']"
mode="ixsl:onblur">
<xsl:sequence select="ixsl:call(ixsl:window(), 'alert', [
'typeahead blur' ])"/>
</xsl:template>
Reproducible code: https://github.com/namedgraph/saxon-js2-test/tree/gh-pages
Previously with Saxon-CE I also had to revert to JS with events such as 'onsubmit'.
Related issues
Please register to edit this issue
Also available in: Atom PDF Tracking page