WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
167662
<style> generated via DOMParser & hosted in a <template> won't fire load/error events after RAF time
https://bugs.webkit.org/show_bug.cgi?id=167662
Summary
<style> generated via DOMParser & hosted in a <template> won't fire load/erro...
valdrinkoshi
Reported
2017-01-31 13:49:23 PST
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
Attachments
Add attachment
proposed patch, testcase, etc.
Ryosuke Niwa
Comment 1
2017-02-04 19:31:22 PST
The test case works on STP20 so this must have been fixed already.
Ryosuke Niwa
Comment 2
2017-02-12 20:55:48 PST
I can't even reproduce in
r207475
.
Ryosuke Niwa
Comment 3
2017-02-13 15:14:06 PST
Fixed by
https://trac.webkit.org/changeset/206541
.
Lucas Forschler
Comment 4
2019-02-06 09:18:35 PST
Mass move bugs into the DOM component.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug