Amaya 11.3 -- descendants
| Newsgroups | gmane.comp.web.amaya.general |
|---|---|
| Message-ID | <[email protected]> |
The sample says it all <?xml version="1.1" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml1-strict.dtd"> <html lang="en" xml:lang="en" xmlns="http://www.w3.org/1999/xhtml"> <head><title>cssDescendants:[email protected]</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/> <style type="text/css"> span {color:red;font-weight:bold} div * span {color:blue;font-weight:bold} </style></head><body><h1>cssDescendants:[email protected]</h1> <p><span>el1 * el2</span> descendant selectors should not work if the el2 element is a <em>child</em> element. Only grandchildren and further down the chain should react to the rule. <em>Hello!</em> should be in RED. However Amaya 11.3 sets the child element to BLUE. Check the look against any mainstream browser.</p> <div><span>Hello!</span></div> </body></html> -- -- John Russell, [email protected] http://home.cogeco.ca/~ve3ll http://home.cogeco.ca/~trains http://home.cogeco.ca/~cipher