DoYouEvenBench: Make it work on Internet Explorer 11 Release Preview
https://bugs.webkit.org/show_bug.cgi?id=122406

Reviewed by Darin Adler.

On Internet Explorer 11, $(elem).closest('li').data('id') fails to find the containig li of elem once
the first item is marked complete or deleted until we get back to the event loop in the jQuery/TodoMVC.
Worked around this limitation by overriding app.getTodo to use each item's id computed in advance.

Also use $.text instead of execCommand('InsertText') in FlightJS/MailClient since Internet Explorer
doesn't support execCommand('InsertText'). Also select the recipient to avoid exceptions.

* DoYouEvenBench/benchmark.html:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@157009 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Don't try to dispatch resize events for SVG images
https://bugs.webkit.org/show_bug.cgi?id=122410

Reviewed by Darin Adler.

Tested by avoiding assertion in svg/custom/large-image-pattern-crash.html

* page/FrameView.cpp:
(WebCore::FrameView::sendResizeEventIfNeeded):
        
    Bail out for SVG images. They have scripting disabled so the event wouldn't do anything anyway.
    Use of FrameView mechanisms is just an implementation detail for SVG images, they are not
    meant to act like real frames.

* rendering/svg/RenderSVGResourcePattern.cpp:
(WebCore::RenderSVGResourcePattern::createTileImage):
        
    Switch to Element iterator. This will take NoEventDispatchAssertion verifying the change.



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@157010 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Move paint() to RenderElement
https://bugs.webkit.org/show_bug.cgi?id=122371

Reviewed by Darin Adler.

RenderText does not paint itself (text is painted by line boxes). We can move paint() down
to RenderElement.
        
This also requires some type tightening elsewhere in the code.



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@157011 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Windows build fix attempt.

* page/win/DragControllerWin.cpp:
(WebCore::DragController::declareAndWriteDragImage):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@157012 268f45cc-cd09-0410-ab3c-d52691b4dbfc