Re: [css-tables] Missing definition of table row borders if border-collapse: separate?

"Axel Dahmen" <brille1@hotmail.com> writes:

> I see. I didn't find this sentence in the spec myself.
>
> OK, then. Wouldn't this be something to be worth amending the spec
> with? It would save a lot of CSS necessary to achieve the same result
> right now. Not to mention the additional HTML.

One might say that it's somewhat weird that asking for separate borders
makes them "disappear" on table rows. Then again, even in the collapsed
borders model, the final borders are really associated with cells anyway
(and never with rows), even if you specify them on rows, columns or what
not.

But if we decide to allow borders on rows, what should we do if we
e.g. have a cell with rowspan > 1? And what about border-spacing? Insert
gaps in the rows' borders?

<table style="border-spacing:20px;">
    <tr style="border:10px solid blue;">
        <td>content</td>
        <td rowspan="2">content</td>
    </tr>
    <tr style="border:10px solid red;">
        <td>content</td>
    </tr>
</table>

-- 
---- Morten Stenshorne, developer, Opera Software ASA ----
------------------ http://www.opera.com/ -----------------

Received on Tuesday, 10 February 2015 10:25:15 UTC