Re: [svgwg] Update getNumberOfChars() definition

Good catch, @jarek-foksa.  

We do need to distinguish between title/desc text and actual rendered 
text content.  I'm less convinced whether a JS method like 
`getNumberOfChars` should reflect CSS `display: none`; I can see 
use-cases for both options.

At this point, we can't rely on `innerText` for anything normative, 
since it doesn't have a normative specification.

Also, if we do re-write this method in a way that reflects rendered 
text as currently styled, I would want to write it in a way that would
 be inclusive of CSS generated text (as discussed in #125).

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

Received on Tuesday, 12 July 2016 17:00:52 UTC