It would be nice to be able to test that when an element is focused, it becomes the activeElement as that's how it would generally behave within a browser.
This looks like it could be accomplished by assigning owner.activeElement = this; within the focus function.
Regarding the line: https://github.com/Raynos/min-document/blob/master/dom-element.js#L157
It would be nice to be able to test that when an element is focused, it becomes the activeElement as that's how it would generally behave within a browser. This looks like it could be accomplished by assigning
owner.activeElement = this;
within the focus function.