2 <script src=
"../../resources/testharness.js"></script>
3 <script src=
"../../resources/testharnessreport.js"></script>
5 <rect id=
"r" width=
"300" height=
"400"/>
6 <use xlink:
href=
"#r" x=
"100" y=
"200"/>
10 var useBBox
= document
.querySelector('use').getBBox();
11 assert_equals(useBBox
.x
, 100);
12 assert_equals(useBBox
.y
, 200);
13 assert_equals(useBBox
.width
, 300);
14 assert_equals(useBBox
.height
, 400);
15 }, 'Additional translation affects bounding box of <use>');