W3C home > Mailing lists > Public > whatwg@whatwg.org > May 2009

[whatwg] table 'frames' attribute

From: fantasai <fantasai.lists@inkedblade.net>
Date: Mon, 04 May 2009 14:52:21 -0700
Message-ID: <49FF6395.7000100@inkedblade.net>
Section 10.2.6, i.e. The XHTML syntax: Rendering: Punctuation and decoration
contains some style rules for handling the [rules] and [frames] attributes
of the <table> element. I haven't reviewed it all in detail but this part

   table[frames=void] > tr > td, table[frames=void] > tr > th,
   table[frames=above] > tr > td, table[frames=above] > tr > th,
   table[frames=below] > tr > td, table[frames=below] > tr > th,
   ...
   table[frames=border] > tfoot > tr > td, table[frames=border] > tfoot > tr > th {
     border-style: solid;
   }

is certainly wrong both per spec (HTML4) and implementation. It should be
removed. Also, you probably want to track Mozilla bug 43178 for this section
   https://bugzilla.mozilla.org/show_bug.cgi?id=43178
since we are actually planning to implement these attributes with CSS rules
unless we hit performance problems with that approach.

There's a collection of tests for these attributes here:
   http://fantasai.inkedblade.net/markup/tests/table-frame-rules/
I should probably expand it to include tests for the empty string and junk
valuse, but that's what it is for now.

~fantasai
Received on Monday, 4 May 2009 14:52:21 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:08:48 UTC