Options:
- # Session Start: Sun Jan 24 00:00:00 2010
- # Session Ident: #html-wg
- # [00:21] * Joins: miketaylr (miketaylr@24.42.95.234)
- # [00:41] * Quits: miketaylr (miketaylr@24.42.95.234) (Ping timeout)
- # [00:43] * Joins: tH (Rob@82.4.89.172)
- # [00:43] * Joins: dydz (dydz@75.36.187.147)
- # [00:52] <dydz> Consider the following the HTML 4 snippet: <table><col width="90"><col width="200"><col width="50"><tr><td style="background: blue">Col. 1</td><td colspan="2" style="background: red">Span cols 2 and 3</td></tr></table>
- # [00:53] <dydz> Notice there are three <col> elements.
- # [00:53] <dydz> What should the computed width of each <td> be? 90 and 250, respectively?
- # [01:05] <dydz> By subsection The COL element of section 11.2.4 of the HTML 4.01 spec. <http://www.w3.org/TR/html4/struct/tables.html#h-11.2.4.2> a <col> element may have an attribute called span, which is the number of column that share the same attributes described by the <col> element.
- # [01:10] <dydz> It is unclear to me what should happen with respect to inheriting (if that is even the right word) the <col> attributes, when the <td> specifies a colspan (as in the aforementioned example)
- # [01:13] <dydz> Is this case even valid?
- # [01:33] <Hixie> HTML4 is kinda vague about this stuff and doesn't really match reality anyway
- # [01:34] <Hixie> and HTML5 makes width="" on <col> invalid
- # [01:34] <Hixie> so hard to say :-)
- # [01:40] <dydz> hi hixie
- # [01:42] <dydz> Hixie: For your reference, this question is with respect to https://bugs.webkit.org/show_bug.cgi?id=14858
- # [01:47] <dydz> We may be able to simplify this question to (haven't checked the spec. yet on this): Does declaring a colspan value > 1 increase the effective number of columns in the table?
- # [01:48] <dydz> Consider the example: <table><tr><td colspan="2">Physical column 1</td></tr></table>
- # [01:49] <dydz> There is one <td> ("physical column") in the table.
- # [01:50] <dydz> Do we interpret this table as having two "effective" columns?
- # [01:56] <dydz> Hixie: But in the HTML 5 spec. <col> can have a style attribute (as inherited from the list of global attributes), so this case still possible (substitute style="width: Xpx" for the HTML 4 width attribute, width="X" in the above example)?
- # [02:04] <mjs> dydz: style propagation for columns is a mess
- # [02:04] <mjs> dydz: I don't think it really works in browsers and it is not clear how it is supposed to work with the CSS cascade
- # [02:04] <dydz> hi mjs
- # [02:05] <mjs> hi!
- # [02:05] <dydz> mjs, yes, I agree it is unclear
- # [02:05] <dydz> mjs: for your reference, both Firefox and IE will render the <td colspan="2"> element with a width around 250
- # [02:06] <dydz> in the above example
- # [02:06] <dydz> (disregarding border and padding)
- # [02:07] <mjs> dydz: what do they do if you use style="width: ..." instead of width="..."?
- # [02:07] <mjs> dydz: for compatibility, perhaps it is sufficient to only look at the column's width attribute and not really do any proper style resolution
- # [02:07] <dydz> Note, WebKit only handles this case differently (i.e. when there is only one row whose number of <td> is less than the number of column implied by the colspans)
- # [02:08] <mjs> dydz: width computation for table cells is tricky anyway
- # [04:08] * Disconnected
- # [04:09] * Attempting to rejoin channel #html-wg
- # [04:09] * Rejoined channel #html-wg
- # [04:09] * Topic is 'Pursuing conformance solutions for the N-body gravitational system known as "the Web", and in general, collectively performing various acts of unparalleled hubris (This channel is logged: http://krijnhoetmer.nl/irc-logs/)'
- # [04:09] * Set by MikeSmith on Thu Jun 18 06:02:08
- # [04:28] * Quits: miketaylr (miketaylr@24.42.95.234) (Quit: Leaving...)
- # [04:45] * Quits: paul_iri_ (paul_irish@71.192.163.128) (Ping timeout)
- # [04:47] * Joins: paul_irish (paul_irish@71.192.163.128)
- # [04:51] * Joins: miketaylr (miketaylr@24.42.95.234)
- # [05:30] * Quits: gavin_ (gavin@99.226.207.11) (Ping timeout)
- # [05:35] * Joins: gavin_ (gavin@99.226.207.11)
- # [06:30] * Joins: Lachy (Lachlan@89.233.178.6)
- # [06:33] * Quits: Lachy (Lachlan@89.233.178.6) (Quit: Leaving)
- # [06:33] * Joins: Lachy (Lachlan@89.233.178.6)
- # [06:54] * Quits: miketaylr (miketaylr@24.42.95.234) (Client exited)
- # [07:35] * Quits: Julian (chatzilla@217.91.35.233) (Ping timeout)
- # [07:37] * Joins: Julian (chatzilla@217.91.35.233)
- # [07:40] * Quits: gavin_ (gavin@99.226.207.11) (Ping timeout)
- # [07:45] * Joins: gavin_ (gavin@99.226.207.11)
- # [08:18] * Joins: shepazu (schepers@128.30.52.169)
- # [08:23] * Quits: shepazu_ (schepers@128.30.52.169) (Ping timeout)
- # [09:48] * Quits: gavin_ (gavin@99.226.207.11) (Ping timeout)
- # [09:52] * Joins: gavin_ (gavin@99.226.207.11)
- # [10:47] * Joins: ROBOd (robod@89.122.216.38)
- # [11:06] * Quits: mjs (mjs@69.181.42.237) (Quit: mjs)
- # [11:24] * Joins: myakura (myakura@123.224.228.213)
- # [11:44] * Joins: tametick (chatzilla@84.114.134.61)
- # [12:32] * Quits: Lachy (Lachlan@89.233.178.6) (Quit: This computer has gone to sleep)
- # [13:08] * Quits: tametick (chatzilla@84.114.134.61) (Client exited)
- # [13:08] * Joins: tametick (chatzilla@84.114.134.61)
- # [13:09] * Joins: Michelangelo (Michelange@93.41.247.64)
- # [13:34] * Quits: Michelangelo (Michelange@93.41.247.64) (Client exited)
- # [13:34] * Joins: Michelangelo (Michelange@93.41.247.64)
- # [13:47] * Quits: dydz (dydz@75.36.187.147) (Quit: dydz)
- # [14:52] * Parts: tametick (chatzilla@84.114.134.61)
- # [17:24] * Joins: mjs (mjs@69.181.42.237)
- # [17:50] * Quits: mjs (mjs@69.181.42.237) (Quit: mjs)
- # [17:51] * Quits: myakura (myakura@123.224.228.213) (Quit: Leaving...)
- # [17:53] * Joins: mjs (mjs@69.181.42.237)
- # [18:12] * Joins: cardona507 (carloscard@67.180.160.250)
- # [18:17] * Joins: tametick (chatzilla@84.114.134.61)
- # [18:45] * Quits: Michelangelo (Michelange@93.41.247.64) (Ping timeout)
- # [19:09] * Joins: Michelangelo (Michelange@93.41.247.64)
- # [19:09] * Quits: Michelangelo (Michelange@93.41.247.64) (Client exited)
- # [19:28] * Joins: dydz (dydz@75.36.187.147)
- # [21:28] * Quits: mjs (mjs@69.181.42.237) (Quit: mjs)
- # [21:39] * Quits: cardona507 (carloscard@67.180.160.250) (Quit: zzzzz)
- # [21:46] * Quits: ROBOd (robod@89.122.216.38) (Quit: http://www.robodesign.ro )
- # [23:29] * Joins: Lachy (Lachlan@85.196.122.246)
- # [23:29] * Quits: Lachy (Lachlan@85.196.122.246) (Client exited)
- # [23:29] * Joins: Lachy (Lachlan@85.196.122.246)
- # Session Close: Mon Jan 25 00:00:00 2010
The end :)