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>
(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>  

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

This archive was generated by hypermail 2.4.0 : Friday, 20 January 2023 19:58:15 UTC