W3C home > Mailing lists > Public > www-archive@w3.org > July 2007

Re: DI element [Re: html 5 and accessibility issue] (www-archive)

From: Anne van Kesteren <annevk@opera.com>
Date: Tue, 03 Jul 2007 14:54:21 +0200
To: "Ben Boyle" <benjamins.boyle@gmail.com>
Cc: www-archive@w3.org
Message-ID: <op.tuv3gvej64w2qv@annevk-t60.oslo.opera.com>

On Tue, 03 Jul 2007 14:48:27 +0200, Ben Boyle <benjamins.boyle@gmail.com>  
wrote:
>> The <tbody> element is inferred by the HTML parser if the tags are
>> absent.
>
> Hmm. Parsing is not my strong suit, forgive any misunderstandings ...
>
> I just did a test here, a simple HTML doc with a table and no <tbody>  
> elements.
> Then I applied some styles:
> tr > td {
> 	border: 1px solid blue;
> }
>
> tr > tbody > td {
> 	border: 1px solid red;
> }
>
> The borders are blue (Firefox 2). There is no "implied tbody" (as I
> understand it, as an author!) I also tested <di> and it did nothing...
> couldn't access it for styling. No surprise, it's not in any current
> spec.

Are you sure you understand where the <tbody> element is implied? Namely,  
between <table> and <tr>...


-- 
Anne van Kesteren
<http://annevankesteren.nl/>
<http://www.opera.com/>
Received on Tuesday, 3 July 2007 12:54:29 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 7 November 2012 14:18:07 GMT