W3C home > Mailing lists > Public > public-css-testsuite@w3.org > July 2007

submitting test case: t040107-inv-sel-00-a.(htm/xht)

From: Ray Kiddy <ray@ganymede.org>
Date: Sun, 22 Jul 2007 19:21:35 -0700
Message-Id: <6208F9C6-3C53-4AD0-A022-A5918DF3414D@ganymede.org>
To: public-css-testsuite@w3.org


Since it is my first one of these, I thought I would submit just one  
test, and it is a very simple one. I think I have got this right. Let  
me know if I am mistaken.

% cat t040107-inv-sel-00-a.htm
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html>
<head>
   <title>CSS 2.1 Test Suite: Ignoring Invalid Selectors</title>
   <link rel="help" href="http://www.w3.org/TR/CSS21/ 
syndata.html#rule-sets">
   <style type="text/css">
       h3 { color: green }
       h1, h2 {color: green }
       h3, h4 & h5 {color: red }
       h6 {color: green }
   </style>
</head>
<body>
   <h6>This should be green.</h6>
   <h3>This should be green.</h3>
   <h1>This should be green.</h1>
</body>
</html>
%
%
% cat t040107-inv-sel-00-a.xht
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/ 
TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
   <title>CSS 2.1 Test Suite: Ignoring Invalid Selectors</title>
   <style type="text/css"><![CDATA[
       h3 { color: green }
       h1, h2 {color: green }
       h3, h4 & h5 {color: red }
       h6 {color: green }
   ]]></style>
</head>
<body>
   <h6>This should be green.</h6>
   <h3>This should be green.</h3>
   <h1>This should be green.</h1>
</body>
</html>
%

thanx - ray
Received on Monday, 23 July 2007 02:21:48 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 20 September 2010 17:51:55 GMT