textStylingAtPosition should always reflect the current style. It returns incorrect values when called after executing one of the toggle styling commands. rdar://problem/18141964
Created attachment 237272 [details] Patch
Comment on attachment 237272 [details] Patch Looks good. It would be nice if we could at some point have only one copy of this and perhaps also eliminate the whole insert-and-remove-span-to-figure-out-style hack.
Committed revision 173071. <http://trac.webkit.org/changeset/173071>