Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Selecting across side-by-side table cells causes additional selection slivers #518

Open
JohnKlenk opened this issue Nov 20, 2024 · 1 comment

Comments

@JohnKlenk
Copy link

JohnKlenk commented Nov 20, 2024

When selecting text across 2 table cells which are next to each other, a 2px tall sliver of selection highlight extends to the left side of the bottom of left cell, and to the right side of the top of the right cell. The problem does not happen in Chrome.
Table cells selection bug

Example code:

<html lang="en">
<head>
<style>
table, td {
  border: 1px solid;
}
</style>
</head>
<body>
  <table>
    <tr>
      <td>Row 1, Cell 1</td>
      <td>Row 1, Cell 2</td>
      <td>Row 1, Cell 3</td>
    </tr>
  </table>
</body>
</html>```
@JohnKlenk
Copy link
Author

JohnKlenk commented Nov 20, 2024

Depending on the table it can look worse. Comparison with Chrome using a different table:

Table cells selection bug, second set of screenshots

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant