layout/reftests/bugs/322461-1.xml

Wed, 31 Dec 2014 07:16:47 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 07:16:47 +0100
branch
TOR_BUG_9701
changeset 3
141e0f1194b1
permissions
-rw-r--r--

Revert simplistic fix pending revisit of Mozilla integration attempt.

michael@0 1 <?xml version="1.0" encoding="UTF-8"?>
michael@0 2 <?xml-stylesheet type="text/xsl" href="#"?>
michael@0 3 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
michael@0 4 <xsl:output method="html" encoding="utf-8" doctype-public="-//W3C//DTD HTML 4.01//EN"/>
michael@0 5
michael@0 6 <xsl:template match="/">
michael@0 7 <html>
michael@0 8 <head>
michael@0 9 <title>This is a test</title>
michael@0 10 <style type="text/css">
michael@0 11 * {color:red}
michael@0 12 div#first, DIV#second {color:green}
michael@0 13 </style>
michael@0 14 </head>
michael@0 15 <body>
michael@0 16 <div id="first">This text should be green. CSS selector is in lowercase.</div>
michael@0 17 <div id="second">This text should be green. CSS selector is in uppercase.</div>
michael@0 18 </body>
michael@0 19 </html>
michael@0 20 </xsl:template>
michael@0 21
michael@0 22 </xsl:stylesheet>

mercurial