Support for BON in inline event handlers (issue 7097)