Change bounding box media fragment selectors to use full percentage values
We should use values of 1-100 everywhere now as it is described in the media fragment spec:
https://www.w3.org/TR/media-frags/#naming-space (third version in the "Examples")
This means we need to do the following:
-
Change the bounding box creation code to use scaled numbers (val * 100).toPrecision(3)
in the selector value and for the SVGs (val being the value from the analysis data, rounded to a precision of 3) -
Change all occurrences of the values being displayed -
Run a migration on the existing data
Edited by Koch, Anton