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

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 UTC