Re: [csswg-drafts] [css-tables] Hit testing of table rows. (#7817)

Table rows do not draw their own backgrounds and borders, cells do. 
This is why it *seems* that the table row is there, but it's not.

Hit testing is not special, in theory: the root cause is that table rows currently do not have boxes (per CSS 2.1).

I have no strong opinion on whether table rows should have a real box or not (although I lean on "they should, even if they don't draw anything") but given they do not have boxes, it seems logical that they don't hit-test right now.

Now, the horrible part is that table-rows have so much behaviors that normally require them to have a box (like `transform` or `position` working on them) that it might be worth changing the behavior here and say that rows should have a box (breaking away with 2.1).

I doubt anyone depends on the click behavior between cells. I would rather let this behavior flow from our decision to (or not to) pretend table rows do not generate boxes.

-- 
GitHub Notification of comment by FremyCompany
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/7817#issuecomment-1276470406 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Wednesday, 12 October 2022 16:52:58 UTC