On 10/05/2012 07:29 AM, Simon Sapin wrote: > Le 04/10/2012 19:20, fantasai a écrit : >> So, we don't really define how border-spacing affects the percentage-sized >> table cells in a fixed-size table. Apparently it's subtracted out of the >> available space for both width (and height) in FF and Opera, but only for >> width in WebKit. Don't know about IE. >> >> http://software.hixie.ch/utilities/js/live-dom-viewer/?%3C!DOCTYPE%20html%3E%0A%3Cdiv%20style%3D%22border%3A%20solid%20orange%3B%20width%3A%20200px%3B%22%3E%0A%3Ctable%20style%3D%22border%3A%20solid%20blue%3B%20width%3A%20200px%3B%20border-spacing%3A%2033.3px%3B%22%3E%0A%3Ctd%20style%3D%22border%3A%20solid%20navy%3B%20width%3A%2050%25%22%3E%0A%3C%2Ftd%3E%0A%3Ctd%20style%3D%22border%3A%20solid%20fuchsia%3B%22%0A%3C%2Ftable%3E%0A%3C%2Fdiv%3E >> >> >> Probably this should be defined and tested somewhere.:) CSS2.1 doesn't >> define height calculations for cells, but it does define widths. > > Is this for the "Fixed table layout" or the "Automatic table layout"? > > The test above uses the latter (initial value of the 'table-layout' property) > which is non-normative in CSS 2.1. Anyone feels like reviving Tables level 3? :) Interesting question. FF does different things for 'fixed' and 'auto', though Opera and Chrome seem to do the same thing. ~fantasaiReceived on Friday, 5 October 2012 14:46:43 UTC
This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:22 UTC