[Webkit-unassigned] [Bug 167662] New: <style> generated via DOMParser & hosted in a <template> won't fire load/error events after RAF time

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jan 31 13:49:23 PST 2017


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

            Bug ID: 167662
           Summary: <style> generated via DOMParser & hosted in a
                    <template> won't fire load/error events after RAF time
    Classification: Unclassified
           Product: WebKit
           Version: Safari 10
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: HTML Events
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: valdrinkoshi at gmail.com

I'm using DOMParser to generate nodes (e.g. <style>) from a string, and I host these in a <template>.content document fragment.

Some time later, I append the <template>.content to the main document.

In Safari 10 load/error events don't get fired by the generated <style> if we append the fragment after RAF time (or later)
http://jsbin.com/hesinuh/2/edit?html,output

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20170131/a9d5f925/attachment.html>


More information about the webkit-unassigned mailing list