Commit 6386b26e authored by Robert Knight's avatar Robert Knight

Add explanatory note in test

parent cde29eef
......@@ -112,6 +112,8 @@ describe('annotator/util/scroll', () => {
it('installs scroll-into-view workaround for XHTML documents', async () => {
try {
// Simulate an XHTML document, where `tagName` is not upper-cased as
// it is for HTML documents.
Object.defineProperty(document.body, 'tagName', {
value: 'body',
configurable: true,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment