On 11/09/2011 12:50 AM, Boris Zbarsky wrote: > On 11/8/11 5:41 PM, Olli Pettay wrote: >> On 11/08/2011 11:30 PM, Anne van Kesteren wrote: >>> Here is a revised proposal based on Ojan's earlier proposal to this >>> list. These new methods are subject to compatibility testing. >>> >>> We introduce a DocumentContent union type (DOMString maps to a Text >>> node): >> >> DOMString as Text node feels quite awkward. All the JS strings in a web >> page would have .previous/nextSibling properties? > > I believe the proposal is that passing a string to a WebIDL method > taking a DocumentContent would make a textnode with that string and then > work with it. Just like passing the number 5.0 to a method that takes a > string makes the string "5" and then works with it. > > -Boris > Ah, indeed, that makes sense :)Received on Tuesday, 8 November 2011 22:53:41 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 22 June 2012 06:14:08 GMT