Hallo wahsaga.
Danke, werde ich mich mal mit beschäftigen - ggf. kann ich damit ein aktuelles Vorhaben, in einem bestimmten Bereich jedes Text-Zeichen mit einem Span zu umkleiden, vereinfachen.
Das kommt mir doch bekannt vor …
Die explizite Ausrichtung auf zwei resultiernde Textknoten lässt splitText() aber in meinen Augen ein wenig unpraktisch erscheinen.
Einen schönen Montag noch.
Gruß, Ashura
--
sh:( fo:} ch:? rl:( br: n4:~ ie:{ mo:| va:) de:> zu:} fl:( ss:) ls:[ js:|
„It is required that HTML be a common language between all platforms. This implies no device-specific markup, or anything which requires control over fonts or colors, for example. This is in keeping with the SGML ideal.“
[HTML Design Constraints: Logical Markup]
sh:( fo:} ch:? rl:( br: n4:~ ie:{ mo:| va:) de:> zu:} fl:( ss:) ls:[ js:|
„It is required that HTML be a common language between all platforms. This implies no device-specific markup, or anything which requires control over fonts or colors, for example. This is in keeping with the SGML ideal.“
[HTML Design Constraints: Logical Markup]