3 ms·
This sounds interesting, but I’m not following. Do you mind expanding? Specifically, how does nesting details/summary tags relate to 5 MB of HTML, and how does
by proamdev123 3y ago
This sounds interesting, but I’m not following. Do you mind expanding?
Specifically, how does nesting details/summary tags relate to 5 MB of HTML, and how does that relate to breaking a lot of browsers?
Sounds like a great story, and I’d love to hear it!
- marcosdumay 3y agoThe GP made an entire game in an (autogenerated) static HTML file. Most browsers don't have a 5MB single HTML as an usual target, and I guess not as a test case either.
- proamdev123 3y agoGot it. Thanks!
- withinboredom 3y agoIf you have a story with the following prompt: > go left > go right Where each of those is a branch in the story. Even if both branches converge eventually, all possibilities need to be in each branch. And so on. The number of summary tags is n! where n is the number of possible decisions. Thus you very, very quickly end up with a very large dom. Browsers aren’t really optimized to display hundreds of thousands of these tags, so they crashed.
- proamdev123 3y agoLol. Hilarious! Thanks for elaborating.