Re: paste events and HTML support - interest in exposing a DOM tree?
On 05/02/2011 04:50 AM, ext Hallvord R. M. Steen wrote: event.clipboardData.getDocumentFragment() which would return a parsed and when applicable sanitized view of any markup the implementation supports from the clipboard. Rich text editors could now use normal DOM methods to dig through the contents and remove/add cruft as they wish on the returned document fragment, before doing an appendChild() and preventing the event's default action. For me, this problem looks very similar to the common pattern of getting HTML fragment out of XHR response. I think a general solution for parsing fragments would be better than this kind of special function only available through the clipboard. Mozilla has some good tools for this kind of problems: https://developer.mozilla.org/en/Code_snippets/HTML_to_DOM I would enjoy seeing a standard solution like this for the issue :) cheers, Benjamin
Re: [WebSQL] Any future plans, or has IndexedDB replaced WebSQL?
On 03/31/2011 05:19 PM, ext Nathan Kitchen wrote: I've been watching discussions on IndexedDB for a while now, and wondered if anyone would mind spending a few moments to explain how IndexedDB is related (or not) to WebSQL. Is IndexedDB seen as replacing the functionality originally offered by WebSQL? If not, are there any plans to make a cross-platform variant of Web SQL? WebSQL in its current form is pretty dead, see http://www.w3.org/TR/webdatabase/ : quoteBeware. This specification is no longer in active maintenance and the Web Applications Working Group does not intend to maintain it further./quote And: quoteThis document was on the W3C Recommendation track but specification work has stopped. The specification reached an impasse: all interested implementors have used the same SQL backend (Sqlite), but we need multiple independent implementations to proceed along a standardisation path./quote I suggest you to look at the mailing list archive if you want all the details. cheers, Benjamin