[Webkit-unassigned] [Bug 137619] New: Nested template are lost/broken by document.importNode

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Oct 10 11:49:23 PDT 2014


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

           Summary: Nested template are lost/broken by document.importNode
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Macintosh Intel
               URL: http://jsfiddle.net/jakecigar/sxe7dzc4/3/
        OS/Version: Unspecified
            Status: NEW
          Severity: Blocker
          Priority: P1
         Component: HTML DOM
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: jake.wolpert at me.com


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.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the webkit-unassigned mailing list