Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Template references in SVG not working #1061

Closed
ghost opened this issue Dec 31, 2014 · 1 comment
Closed

Template references in SVG not working #1061

ghost opened this issue Dec 31, 2014 · 1 comment

Comments

@ghost
Copy link

ghost commented Dec 31, 2014

The following shows Some HTML, which should be followed by And some SVG, but only And some is seen. In Chrome 39.0.2171.95 with Polymer 0.5.2, the DOM node for <template ref="svg"... does not contain a #document-fragment; it is empty.

<!DOCTYPE html>
<html>
  <head lang="en">
    <script src="bower_components/webcomponentsjs/webcomponents.js"></script>
  </head>
  <body unresolved>
    <template is="auto-binding">
      <template id="html">
        <div>HTML</div>
      </template>

      <div>
        <div>Some</div>
        <template ref="html" bind></template>
      </div>
    </template>

    <template is="auto-binding">
      <template id="svg">
        <text y="60">SVG</text>
      </template>

      <svg width="200" height="200">
        <text y="40">And some</text>
        <template ref="svg" bind></template>
      </svg>
    </template>
  </body>
</html>
@ebidel
Copy link
Contributor

ebidel commented Dec 31, 2014

This issue was moved to googlearchive/TemplateBinding#208

@ebidel ebidel closed this as completed Dec 31, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant