Bug #5572
openScroll events in a grid don't bubble up to the document
0%
Description
If we don't address the issue of non-bubbling events, we should document this.
Updated by Norm Tovey-Walsh 5 months ago
I don't recall what observation was the impetus behind logging this bug. (Always log a test case, Norm.)
However, in SaxonJS 3.x, it will be possible to register an XSLT function as the event handler for a non-bubbling event. At the moment, this has to be done on the JavaScript side of the fence:
fn = SaxonJS["xsltFunctionMapper"].lookup("Q{http://example.com/ns/mocha/js}has-focus")
document.querySelector("#f1").addEventListener("focus", fn)
It might be possible to make it work entirely from the XSLT side of the fence, but it might be tricky. The function in this case is actually a proper JavaScript function that marshals arguments and return types for the XSLT function.
Please register to edit this issue
Also available in: Atom PDF Tracking page