Closed matthew-andrews closed 10 years ago
Can you think of any use case where you'd want case sensitive tag names? (I can't)
I added some commits to my pull request (bad matt). Turns out we weren't even testing for it either...
I think this is fixed.
@orangemug ... I just re-discovered this code:- https://github.com/ftlabs/ftdomdelegate/blob/master/lib/delegate.js#L185
Did we break this when I merged: https://github.com/ftlabs/ftdomdelegate/pull/45 ?
It makes sense that SVG is case sensitive (it's XML based) but not modern HTML.
Actually do you know what, I don't think we should be supporting the following to be different:-
Do you think it would be sensible to just lowercase all the tags and remove this (now redundant) logic?