summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/322461-1.xml
blob: 27081cca7380ea2ea13baf1d3c43280b54fe1d3c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="#"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:output method="html" encoding="utf-8" doctype-public="-//W3C//DTD HTML 4.01//EN"/>

<xsl:template match="/">
<html>
<head>
<title>This is a test</title>
<style type="text/css">
  * {color:red} 
  div#first, DIV#second {color:green}
</style>
</head>
<body>
<div id="first">This text should be green. CSS selector is in lowercase.</div>
<div id="second">This text should be green. CSS selector is in uppercase.</div>
</body>
</html>
</xsl:template>

</xsl:stylesheet>