-
Notifications
You must be signed in to change notification settings - Fork 168
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
Object (and embed) doesn't work being added as an element via HB #1344
Comments
See hummingbird-demo#184 |
What happens if programmatically creating and adding a similar element from the developer console in Edge? |
Works fine. |
Might this be yet another case where it matters whether parameters and attributes are set before or after the element has been attached to the DOM? |
You are right. |
Can it be so that vaadin/flow-demo#203 is one more aspect of it ? |
Fully possible that it's the same problem with HTML imports as well. Seems like we'd have to bump the priority of #481 that we put on hold to avoid doing anything premature before we've implemented the new template syntax... |
This has been fixed by #481 |
Create an
Element
with "object" tag.Set
type
to"image/svg+xml"
and set
data
attribute to some SVG image (e.g. use http://tecfa.unige.ch/guides/svg/ex/html5/green-circle.svg URL).Add the element to the document,
Check it in EDGE.
Result: image is not shown.
For some reasons the svg URL is requested via HEAD http requested not GET.
It works fine in Chrome, FF and Safari.
It works also fine in EDGE if static markup is used.
May be something specific to "data" attribute.
The text was updated successfully, but these errors were encountered: