[webkit-reviews] review granted: [Bug 170030] SVG animations are not paused when their <svg> element is removed from the document : [Attachment 305236] Patch

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Mar 23 16:41:31 PDT 2017


Dean Jackson <dino at apple.com> has granted Chris Dumez <cdumez at apple.com>'s
request for review:
Bug 170030: SVG animations are not paused when their <svg> element is removed
from the document
https://bugs.webkit.org/show_bug.cgi?id=170030

Attachment 305236: Patch

https://bugs.webkit.org/attachment.cgi?id=305236&action=review




--- Comment #3 from Dean Jackson <dino at apple.com> ---
Comment on attachment 305236
  --> https://bugs.webkit.org/attachment.cgi?id=305236
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=305236&action=review

>
LayoutTests/svg/animations/animations-paused-when-removed-from-document.html:11
> +    svgElement = document.getElementsByTagName("svg")[0];

I use document.querySelector("svg") to avoid having to get [0]


More information about the webkit-reviews mailing list