<script>
function doTest() {
const math = getNode("math");
const defAttrs = buildDefaultTextAttrs(math, "10pt");
testDefaultTextAttrs(math, defAttrs);
for (const id of ["mn", "mi", "annotation", "annotationXml"]) {
testTextAttrs(id, 0, {}, defAttrs, 0, 1);
}
// These elements contain a surrogate pair, so the end offset is 2.
for (const id of ["mn_double_struck", "mi_italic"]) {
testTextAttrs(id, 0, {}, defAttrs, 0, 2);
}
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.