[Webkit-unassigned] [Bug 123704] Switch createContextualFragment to element iterator

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Nov 4 08:42:40 PST 2014


https://bugs.webkit.org/show_bug.cgi?id=123704

--- Comment #7 from Chris Dumez <cdumez at apple.com> ---
(In reply to comment #6)
> Comment on attachment 215866 [details]
> better patch
> 
> View in context:
> https://bugs.webkit.org/attachment.cgi?id=215866&action=review
> 
> >> Source/WebCore/editing/markup.cpp:913
> >> +            collectElementsToRemoveFromFragment(element);
> > 
> > This statement has no effect as the result value is being ignored.
> 
> Good catch!

The thing is that I am not sure it is actually possible to have an <html> here. I have been trying to test the problem but I cannot get createFragmentForInnerOuterHTML() to return an <html> as first child in the DocumentFragment, despite the input having an <html> tag:
http://jsfiddle.net/2qevwvs3/8/

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20141104/96c4fb58/attachment-0002.html>


More information about the webkit-unassigned mailing list