Bug 1111124 using real html document in "test Anchor and Arrow" of test-panel.js to make the test cleaner