[BZ#763302] rsvg_handle_get_dimensions_sub and rsvg_handle_get_position_sub does not respects clip-path
Submitted by Albert
Link to original bug (#763302)
Description
Created attachment 323371 test case
Overview: When subelement is clipped, rsvg_handle_get_dimensions_sub and rsvg_handle_get_position_sub calculates dimensions and position as if the subelement is not clipped.
Steps to Reproduce:
Unpack attachment, then make
inside directory to compile and run test case.
Actual result: Output is "width=192 height=192 x=32 y=32".
Expected result: Output is "w=160 h=192 x=64 y=32" because leftmost 32 pixels is clipped out.
Attachment 323371, "test case":
rsvg-clip.tar.gz