-
Notifications
You must be signed in to change notification settings - Fork 7
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
HtmlTestSuite - svg attributes with mixed case #32
Comments
Fixed the test generator (based on |
Also: in tests such as test-0580,
into:
I can't see why it would do this: neither Chrome nor Safari does so. |
This appears to have been reported as an issue by @rhdunn at jhy/jsoup#1294 but I'm not sure why there's a problem in the version I'm using - |
Affects tests 0580 and 0587. Perhaps we should just fix them "by hand". |
@michaelhkay Did you possibly not push that change? I was trying to reproduce the contents of the Please find the result differences in my fork here. Concerning the other differences, could their cause be me using a different Saxon version? I used |
There's been a fair bit of water flowing under the bridge since that previous comment, and I'm aware that it's still an open issue. |
I'm sorry, I haven't made any progress in exploring the history here. I've fixed the expected results for SVG elements that should be in mixed case, but I haven't revisited the test generator and it's not on my current list of priorities. |
In the expected results for the new HtmlTestSuite test set, the case of SVG attributes has been forced to lower case. I believe this is incorrect. For example in test-0017,
attributeName
has been changed toattributename
. I believe the correct procedure is first to normalise to lower-case, then to apply the rules for "adjust SVG attributes" in §13.4.6.1 of the HTML5 spec, which convertsttributename
toattributeName
.The text was updated successfully, but these errors were encountered: