Skip to content

Commit

Permalink
polyfilled <details> for IE/WebBrowser; improved styling
Browse files Browse the repository at this point in the history
This also adds the newly added polyfill to the dependency lists.
  • Loading branch information
EliahKagan committed Aug 12, 2021
1 parent 18cab71 commit f745dfa
Show file tree
Hide file tree
Showing 3 changed files with 116 additions and 41 deletions.
84 changes: 57 additions & 27 deletions NOTICES.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ reproduced here:
<details>
<summary>
<strong>View 0BSD</strong>&nbsp;&nbsp;&nbsp;
<em>&ldquo;Copyright 2020, 2021 Eliah Kagan&hellip;&rdquo;</em>
<em>&ldquo;Copyright 2020, 2021 Eliah Kagan &hellip;&rdquo;</em>
</summary>

> Copyright 2020, 2021 Eliah Kagan &lt;[email protected]&gt;
Expand Down Expand Up @@ -75,14 +75,11 @@ Dependencies](#Other-Library-Depenencies) and [Fonts](#Fonts) below.

## Other Library Dependencies

In addition to the components listed above, Flood uses these libraries:

- [classList.js](#classListjs) by Eli Grey
- [Deque](#Deque-NitoCollectionsDeque) by Stephen Cleary
- [Hyphenopoly](#Hyphenopoly) by Mathias Nater
- [Microsoft.Web.WebView2](#MicrosoftWebWebView2) from Microsoft Corporation
- [MoreLINQ](#MoreLINQ), maintained by Atif Aziz
- [URLSearchParams](#URLSearchParams) by Andrea Giammarchi
In addition to the components listed above, Flood uses the libraries
[classList.js](#classListjs), [Deque](#Deque-NitoCollectionsDeque),
[details-element-polyfill](#details-element-polyfill),
[Hyphenopoly](#Hyphenopoly), [Microsoft.Web.WebView2](#MicrosoftWebWebView2),
[MoreLINQ](#MoreLINQ), and [URLSearchParams](#URLSearchParams).

### classList.js

Expand All @@ -94,7 +91,7 @@ under the [Unlicense](https://unlicense.org/):
<details>
<summary>
<strong>View Unlicense</strong>&nbsp;&nbsp;&nbsp;
<em>&ldquo;This is free and unencumbered software released into the public domain.&hellip;&rdquo;</em>
<em>&ldquo;This is free and unencumbered software released into the public domain. &hellip;&rdquo;</em>
</summary>

> This is free and unencumbered software released into the public domain.
Expand Down Expand Up @@ -133,7 +130,7 @@ license](https://spdx.org/licenses/MIT.html):
<details>
<summary>
<strong>View MIT license</strong>&nbsp;&nbsp;&nbsp;
<em>&ldquo;Copyright (c) 2015 Stephen Cleary&hellip;&rdquo;</em>
<em>&ldquo;Copyright (c) 2015 Stephen Cleary &hellip;&rdquo;</em>
</summary>

> The MIT License (MIT)
Expand All @@ -159,6 +156,42 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
</details>

### details-element-polyfill

[details-element-polyfill](https://github.com/javan/details-element-polyfill)
2.4.0 is written by Javan Makhmali and [**licensed
under**](https://github.com/javan/details-element-polyfill/blob/2.4.0/LICENSE)
the [MIT license](https://spdx.org/licenses/MIT.html):

<details>
<summary>
<strong>View MIT license</strong>&nbsp;&nbsp;&nbsp;
<em>&ldquo;Copyright (c) 2019 Javan Makhmali &hellip;&rdquo;</em>
</summary>

> The MIT License (MIT)
>
> Copyright (c) 2019 Javan Makhmali
>
> Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
>
> The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
>
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
</details>

### Hyphenopoly

[Hyphenopoly](https://mnater.github.io/Hyphenopoly/) 3.4.0 is written by
Expand All @@ -169,7 +202,7 @@ license](https://spdx.org/licenses/MIT.html):
<details>
<summary>
<strong>View MIT license</strong>&nbsp;&nbsp;&nbsp;
<em>&ldquo;Copyright (c) 2019 Mathias Nater&hellip;&rdquo;</em>
<em>&ldquo;Copyright (c) 2019 Mathias Nater &hellip;&rdquo;</em>
</summary>

> The MIT License (MIT)
Expand Down Expand Up @@ -205,7 +238,7 @@ the following license (which is similar to the 3-clause BSD license):
<details>
<summary>
<strong>View license</strong>&nbsp;&nbsp;&nbsp;
<em>&ldquo;Copyright (C) Microsoft Corporation. All rights reserved.&hellip;&rdquo;</em>
<em>&ldquo;Copyright (C) Microsoft Corporation. All rights reserved. &hellip;&rdquo;</em>
</summary>

> Copyright (C) Microsoft Corporation. All rights reserved.
Expand Down Expand Up @@ -262,7 +295,7 @@ license](https://spdx.org/licenses/MIT.html):
<details>
<summary>
<strong>View Apache License 2.0 + MIT license</strong>&nbsp;&nbsp;&nbsp;
<em>&ldquo;TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION&hellip;&rdquo;</em>
<em>&ldquo;TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION &hellip;&rdquo;</em>
</summary>

> **Apache License**\
Expand Down Expand Up @@ -479,7 +512,7 @@ under**](https://github.com/ungap/url-search-params/blob/v0.2.2/LICENSE) the
<details>
<summary>
<strong>View ISC license</strong>&nbsp;&nbsp;&nbsp;
<em>&ldquo;Copyright (c) 2018, Andrea Giammarchi, @WebReflection&hellip;&rdquo;</em>
<em>&ldquo;Copyright (c) 2018, Andrea Giammarchi, @WebReflection &hellip;&rdquo;</em>
</summary>

> ISC License
Expand All @@ -501,13 +534,10 @@ PERFORMANCE OF THIS SOFTWARE.

## Fonts

Aside from fonts supplied by the operating system, Flood uses these fonts:

- [IBM Plex Mono](#IBM-Plex-Mono)
- [Inter](#Inter)
- [Source Code Pro](#Source-Code-Pro)
- [Source Serif Pro](#Source-Serif-Pro)
- [Ubuntu](#Ubuntu)
Aside from fonts supplied by the operating system, Flood uses the fonts [IBM
Plex Mono](#IBM-Plex-Mono), [Inter](#Inter), [Source Code
Pro](#Source-Code-Pro), [Source Serif Pro](#Source-Serif-Pro), and
[Ubuntu](#Ubuntu).

### IBM Plex Mono

Expand All @@ -520,7 +550,7 @@ OFL 1.1](https://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&id=OFL):
<details>
<summary>
<strong>View SIL OFL 1.1</strong>&nbsp;&nbsp;&nbsp;
<em>&ldquo;Copyright © 2017 IBM Corp. with Reserved Font Name "Plex"&hellip;&rdquo;</em>
<em>&ldquo;Copyright © 2017 IBM Corp. with Reserved Font Name "Plex" &hellip;&rdquo;</em>
</summary>

> Copyright © 2017 IBM Corp. with Reserved Font Name "Plex"
Expand Down Expand Up @@ -629,7 +659,7 @@ licensed**](https://github.com/rsms/inter/blob/master/LICENSE.txt) under the
<details>
<summary>
<strong>View SIL OFL 1.1</strong>&nbsp;&nbsp;&nbsp;
<em>&ldquo;Copyright (c) 2016-2020 The Inter Project Authors&hellip;&rdquo;</em>
<em>&ldquo;Copyright (c) 2016-2020 The Inter Project Authors &hellip;&rdquo;</em>
</summary>

> Copyright (c) 2016-2020 The Inter Project Authors.\
Expand Down Expand Up @@ -739,7 +769,7 @@ under the [SIL OFL
<details>
<summary>
<strong>View SIL OFL 1.1</strong>&nbsp;&nbsp;&nbsp;
<em>&ldquo;Copyright 2010-2019 Adobe (http://www.adobe.com/), with Reserved Font Name 'Source'&hellip;&rdquo;</em>
<em>&ldquo;Copyright 2010-2019 Adobe (http://www.adobe.com/), with Reserved Font Name 'Source' &hellip;&rdquo;</em>
</summary>

> Copyright 2010-2019 Adobe (http://www.adobe.com/), with Reserved Font Name 'Source'. All Rights Reserved. Source is a trademark of Adobe in the United States and/or other countries.
Expand Down Expand Up @@ -848,7 +878,7 @@ under the [SIL OFL
<details>
<summary>
<strong>View SIL OFL 1.1</strong>&nbsp;&nbsp;&nbsp;
<em>&ldquo;Copyright 2014-2021 Adobe (http://www.adobe.com/), with Reserved Font Name 'Source'&hellip;&rdquo;</em>
<em>&ldquo;Copyright 2014-2021 Adobe (http://www.adobe.com/), with Reserved Font Name 'Source' &hellip;&rdquo;</em>
</summary>

> Copyright 2014-2021 Adobe (http://www.adobe.com/), with Reserved Font Name 'Source'. All Rights Reserved. Source is a trademark of Adobe in the United States and/or other countries.
Expand Down Expand Up @@ -968,7 +998,7 @@ Licence, Version 1.0:
<details>
<summary>
<strong>View Ubuntu Font Licence</strong>&nbsp;&nbsp;&nbsp;
<em>&ldquo;This licence allows the licensed fonts to be used, studied, modified and redistributed&hellip;&rdquo;</em>
<em>&ldquo;This licence allows the licensed fonts to be used, studied, modified and redistributed &hellip;&rdquo;</em>
</summary>

> # Ubuntu font licence
Expand Down
1 change: 1 addition & 0 deletions doc/help.css
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ p, li {
}

details>summary {
cursor: pointer;
font-size: .85em;
}

Expand Down
72 changes: 58 additions & 14 deletions doc/help.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@
<script src="https://cdn.jsdelivr.net/npm/[email protected]/min/Hyphenopoly_Loader.js"
integrity="sha256-9y5yGIQ1ZberXzR11keKqYRT0bNndPTyZpXjK76CBUo="
crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/details-element-polyfill.js"
integrity="sha256-yut4cccRuQ4wDMqIa8lYof0FUeFSI9ud0D/uRHpTnls="
crossorigin="anonymous"></script>
<script src="https://unpkg.com/@ungap/[email protected]/min.js"
integrity="sha384-cduzXFJp9BFmTpHsZ9dKgXokrdxGJ5Ix5rWJdBihjdTpqdmtvn48NpDmTLwB79Bf"
crossorigin="anonymous"
Expand Down Expand Up @@ -859,7 +862,7 @@ <h2 id="dependencies">
<details>
<summary>
<strong>View 0BSD</strong>&nbsp;&nbsp;&nbsp;
<em>&ldquo;Copyright 2020, 2021 Eliah Kagan&hellip;&rdquo;</em>
<em>&ldquo;Copyright 2020, 2021 Eliah Kagan &hellip;&rdquo;</em>
</summary>
<pre>Copyright 2020, 2021 Eliah Kagan <degeneracypressure@gmail.com>

Expand Down Expand Up @@ -955,6 +958,7 @@ <h3 id="other-libraries">
libraries
<a href="#classlist-js">classList.js</a>,
<a href="#nito-collections-deque">Deque</a>,
<a href="#details-element-polyfill">details-element-polyfill</a>,
<a href="#hyphenopoly">Hyphenopoly</a>,
<a href="#microsoft-web-webview2">Microsoft.Web.WebView2</a>,
<a href="#morelinq">MoreLINQ</a>, and
Expand All @@ -977,7 +981,7 @@ <h4 id="classlist-js">classList.js</h4>
<summary>
<strong>View Unlicense</strong>&nbsp;&nbsp;&nbsp;
<em>&ldquo;This is free and unencumbered software released into
the public domain.&hellip;&rdquo;</em>
the public domain. &hellip;&rdquo;</em>
</summary>
<pre>This is free and unencumbered software released into the public domain.

Expand Down Expand Up @@ -1023,7 +1027,7 @@ <h4 id="nito-collections-deque">
<details>
<summary>
<strong>View MIT license</strong>&nbsp;&nbsp;&nbsp;
<em>&ldquo;Copyright (c) 2015 Stephen Cleary&hellip;&rdquo;</em>
<em>&ldquo;Copyright (c) 2015 Stephen Cleary &hellip;&rdquo;</em>
</summary>
<pre>The MIT License (MIT)

Expand All @@ -1048,6 +1052,47 @@ <h4 id="nito-collections-deque">
SOFTWARE.</pre>
</details>
</section>
<section id="details-element-polyfill-content">
<h4 id="details-element-polyfill">details-element-polyfill</h4>
<p>
<a class="external"
href="https://github.com/javan/details-element-polyfill"
title="details-element-polyfill | GitHub">details-element-polyfill</a>
2.4.0 is written by Javan Makhmali and
<a href="https://github.com/javan/details-element-polyfill/blob/2.4.0/LICENSE"><b>licensed under</b></a>
the
<a class="external"
href="https://spdx.org/licenses/MIT.html"
title="MIT license | SPDX">MIT license</a>:
</p>
<details>
<summary>
<strong>View MIT license</strong>&nbsp;&nbsp;&nbsp;
<em>&ldquo;Copyright (c) 2019 Javan Makhmali &hellip;&rdquo;</em>
</summary>
<pre>The MIT License (MIT)

Copyright (c) 2019 Javan Makhmali

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.</pre>
</details>
</section>
<section id="hyphenopoly-content">
<h4 id="hyphenopoly">Hyphenopoly</h4>
<p>
Expand All @@ -1064,7 +1109,7 @@ <h4 id="hyphenopoly">Hyphenopoly</h4>
<details>
<summary>
<strong>View MIT license</strong>&nbsp;&nbsp;&nbsp;
<em>&ldquo;Copyright (c) 2019 Mathias Nater&hellip;&rdquo;</em>
<em>&ldquo;Copyright (c) 2019 Mathias Nater &hellip;&rdquo;</em>
</summary>
<pre>The MIT License (MIT)

Expand Down Expand Up @@ -1103,7 +1148,7 @@ <h4 id="microsoft-web-webview2">Microsoft.Web.WebView2</h4>
<details>
<summary>
<strong>View license</strong>&nbsp;&nbsp;&nbsp;
<em>&ldquo;Copyright (C) Microsoft Corporation. All rights reserved.&hellip;&rdquo;</em>
<em>&ldquo;Copyright (C) Microsoft Corporation. All rights reserved. &hellip;&rdquo;</em>
</summary>
<pre>Copyright (C) Microsoft Corporation. All rights reserved.

Expand Down Expand Up @@ -1176,7 +1221,7 @@ <h4 id="morelinq">MoreLINQ</h4>
<details>
<summary>
<strong>View Apache License 2.0 + MIT license</strong>&nbsp;&nbsp;&nbsp;
<em>&ldquo;TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION&hellip;&rdquo;</em>
<em>&ldquo;TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION &hellip;&rdquo;</em>
</summary>
<pre>
Apache License
Expand Down Expand Up @@ -1379,8 +1424,7 @@ <h4 id="morelinq">MoreLINQ</h4>
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
</pre>
SOFTWARE.</pre>
</details>
</section>
<section id="url-search-params-content">
Expand All @@ -1399,7 +1443,7 @@ <h4 id="url-search-params">URLSearchParams</h4>
<details>
<summary>
<strong>View ISC license</strong>&nbsp;&nbsp;&nbsp;
<em>&ldquo;Copyright (c) 2018, Andrea Giammarchi, @WebReflection&hellip;&rdquo;</em>
<em>&ldquo;Copyright (c) 2018, Andrea Giammarchi, @WebReflection &hellip;&rdquo;</em>
</summary>
<pre>ISC License

Expand Down Expand Up @@ -1459,7 +1503,7 @@ <h4 id="ibm-plex-mono">IBM Plex Mono</h4>
<details>
<summary>
<strong>View SIL OFL 1.1</strong>&nbsp;&nbsp;&nbsp;
<em>&ldquo;Copyright © 2017 IBM Corp. with Reserved Font Name "Plex"&hellip;&rdquo;</em>
<em>&ldquo;Copyright © 2017 IBM Corp. with Reserved Font Name "Plex" &hellip;&rdquo;</em>
</summary>
<pre>Copyright © 2017 IBM Corp. with Reserved Font Name "Plex"

Expand Down Expand Up @@ -1572,7 +1616,7 @@ <h4 id="inter">Inter</h4>
<details>
<summary>
<strong>View SIL OFL 1.1</strong>&nbsp;&nbsp;&nbsp;
<em>&ldquo;Copyright (c) 2016-2020 The Inter Project Authors&hellip;&rdquo;</em>
<em>&ldquo;Copyright (c) 2016-2020 The Inter Project Authors &hellip;&rdquo;</em>
</summary>
<pre>Copyright (c) 2016-2020 The Inter Project Authors.
"Inter" is trademark of Rasmus Andersson.
Expand Down Expand Up @@ -1686,7 +1730,7 @@ <h4 id="source-code-pro">Source Code Pro</h4>
<details>
<summary>
<strong>View SIL OFL 1.1</strong>&nbsp;&nbsp;&nbsp;
<em>&ldquo;Copyright 2010-2019 Adobe (http://www.adobe.com/), with Reserved Font Name 'Source'&hellip;&rdquo;</em>
<em>&ldquo;Copyright 2010-2019 Adobe (http://www.adobe.com/), with Reserved Font Name 'Source' &hellip;&rdquo;</em>
</summary>
<pre>Copyright 2010-2019 Adobe (http://www.adobe.com/), with Reserved Font Name
'Source'. All Rights Reserved. Source is a trademark of Adobe in the
Expand Down Expand Up @@ -1802,7 +1846,7 @@ <h4 id="source-serif-pro">Source Serif Pro</h4>
<details>
<summary>
<strong>View SIL OFL 1.1</strong>&nbsp;&nbsp;&nbsp;
<em>&ldquo;Copyright 2014-2021 Adobe (http://www.adobe.com/), with Reserved Font Name 'Source'&hellip;&rdquo;</em>
<em>&ldquo;Copyright 2014-2021 Adobe (http://www.adobe.com/), with Reserved Font Name 'Source' &hellip;&rdquo;</em>
</summary>
<pre>Copyright 2014-2021 Adobe (http://www.adobe.com/), with Reserved Font Name
'Source'. All Rights Reserved. Source is a trademark of Adobe in the
Expand Down Expand Up @@ -1934,7 +1978,7 @@ <h4 id="ubuntu">Ubuntu</h4>
<details>
<summary>
<strong>View Ubuntu Font Licence</strong>&nbsp;&nbsp;&nbsp;
<em>&ldquo;This licence allows the licensed fonts to be used, studied, modified and redistributed&hellip;&rdquo;</em>
<em>&ldquo;This licence allows the licensed fonts to be used, studied, modified and redistributed &hellip;&rdquo;</em>
</summary>
<pre>-------------------------------
UBUNTU FONT LICENCE Version 1.0
Expand Down

0 comments on commit f745dfa

Please sign in to comment.