- From: Oriol Brufau via GitHub <sysbot+gh@w3.org>
- Date: Thu, 16 Jan 2025 17:41:52 +0000
- To: public-css-archive@w3.org
Loirooriol has just created a new issue for https://github.com/w3c/csswg-drafts: == [css-position][css-tables] Need to define relative positioning on table cells, rows and row groups in collapsing border model == https://drafts.csswg.org/css-position/#relpos-insets https://drafts.csswg.org/css-tables/#border-collapsing ```html <!DOCTYPE html> <style> td { border: 10px solid rgba(0, 0, 0, 0.5); background: cyan } .relpos { position: relative; left: 50px } </style> <table style="border-collapse: collapse"> <td>A</td><td>B</td> </table> <table style="border-collapse: collapse"> <td>A</td><td style="position: relative; left: 0">B</td> </table> <table style="border-collapse: collapse"> <td>A</td><td style="position: relative; left: 50px">B</td> </table> <table style="border-collapse: collapse"> <tr style="position: relative; left: 50px"> <td>A</td><td>B</td> </tr> </table> <table style="border-collapse: collapse"> <tbody style="position: relative; left: 50px"> <td>A</td><td>B</td> </tbody> </table> ``` | Gecko | Blink | WebKit | | - | - | - | |  |  |  | It's surprising to say at least that adding `position: relative` on a cell shrinks the background area... Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/11515 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Thursday, 16 January 2025 17:41:53 UTC