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

Tweak styles to work around browser bugs #1124

Merged
merged 1 commit into from
Nov 21, 2024
Merged

Tweak styles to work around browser bugs #1124

merged 1 commit into from
Nov 21, 2024

Conversation

zcorpan
Copy link
Member

@zcorpan zcorpan commented Nov 20, 2024

Avoid using visibility: collapse since it's not properly supported in WebKit[1] and there's a hit testing bug in Gecko[2]. Browsers currently use display:none for tr[hidden] (spec violation[3]). Switch to fixed table layout and set widths to get stable column withs when searching.

[1] https://bugs.webkit.org/show_bug.cgi?id=8735

[2] Fixes #1118

[3] https://html.spec.whatwg.org/multipage/rendering.html#tables-2

Avoid using visibility: collapse since it's not properly supported in WebKit[1] and there's a hit testing bug in Gecko[2]. Browsers currently use display:none for tr[hidden] (spec violation[3]). Switch to fixed table layout and set widths to get stable column withs when searching.

[1] https://bugs.webkit.org/show_bug.cgi?id=8735

[2] Fixes #1118

[3] https://html.spec.whatwg.org/multipage/rendering.html#tables-2
@tantek tantek merged commit e3cc517 into main Nov 21, 2024
1 check passed
@tantek tantek deleted the zcorpan/tweak-styles branch November 21, 2024 06:26
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

Successfully merging this pull request may close these issues.

site bug: Can't expand detail section after search
2 participants