W3C home > Mailing lists > Public > public-css-testsuite@w3.org > February 2010

Microsoft's combinator-004.htm testcase: confusing child, descendant, adjacent and combinator selector

From: Gérard Talbot <css21testsuite@gtalbot.org>
Date: Thu, 18 Feb 2010 16:30:04 -0800
Message-ID: <4caf5fc9f1755bff5197ce705e4b8542.squirrel@cp3.shieldhost.com>
To: "public-css-testsuite@w3.org" <public-css-testsuite@w3.org>
Cc: "Arron Eicholz" <Arron.Eicholz@microsoft.com>
Hello,

http://www.w3.org/Style/CSS/Test/CSS2.1/20100127/html4/combinator-004.htm

http://test.csswg.org/source/contributors/microsoft/submitted/Chapter_5/combinator-004.xht


This is the relevant chunk of code involved in that test:

<title>CSS Test: Descendant combinators and spaces</title>
        <link rel="author" href="http://www.microsoft.com/"
title="Microsoft">
        <link rel="help"
href="http://www.w3.org/TR/CSS21/selector.html#adjacent-selectors">
        <meta content="" name="flags">
        <meta content="Spaces can appear between a descendant combinator
and the simple selectors around it." name="assert">

        <style type="text/css">
            #div1 > p
            {
                color:green;
            }
        </style>


I propose to change all this to:

<title>CSS Test: Child selector and spaces</title>
        <link rel="author" href="http://www.microsoft.com/"
title="Microsoft">
        <link rel="help"
href="http://www.w3.org/TR/CSS21/selector.html#child-selectors">
        <meta content="" name="flags">
        <meta content="Spaces can appear between a child selector and
the simple selectors around it." name="assert">

        <style type="text/css">
            #div1 > p
            {
                color:green;
            }
        </style>

and to file-rename it as
child-selector-004.htm
accordingly

Please remove references to descendant, adjacent and combinator. It's a
normal, ordinary child selector test.

regards, Gérard
-- 
Contributions to the CSS 2.1 test suite:
http://www.gtalbot.org/BrowserBugsSection/css21testsuite/

CSS 2.1 test suite (alpha 1; January 27th 2010):
http://www.w3.org/Style/CSS/Test/CSS2.1/20100127/html4/toc.htm

CSS 2.1 test suite contributors:
http://test.csswg.org/source/contributors/
Received on Friday, 19 February 2010 00:30:43 GMT

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