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

Buggy test for 8.3.1 Collapsing margins: table-margin-004

From: Řyvind Stenhaug <oyvinds@opera.com>
Date: Fri, 06 Aug 2010 15:27:42 +0200
To: public-css-testsuite@w3.org
Message-ID: <op.vg0qcgqwru61ud@oyvinds-desktop>
http://test.csswg.org/suites/css2.1/20100727/xhtml1/table-margin-004.xht
(Chapter 8, author Ian Hickson)

First of all, this fails because div > * matches both the .table <div>s  
and the <tr>s, and those margins don't collapse with each other because of  
a border in between.

Second, the markup is invalid (which is why the HTML version passes on the  
browsers I tried; typically the HTML parsers wouldn't add the TRs and TDs  
to the document tree but parse it as <div class="table">Test</div>  
instead).

-- 
Řyvind Stenhaug
Core Norway, Opera Software ASA
Received on Friday, 6 August 2010 13:26:15 GMT

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