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