attr-case-sensitivity-001.html (727B)
1 <!doctype html> 2 <meta charset=utf-8> 3 <title>attr() with HTML attributes</title> 4 <link rel="help" href="https://www.w3.org/TR/css-values-4/#attr-notation"> 5 <link rel="help" href="https://www.w3.org/TR/css-content-3/#content-property"> 6 <link rel=match href="/css/css-content/attr-case-sensitivity-ref-001.html"> 7 <meta name="assert" content="This test checks that names specified in attr() for a content property are case-insensitive in HTML documents."> 8 <style type="text/css"> 9 div#gencon:before { content: attr(foo) attr(Foo) attr(fOO) 10 attr(bar) attr(Bar) attr(bAR) 11 attr(baz) attr(Baz) attr(BAZ) } 12 </style> 13 <body> 14 <div id="gencon" foo="a" Bar="b" bAZ="c"></div> 15 </body>