layout/reftests/bugs/416106-1.xhtml

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/reftests/bugs/416106-1.xhtml	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,56 @@
     1.4 +<?xml version="1.0" encoding="UTF-8"?>
     1.5 +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
     1.6 +	"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
     1.7 +<html lang="en" xml:lang="en" xmlns="http://www.w3.org/1999/xhtml">
     1.8 +<head>
     1.9 +	<title>Namespace identifiers should be case sensitive (bug 416106)</title>
    1.10 +	<style type="text/css">
    1.11 +	@namespace foo url(http://www.example.com/1);
    1.12 +	@namespace Foo url(http://www.example.com/2);
    1.13 +	@namespace fOO url(http://www.example.com/3);
    1.14 +
    1.15 +	foo|one { color: green; }
    1.16 +	Foo|two { color: green; }
    1.17 +	fOO|three { color: green; }
    1.18 +
    1.19 +	Foo|one { color: red; }
    1.20 +	fOO|one { color: red; }
    1.21 +	foo|two { color: red; }
    1.22 +	fOO|two { color: red; }
    1.23 +	foo|three { color: red; }
    1.24 +	Foo|three { color: red; }
    1.25 +	
    1.26 +	div[foo|one] { color: green; }
    1.27 +	div[Foo|two] { color: green; }
    1.28 +	div[fOO|three] { color: green; }
    1.29 +
    1.30 +	div[Foo|one] { color: red; }
    1.31 +	div[fOO|one] { color: red; }
    1.32 +	div[foo|two] { color: red; }
    1.33 +	div[fOO|two] { color: red; }
    1.34 +	div[foo|three] { color: red; }
    1.35 +	div[Foo|three] { color: red; }
    1.36 +	
    1.37 +	div#gencon { color: black; }
    1.38 +	div#gencon:before { content: attr(foo|one) attr(Foo|two) attr(fOO|three); }
    1.39 +
    1.40 +	</style>
    1.41 +</head>
    1.42 +<body xmlns:one="http://www.example.com/1"
    1.43 +      xmlns:two="http://www.example.com/2"
    1.44 +      xmlns:three="http://www.example.com/3">
    1.45 +
    1.46 +<div><one:one>This should be green.</one:one></div>
    1.47 +<div><two:two>This should be green.</two:two></div>
    1.48 +<div><three:three>This should be green.</three:three></div>
    1.49 +<div one:one="true">This should be green.</div>
    1.50 +<div two:two="true">This should be green.</div>
    1.51 +<div three:three="true">This should be green.</div>
    1.52 +
    1.53 +<div id="gencon"
    1.54 +       one:one="pass"   one:two="fail"   one:three="fail"
    1.55 +       two:one="fail"   two:two="pass"   two:three="fail"
    1.56 +     three:one="fail" three:two="fail" three:three="pass"></div>
    1.57 +
    1.58 +</body>
    1.59 +</html>

mercurial