W3C home > Mailing lists > Public > www-amaya@w3.org > October to December 2007

CSS bug in Amaya 9.99

From: <ve3ll@cogeco.ca>
Date: Tue, 20 Nov 2007 11:49:42 -0500
To: www-amaya@w3.org
Message-ID: <4742C9D6.7588.1381C6@ve3ll.cogeco.ca>

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"?>
<html xml:lang="en" xmlns="http://www.w3.org/1999/xhtml">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/>
<style type="text/css">
span {color:red}
div * span {color:blue}
<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>

John Russell, VE3LL@COGECO.CA
Received on Tuesday, 20 November 2007 16:49:47 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:30:54 UTC