kogmbh/WebODF — pull request #470 by peitschie (2014-03-14 02:53:15+00:00)
Title: Allow the event trap to receive focus in read-only mode

A disabled element is not able to become the document's activeElement. The better way of setting the event trap to non-editable is through the readOnly flag. This still allows focus to be passed to the trap.

During a mouse down event, the event trap should be disabled however to ensure it doesn't capture the window selection.