This involves 2 tasks: - [x] updated the NamedSelector to match the type attribute in an ASCII-case-insensitive way to respect the HTML spec - [ ] adding tests using non-lowercase values in the type attribute to the driver testsuite to ensure that all drivers are treating such values properly. See #572 for the previous discussion about it