This tests that methods on the SVGTextContentElement interface that take an index to a character or a number of characters actually interpret these as indexes to or numbers of UTF-16 code units. To test this, a character from outside the Basic Multilingual Plane (U+10000; LINEAR B SYLLABLE B008) is used in a text string. This character is stored in UTF-16 as a surrogate pair.
The test consists of 5 sub-tests, which test the methods methods on the SVGTextContentElement interface. The result of each sub-test is shown as a small rectangle: black indicates that the sub-test did not run, red indicates that the sub-test failed and green indicates that the sub-test succeeded.
Run the test. No interaction required.
The test relies on support for WebFonts - either SVG Fonts, or WOFF, or OpenType.
The test is passed if all 5 rectangles are green.