-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Comments
Added Area-Polymer, Triaged labels. |
Removed Area-Polymer label. |
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. |
This comment was originally written by @ggirou It works now. |
Added Polymer-P-2 label. |
Removed this from the Later milestone. |
Removed Polymer-P-2 label. |
Removed Polymer-Milestone-Later label. |
Awesome Added AssumedStale label. |
This issue has been moved to dart-archive/polymer-dart#125. |
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
The text was updated successfully, but these errors were encountered: