gecko-dev/testing/web-platform/tests/css/css-content/attr-case-insensitive.html
Bobby Holley 9dd84ff2e8 Bug 1451421 - Add test for case insensitivity for content: attr() identifiers in html documents. r=xidorn
dbaron asked for this in bug 507762, but it never happened.

MozReview-Commit-ID: 5W8rOZSGjkk
2018-04-06 15:30:14 -07:00

13 lines
567 B
HTML

<!doctype html>
<meta charset=utf-8>
<title>Names specified in attr for a content property are case-insensitive in HTML documents</title>
<link rel=match href=/css/css-content/attr-case-insensitive-ref.html>
<link rel="help" href="https://drafts.csswg.org/css-content-3/#content-property" />
<style type="text/css">
div#gencon:before { content: attr(foo) attr(Foo) attr(fOO)
attr(bar) attr(Bar) attr(bAR)
attr(baz) attr(Baz) attr(BAZ) }
</style>
<body>
<div id="gencon" foo="a" Bar="b" bAZ="c"></div>
</body>