3 <title>attr() with attributes containing uppercase letters
</title>
4 <link rel=
"help" href=
"https://www.w3.org/TR/css-values-4/#attr-notation">
5 <link rel=
"match" href=
"/css/css-content/attr-case-sensitivity-ref-002.html">
6 <link rel=
"mismatch" href=
"/css/css-content/attr-case-sensitivity-ref-003.html">
7 <meta name=
"assert" content=
"This test checks that attribute names specified in the attr() function without a namespace are case-insensitive.">
9 #casematch:before { content: attr(RESULT); }
10 #lowercase:before { content: attr(RESULT); }
12 <p id=
"casematch"></p>
13 <p id=
"lowercase"></p>
15 // Test uses the Element.setAttributeNS() to create an attribute in the HTML document with capital letters
16 casematch
.setAttributeNS('', 'RESULT', 'casematch');
17 lowercase
.setAttributeNS('', 'result', 'lowercase');