Comments (3)
Okay, patch should be available now. Thanks again!
from svg.
Thanks for this @Voronchuk! I can confirm that this is a problem and the workaround does the job.
I noticed that the node produced with Svg.Keyed.node
has the SVG namespace defined as .namespace
rather than .namespaceURI
:
$0.namespace
// "http://www.w3.org/2000/svg"
$0.namespaceURI
// "http://www.w3.org/1999/xhtml"
A working node (such as VirtualDom.keyedNodeNS "http://www.w3.org/2000/svg" "g"
) defines it as .namespaceURI
:
$0.namespace
// undefined
$0.namespaceURI
// "http://www.w3.org/2000/svg"
from svg.
Thanks for reporting this issue. I will do a patch soon that has the fix from 62b46c8
from svg.
Related Issues (20)
- How to use the onResize event? HOT 2
- svg/html conflict HOT 2
- not producing right case for attribute viewBox HOT 2
- SVG Decoder HOT 4
- Stringly typed HOT 2
- Add Svg.Attributes.classList HOT 1
- special-case many nodes HOT 2
- Expose onWithOptions HOT 2
- Svg.Attributes.style not consistent with Html.Attributes.style HOT 1
- Use of deprecated xlink prefixed attributes (e.g. xlinkHref instead of href) HOT 4
- Getting point information from SVG. HOT 3
- href attribute missing HOT 1
- Serializing SVG HOT 1
- [Suggestion] viewBox : Int -> Int -> Int -> Int -> Attribute msg HOT 1
- Use of xlink:href in SVG causes rendering problems
- Runtime issue in compiled code
- PROBLEM BUILDING DEPENDENCIES
- Runtime error with blank nodes
- Help Request: Center text around a point HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from svg.