<!DOCTYPE html>
<script src=../../resources/testharness.js></script>
<script src=../../resources/testharnessreport.js></script>
<svg>
<text font-size="50" y="50">𝄞𝄞</text>
</svg>
<script>
test(function() {
var text = document.querySelector('text');
assert_equals(text.getNumberOfChars(), 4);
assert_equals(text.getExtentOfChar(0).width, text.getExtentOfChar(1).width);
assert_equals(text.getExtentOfChar(2).width, text.getExtentOfChar(3).width);
}, 'SVGTextContentElement.getExtentOfChar, non-BMP characters.');
</script>