Use the correct size in lancelot test


lancelot testing was using the view box of the document as the size
of the image, which is not correct if the document has a set width
and height

Change-Id: I5ead285a4b8e94c420a1249e13a29b0cac16c76f
Reviewed-by: Eirik Aavitsland <eirik.aavitsland@qt.io>
commitb7d97aa29508b15aea71d172251aa85ec95ca52e
parent3929010a7ff3ec10581c3a5e7aa6db90dd0ac358
authorHatem ElKharashy <hatem.elkharashy@qt.io>
committerHatem ElKharashy <hatem.elkharashy@qt.io>
commit timeFri, 28 Feb 2025 11:01:20 +0000