oduwsdl / ipwb

InterPlanetary Wayback: A distributed and persistent archive replay system using IPFS
MIT License
606 stars 39 forks source link

Advanced replay settings are not hidden by default in Win10 IE #308

Open machawk1 opened 6 years ago

machawk1 commented 6 years ago

Windows 10 Internet Explorer

virtualbox_win10_08_12_2017_10_30_46

macOS 10.13 Chrome

screen shot 2017-12-08 at 10 32 28 am
machawk1 commented 6 years ago

Also, no right-facing triangle on Options and Details.

machawk1 commented 6 years ago

The content in the <details> tag outside of the nested <summary> tag should not be displayed by default. This looks to be an IE bug:

details

However, the triangle shows up in the sample page (linked below) but not in the ipwb replay ui, which might be attributed to something in the replay's CSS that IE is not interpreting correctly.

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/details

machawk1 commented 6 years ago

Verified as not supported by IE: https://caniuse.com/#feat=details

machawk1 commented 6 years ago

This appears to be the best polyfill to add for the time being with graceful fallback to the native <details> implementation when supported.

...but I don't plan on adding jQuery as a dependency.