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

Support SVGUseElement in Polymer.dart element #17230

Closed
DartBot opened this issue Mar 2, 2014 · 10 comments
Closed

Support SVGUseElement in Polymer.dart element #17230

DartBot opened this issue Mar 2, 2014 · 10 comments
Labels
area-pkg Used for miscellaneous pkg/ packages not associated with specific area- teams. closed-obsolete Closed as the reported issue is no longer relevant

Comments

@DartBot
Copy link

DartBot commented Mar 2, 2014

This issue was originally filed by @ggirou


What steps will reproduce the problem?
svg:use tag doesn't work inside a Polymer element:

<polymer-element name="x-test">
  <template>
  <svg viewBox = "0 0 1000 1000" version = "1.1">
      <defs>
          <!-- A circle of radius 200 -->
          <circle id = "s1" cx = "200" cy = "200" r = "200" fill = "yellow" stroke = "black" stroke-width = "3"/>
          <!-- An ellipse (rx=200,ry=150) -->
          <ellipse id = "s2" cx = "200" cy = "150" rx = "200" ry = "150" fill = "salmon" stroke = "black" stroke-width = "3"/>
      </defs>
      <use x = "100" y = "100" xlink:href = "#s1"/>
      <use x = "100" y = "650" xlink:href = "#s2"/>
  </svg>
  </template>
  <script type="application/dart" src="test.dart"></script>
</polymer-element>

What is the expected output? What do you see instead?
We should see a circle and an ellipse.

What version of the product are you using? On what operating system?
Dart Editor version 1.2.0.release (STABLE)
Dart SDK version 1.2.0
polymer 0.9.5

Please provide any additional information below.
Similar bugs in Polymer.js:
https://github.com/Polymer/ShadowDOM/issues/342
Polymer/polymer#388

@iposva-google
Copy link
Contributor

Added Area-Polymer, Triaged labels.

@jmesserly
Copy link

Removed Area-Polymer label.
Added Pkg-Polymer, Area-Pkg labels.

@sigmundch
Copy link
Member

Does it still fail now with the latest polymer (0.11.0)?

Seems like the bug in ShadowDOM has been fixed for a while, and it's quite possible that we got fixed when we updated web_components recently (which brings in all the changes from ShadowDOM up to date in our pacakges).


Added this to the Later milestone.
Removed Priority-Unassigned label.
Added Priority-Medium, NeedsInfo labels.

@DartBot
Copy link
Author

DartBot commented Jul 4, 2014

This comment was originally written by @ggirou


It works now.
Thanks!

@sigmundch
Copy link
Member

Added Polymer-P-2 label.

@sigmundch
Copy link
Member

Removed this from the Later milestone.

@sigmundch
Copy link
Member

Removed Polymer-P-2 label.
Added Polymer-Milestone-Later label.

@sigmundch
Copy link
Member

Removed Polymer-Milestone-Later label.
Added PolymerMilestone-Later label.

@sigmundch
Copy link
Member

Awesome


Added AssumedStale label.

@DartBot DartBot added Type-Defect area-pkg Used for miscellaneous pkg/ packages not associated with specific area- teams. closed-obsolete Closed as the reported issue is no longer relevant labels Jul 9, 2014
@DartBot
Copy link
Author

DartBot commented Jun 5, 2015

This issue has been moved to dart-archive/polymer-dart#125.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-pkg Used for miscellaneous pkg/ packages not associated with specific area- teams. closed-obsolete Closed as the reported issue is no longer relevant
Projects
None yet
Development

No branches or pull requests

4 participants