Re: border-collapse-inherited-001 makes invalid assumptions about UA style sheet

On 10/23/2010 12:49 AM, fantasai wrote:
> On 10/18/2010 06:57 AM, Øyvind Stenhaug wrote:
>> On Thu, 14 Oct 2010 11:09:22 +0200, L. David Baron <dbaron@dbaron.org>
>> wrote:
>>
>>> http://test.csswg.org/suites/css2.1/20101001/xhtml1/border-collapse-inherited-001.xht
>>>
>>> http://test.csswg.org/suites/css2.1/20101001/html4/border-collapse-inherited-001.htm
>>>
>>>
>>> These tests make invalid assumptions about the UA style sheet; in
>>> particular that it does not have the rule:
>>> table { border-collapse: separate }
>> (...)
>>> This test should be removed.
>>
>> I guess it could also have another div between the #container and the
>> table, and then
>>
>> table { border-collapse: inherit }
>
> That's a good idea. It could also use an alternate path with <div>-based
> tables, which should not be affected by such reset rules.

You could also make the failure more obvious by
a) increasing the border-spacing some more
b) giving the table box a red background

~fantasai

Received on Tuesday, 23 November 2010 19:57:30 UTC