refactor duplicate code in HTMLTextElement
Created attachment 87113 [details] Patch
(click the 'expand' button below the diff to see the duplicate code)
Committed r82090: <http://trac.webkit.org/changeset/82090>
You are my hero.