Dramatically simplify calculateAdjustedNodes
Created attachment 214028 [details] Cleanup
Created attachment 214029 [details] Cleanup
Created attachment 214032 [details] Minor tweaks
Comment on attachment 214032 [details] Minor tweaks Note that <details> element implementation still uses InsertionPoints. On the other hand we can assume that any functionality without tests is not working anyway.
(In reply to comment #4) > (From update of attachment 214032 [details]) > Note that <details> element implementation still uses InsertionPoints. On the other hand we can assume that any functionality without tests is not working anyway. Maybe I didn't phrase it properly but having a single insertion point is okay as long as the content that got inserted into doesn't have a shadow tree. Since we don't currently expose webkitCreateShadowRoot, this isn't an issue.
Committed r157328: <http://trac.webkit.org/changeset/157328>