Not really, all this seems to be doing is programmatically adding spans with classes around letters/words/lines. The layout is still being specified in the CSS.
I don't think it's really violating any 'rules' as much as just providing a bit of convenience.