On 6/14/12 1:31 PM, Elliott Sprehn wrote: > Out of curiosity why does allowing extra elements complicate this? The > root is document.documentElement and the doctype is document.doctype. > > Gecko actually traverses document.childNodes when doing layout? No, but right now the only way for the root of the rendering tree to change is for the old one to be removed and the new one to be inserted after that. If you allow multiple elements you have to deal with the situation where one element is removed and that suddenly magically requires CSS box construction for a different element that you have to find, etc. It's all code, but it's more code. ;) The current setup Just Works with the code that has to be there anyway to handle basic remove/insert. -BorisReceived on Thursday, 14 June 2012 17:48:14 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 22 June 2012 06:14:09 GMT