Re: [svgwg] Update getNumberOfChars() definition

Ok, so here's a test:
https://jsfiddle.net/dodgeyhack/Lbhtyh1t/

Some findings:
* Code points are counted, not glyphs.
* textContent.length on HTML and SVG content DOES include display:none
 elements.
* getNumberOfChars() does NOT include display:none
* For getNumberOfChars() and textContent.length, title and desc are 
NOT included
* Safari, Chrome, and Firefox on OS X or MacOS or whatever it's called
 today are interoperable


-- 
GitHub Notification of comment by nikosandronikos
Please view or discuss this issue at 
https://github.com/w3c/svgwg/issues/200#issuecomment-232277312 using 
your GitHub account

Received on Wednesday, 13 July 2016 07:27:04 UTC