Web frontend and supporting services for lance.blue

test(web): hold render()'s focus rule from both sides master

Four cases against a fake document: focus follows a render that destroyed it, focus outside #app is left alone, a headingless screen falls back to The second is the one worth having. A render that always grabbed the heading would pass the first test and yank focus off the masthead on every nav click; both guard cases pass against the old render() too, which is what makes them guards rather than the fix restated.


+161
2 changed files