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

invalid comments among declaration blocks

From: Alan Gresley <alan@css-class.com>
Date: Fri, 12 Nov 2010 14:09:48 +1100
Message-ID: <4CDCAFFC.9040204@css-class.com>
To: CSS-testsuite <public-css-testsuite@w3.org>
Hello all,

What should happen here?


<!DOCTYPE html>

<p class="test1">1</p>
<p class="test2">2</p>
<p class="test3">3</p>

<style type="text/css">

.test1 { background: lime; }
/* .test2 { background: red; } /* css comment */
.test3 { background: blue; } */

</style>



All implementations will drop the .test2 (red) but show .test3 (blue).


-- 
Alan http://css-class.com/

Armies Cannot Stop An Idea Whose Time Has Come. - Victor Hugo
Received on Friday, 12 November 2010 03:10:21 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 12 November 2010 03:10:35 GMT