You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Not sure what the correct behavior actually should be but probably the first x3d-canvas should be rendered, and the second one may or may not be properly parsed.
The text was updated successfully, but these errors were encountered:
It is not possible to add a xmlns attribute to the x3d-canvas element, because it uses the custom-element API from JavaScript. When adding the attribute the API does not recognize the element anymore.
I think, the right place for the xmlns attribute is the X3D element inside. Because the x3d-canvas element is still HTML and not part of the namespace, and X3D, what the namespace includes, starts with X3D root element.
It is ok to not recognize and ignore the xmlns namespaced x3d-canvas element. And this is what happens if this is the only x3d-canvas element on the page.
But I believe, it should not have effects on other x3d-canvas elements on the same page if there are multiple. It is not a critical issue since it would be very rare that somebody would try do that.
Having two x3d-canvas elements works:
https://raw.githack.com/andreasplesch/Library/f4ee4947aceb3ea3f5477c40fd829a9feeff128c/Tests/Browser/DOMIntegration/in_reflection/dom_inlineReflection.xhtml
But after adding a xmlns attribute to the second canvas, there is an exception:
https://raw.githack.com/andreasplesch/Library/ed9960333fdb60dad2fa7cf2187739f2b57cde27/Tests/Browser/DOMIntegration/in_reflection/dom_inlineReflection.xhtml
Not sure what the correct behavior actually should be but probably the first x3d-canvas should be rendered, and the second one may or may not be properly parsed.
The text was updated successfully, but these errors were encountered: