This really annoys me.. You google for something on your phone and let's say a relevant Wikipedia article comes up, with your search already highlighted in Google's result list. You open that article and all you get is the nice, clean, all-collapsed view of the page with the occurrance your search term hidden from you. Ctrl-F'ing will get you only this far and you as a dev at this point probably resort to your favourite F12 dev tools to locate your prey...<p>Are there any ideas or solutions to this? Collapsed text paragraphs have become a very common pattern, but is there a (suggested) way of letting the browser know that tag <section /> is in its collapsed state and to expand it, for instance when the text search hits something within it, CSS class thisClass is to be set on the container or JS function thatFunction() is to be called?<p>Probably this is something too specific to consider in HTML in general, but it <i>does</i> happen an awful, annoying lot...
Browsers should just stop recognizing "display: none" as a valid style attribute. "visibility: hidden" is another one.<p>If I had the skill to modify a browser this would be one of the first things to go.<p>As for your particular problem, if there is a clear space where some content should be, I resort to: right click -> Inspect Element with Firebug. I doubt there is a good way to reliably change styles across websites.