linking-frag-203-t

FAIL

raster image of linking-frag-203-t

Tests links to internal fragment identifiers.

Activating the link on the red circle should pan the viewport to center the orange circle (which is initially located outside the viewport).

Activating the link on the orange circle should pan the viewport to center the yellow circle, and zoom out to show the entire yellow circle.

Activating the link on the yellow circle should pan the viewport to center the red circle, but remain at the existing zoom level (i.e. not zoom in).

Note that the visual effect is only part of the pass criteria, and that the changes in the viewport should be made using currentTranslate and currentScale, not the viewBox; this part is currently not tested.