On Aug 14, 2008, at 11:11 AM, fantasai wrote: > <p>The UA may apply the border-radius properties to <code>table</code> > and <code>inline-table</code> elements when <code>border-collapse</ > code> > is <code>collapse</code> Note that even this has implications (not bad ones, IMO). For instance, if the table has a non-zero border-radius, and the internal table elements all have zero (computed, at least) border-radius, the implication is that if we ever DID allow internal table elements to have non-zero border-radii, then the following would also be true: At least if the border-radius of the outer element is larger than the inner element, then the outer element's border-radius takes precedence over that of the inner element. Thus: If the TABLE's border-radius takes precedence over the TBODY's border- radius If the TBODY's border-radius takes precedence over the TR's border- radius If the TR's border-radius takes precedence over the TD's border-radius ... or at least in cases where those elements on the left side of the above 3 statements are non-zero radii, and those elements on the right side are have smaller (or zero) radii. I think that would work well, and you might want it reversed when the the inner elements have radii larger than their ancestors within the table. > but is not required to. Why not? > In this case not only > must the border radii of adjacent corners not intersect, but the radii > of a single corner may not extend past the boundaries of the cell at > that > corner. To what end? If I understand correctly, that would seem to prevent the following, which seems like it might be useful sometimes: XXXXXXXXXXXXXXXXXXXXXXXX XX^^ | ^^XX X^ ____________|_____________^X XX | XX X | X XX _____________|____________ XX Xv | vX XXvv | vvXX XXXXXXXXXXXXXXXXXXXXXXXX BTW, this calls to mind another issue. Could text within an element that has border-radius be allowed to follow the curve? Or does it always have to keep a nice square corner? For large radii and small text, it would be nice to be able to follow the curve sometimes. But not always.Received on Wednesday, 3 September 2008 16:38:41 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:55:12 GMT