-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Description
Describe the bug
Recent Chromium supports hidden="until-found" attribute which allows for Ctrl-F search in hidden accordions, see https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/hidden and https://developer.chrome.com/docs/css-ui/hidden-until-found
purecss adds "display:none !important" to "[hidden]" which breaks it:
Line 20 in 203b964
[hidden] { |
It seems that "display:none" without "!important" also breaks it.
I'm not sure why this rule is there in the first place.
To Reproduce
Steps to reproduce the behavior:
Use recent Chrome or Edge
Head to https://codepen.io/web-dot-dev/pen/JjMxmom
Click on white demo area
Search for papaya -> works
Reload
Add on top of HTML
Click on white demo area
Search for papaya -> doesn't work