[英]Recent firefox and the webshim implementation of details
Firefox的最新版本(例如49.0)實現了details標簽。 不幸的是,這與webshim的細節實現部分不兼容。 盡管Summary標簽的內容仍然可見,但黑色三角形消失了,單擊它仍然隱藏並顯示了詳細信息的內容。
可以在https://afarkas.github.io/webshim/demos/#DetailsSummary中看到
任何已知的解決方法? 由於IE和Edge,此polyfill仍然有用。
我應該用谷歌多一點。
部分解決方法將添加到CSS
details summary {
display: list-item !important;
}
其他信息可以在這里找到:
https://gist.github.com/ericclemmons/b146fe5da72ca1f706b2ef72a20ac39d
https://bugzilla.mozilla.org/show_bug.cgi?id=1283989
https://github.com/StylishThemes/GitHub-Dark/commit/20c524d2fe59d874afcd675f0e9e01b23cefd35a
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.