diff --git a/lighthouse-core/report/html/report-styles.css b/lighthouse-core/report/html/report-styles.css index 452b3ed92ce1..44efd2618d23 100644 --- a/lighthouse-core/report/html/report-styles.css +++ b/lighthouse-core/report/html/report-styles.css @@ -148,6 +148,11 @@ display: none !important; } +/* Edge doesn't recognize these, and the polyfill doesn't set block. https://github.com/javan/details-element-polyfill/issues/13 */ +details, summary { + display: block; +} + .lh-root details > summary { cursor: pointer; } diff --git a/lighthouse-core/report/html/third_party/details-element-polyfill.js b/lighthouse-core/report/html/third_party/details-element-polyfill.js index ab768957fc91..c7520c76e48c 100644 --- a/lighthouse-core/report/html/third_party/details-element-polyfill.js +++ b/lighthouse-core/report/html/third_party/details-element-polyfill.js @@ -3,10 +3,6 @@ Details Element Polyfill 2.0.4 Copyright © 2018 Javan Makhmali */ -(function() { - - -}).call(this); (function() { var addAttributesForSummary, eventIsSignificant, findClosestElementWithTagName, findElementsWithTagName, onTogglingTrigger, polyfillFocusAndARIA, polyfillProperties, polyfillStyles, polyfillToggle, polyfillToggleEvent, support, triggerToggle, triggerToggleIfToggled; @@ -290,8 +286,4 @@ Copyright © 2018 Javan Makhmali polyfillToggleEvent(); } -}).call(this); -(function() { - - }).call(this);