CSS bug in Amaya 9.99

For a descendant selector with asterisk.... say el1 * el2
the rule should apply only when el2 is grandchild or 
further removed. it should not apply to a child element
Unfortunately this is not true for Amaya 9.99 on WinXP

//------- test case -----------

<?xml version="1.1" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xml:lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head><title>Descendants:VE3LL@RAC.CA</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/>
<style type="text/css">
span {color:red}
div * span {color:blue}
</style>
</head><body><h1>Descendants:VE3LL@RAC.CA</h1>
<p>el1 * el2 descendant selectors should not work if the el2
element is a child element. Only grandchildren and further down
the chain should react to rule. However Amaya 9.99 allows
child element to get the style.</p>
<div><span>Hello!</span></div>
</body></html>


-- 
-- 
John Russell, VE3LL@COGECO.CA
http://home.cogeco.ca/~ve3ll
http://home.cogeco.ca/~trains
http://home.cogeco.ca/~cipher

Received on Tuesday, 20 November 2007 16:49:47 UTC