mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-30 05:35:31 +00:00
6276d59933
If the main summary element has 'display: none' style, it won't generates a summary frame as the first child of the details. However, if a details element have two summaries and the first summary has 'display: none', the second summary still generates a SummaryFrame event if it isn't the main summary. So instead of checking on the SummaryFrame as before, I check the content tree for the main summary by using the idea in bug 1245424 comment 8. Another reason might be the potential removal of SummaryFrame in bug 1258657. MozReview-Commit-ID: H0evZ17zj5k --HG-- extra : rebase_source : 1aad3ad1d31dc277771013f92eace5cefa7d6112
12 lines
270 B
HTML
12 lines
270 B
HTML
<!DOCTYPE html>
|
|
<!-- Any copyright is dedicated to the Public Domain.
|
|
- http://creativecommons.org/publicdomain/zero/1.0/ -->
|
|
|
|
<html>
|
|
<body>
|
|
<details open>
|
|
<summary style="display: none;">summary (display: none)</summary>
|
|
</details>
|
|
</body>
|
|
</html>
|