Compute "sub" positions/dimensions correctly
In my branch https://gitlab.gnome.org/federico/librsvg/tree/wilber-dimensions I did this:
- Enabled the
/dimensions/sub/rect with transformtest again.
- Disabled the code in
draw.rsthat reduces Cairo's tolerance. This makes that test pass again (... for the first time in 8 years).
- Added @Jehan's test for fetching the dimensions of a Wilber icon.
This last test fails; we are not computing the icon's position/dimensions correctly. I think this is because the icon is a
<g> with a transform, but I'm not 100% sure yet.