Skip to content
This repository has been archived by the owner on Apr 19, 2023. It is now read-only.

Xpointer resolution fails sometimes in variation window #22

Open
AnnaGerber opened this issue Jul 15, 2011 · 0 comments
Open

Xpointer resolution fails sometimes in variation window #22

AnnaGerber opened this issue Jul 15, 2011 · 0 comments

Comments

@AnnaGerber
Copy link
Member

The markers that highlight text in the variation window aren't created until the onLoad() event has occurred for the variation window. So in theory, any xpointer errors in the logs are due to either bugs within the xpointer library or the page's contents being changed. However I think some pages maybe failing due to embedded javascript which dynamically changes the DOM. While this is unavoidable, it might be worth adding small timeout after page load or waiting for other more specific events to see whether that fixes offending pages.
One of the variations which experience this problem is titled 'TAGORE & PATRICK WHITE', the variation window which should selected a text annotation sometimes fails.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Development

No branches or pull requests

1 participant