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

Xpointer resolution fails sometimes in variation window #22

Open
@AnnaGerber

Description

@AnnaGerber

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions