Skip to content

Tweak styles to work around browser bugs#1124

Merged
tantek merged 1 commit intomainfrom
zcorpan/tweak-styles
Nov 21, 2024
Merged

Tweak styles to work around browser bugs#1124
tantek merged 1 commit intomainfrom
zcorpan/tweak-styles

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
@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