| <html xmlns="http://www.w3.org/1999/xhtml"> |
| target1, target2, target3, target4 { |
| <p>Test styling of elements using their local name. Matching the name should be case-sensitive for XHTML.</p> |
| <target1 class="">Target</target1> |
| <target2>Target</target2> |
| <target3>Target</target3> |
| <xml xmlns="https://www.webkit.org/awesome"> |
| <target1>Target</target1> |
| <target2>Target</target2> |
| <target3>Target</target3> |
| var xmlDocument = new DOMParser().parseFromString('<xml xmlns="https://www.webkit.org/awesome"><target1>Target</target1><target2>Target</target2><target3>Target</target3></xml>', 'text/xml'); |
| var testCases = document.getElementById("test-cases"); |
| testCases.appendChild(document.importNode(xmlDocument.documentElement, true)); |