summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/html/semantics/document-metadata/the-style-element/update-style-block-ascii-case-insensitive.html
blob: 3c5cd152d6273c2491aae1249bace7ad8b79118c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<!DOCTYPE html>
<meta charset="utf-8">
<link rel="help" href="https://html.spec.whatwg.org/#update-a-style-block">
<link rel="match" href="update-style-block-ascii-case-insensitive-ref.html">
<meta name="assert" content="style@type values are ASCII case-insensitive">
<style>
p:after { font-weight: bold; }
p:after { content: "FAIL"; color: red; }
#c:after { content: "PASS"; color: green; }
</style>
<style type="text/css">#a:after { content: "PASS"; color: green; }</style>
<style type="TeXt/CsS">#b:after { content: "PASS"; color: green; }</style>
<style type="text/cſs">#c:after { content: "FAIL"; color: red; }</style>
<p id="a">text/css treated as CSS?
<p id="b">TeXt/CsS treated as CSS?
<p id="c">text/cſs ignored?