Change of behaviour in 1.4.1 #354
replabrobin
started this conversation in
General
Replies: 1 comment
-
I find these errors are just caused by an old copy of the svglib tests which we used to embed in our jumbo package. Assuming the latest svglib tests work is probably the right thing to do and I can remove the old ones. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
After a recent update I ran some tests of third party code which we use and find that I'm getting errors related to NodeTracker which I guess is a change to the ElementWrapper that has converted to cssselect2.ElementWrapper.
A simple example would be a test we have of the cubic_bezier conversion
this fails with an error
I also see some changes to space preservation; this code is an example
in 1.3.0 this produces
and in 1.4.1 I see
my question is why we see the extra ' ' in between the text from the two tspans. I'm not expert on the semantics of svg tag, but are we saying that leading/trailing whitespace is ignored and some interior whitespace is converted to simple spaces (ie we ignore the actual linefeeds)? Acording to https://www.w3.org/TR/xml/#sec-white-space either all whitespace should be preserved or some could be (if xml:space has value default). I have some other errors, but would appreciate more expert opinions on how I should proceed to modify/fix tests like these.
Beta Was this translation helpful? Give feedback.
All reactions