Given a nested template… <template id="select"> <fieldset> <legend>{{name}}</legend> <select> <option>pick something!</option> <template id="option"> <option value="{{value}}">{{text}}</option> </template> </select> </fieldset> </template> I can’t access the .content after the nested template has been duplicated with document.importNode. http://jsfiddle.net/jakecigar/sxe7dzc4/3/ PS It works in Chrome and firefox.
Any ideas? Workarounds? Commiseration?
See also: bug 137755.
*** Bug 137755 has been marked as a duplicate of this bug. ***
Created attachment 243346 [details] Fixes the bug by sharing code with cloneNode
Created attachment 243347 [details] Fixes the bug by sharing code with cloneNode 2
Comment on attachment 243347 [details] Fixes the bug by sharing code with cloneNode 2 r=me
Comment on attachment 243347 [details] Fixes the bug by sharing code with cloneNode 2 Clearing flags on attachment: 243347 Committed r177372: <http://trac.webkit.org/changeset/177372>
All reviewed patches have been landed. Closing bug.
Thanks so much for the fix! It works nicely in my real page. Will this be in the next Safari for OS X and IOS?
(In reply to comment #9) > Thanks so much for the fix! It works nicely in my real page. > > Will this be in the next Safari for OS X and IOS? Apple does not comment on future product plans.