Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
QWebKit: SVG support incomplete
lapointe last edited by
SVG support is partially there in QWebKit but seems to be not quite complete. You can modify styles but not the DOM itself. Completion of the ability to modify text would open up a whole realm of data display and control systems applications for industry and commerce.
For example, you can modify styles/colors programmatically with QWebElement:
... this works great.
But setting text fails as it requires some variant of setInnerXML(). This should work but doesn't:
Note: <text> has a <tspan> child which has the text
I think the problem is incomplete SVG support in qwebelement.cpp
Before I raise a bug... does this sound accurate?