2 <title>Test UseCounters for SVGURIReference.href.baseVal/animVal
</title>
3 <script src=
"../../resources/testharness.js"></script>
4 <script src=
"../../resources/testharnessreport.js"></script>
5 <svg width=
"0" height=
"0">
6 <use xlink:
href=
"#foo"/>
8 var target
= document
.querySelector("use");
10 var baseval
= target
.href
.baseVal
;
11 assert_true(window
.internals
.isUseCounted(document
, 758));
12 }, "has SVGHrefBaseVal UseCounter"); // 758 == UseCounter::Feature::SVGHrefBaseVal
14 var animval
= target
.href
.animVal
;
15 assert_true(window
.internals
.isUseCounted(document
, 759));
16 }, "has SVGHrefAnimVal UseCounter"); // 759 == UseCounter::Feature::SVGHrefAnimVal