On Jun 1, 2009, at 12:00 PM, Erik Kay wrote: > Similar to the translate, this feature could be used to support > sites that use non-standard character set / font combinations (some > indic websites depend on downloadable fonts and custom character > sets). > > Also, if the API allowed styling of the text as opposed to just > replacing it, then I could imagine that it could be used for > interesting markup / highlighting (highlighting searched words, > marking up grammar errors, auto-likifying, etc.). Perhaps this > would defeat part of the point of this approach to an API.
I guess I keep getting hung up on why this isn't execCommand() on a range. The hard bit is finding the text to "range-ify", and I think that bit might make sense as a new API, but in terms of actually transforming things, ISTM that we should go fix the DOM where isn't not good enough (yet). Regards --~--~---------~--~----~------------~-------~--~----~ Chromium Developers mailing list: [email protected] View archives, change email options, or unsubscribe: http://groups.google.com/group/chromium-dev -~----------~----~----~----~------~----~------~--~---
