W3C home > Mailing lists > Public > public-css-archive@w3.org > March 2020

Re: [csswg-drafts] [css-position][css-tables] position doesn’t apply on <tr> either (#1899)

From: Sebastian Zartner via GitHub <sysbot+gh@w3.org>
Date: Mon, 02 Mar 2020 08:24:06 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-593278597-1583137444-sysbot+gh@w3.org>
Here's an example page where `position: relative;` is applied to some table cells in order to position elements inside them on mobile resolutions.

In this case it is expected that the table cells are displayed the same way as if `position: static;` was applied (i.e. like in Blink, not like in Gecko):


Reduced example:
data:text/html,<table><tr><th>a</th><th>b</th><th>c</th></tr><tr><td>a</td><td>b</td><td>c</td></tr></table><style>table{border-collapse:collapse;}th,td{border:4px solid black;background-color:wheat;}th{position:relative;}</style>


GitHub Notification of comment by SebastianZ
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1899#issuecomment-593278597 using your GitHub account
Received on Monday, 2 March 2020 08:24:07 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:42:02 UTC