- Be an SVG root (
<svg>). - Be a text or search
<input>field.
or:
- Not be display
inlineorinline-block - Not have a percentage height value.
- Not have an implicit or
autoheight value.
| window.addEventListener("beforeunload", function() { debugger; }, false) |
| // Credits: https://stackoverflow.com/a/62399430/4988995 | |
| function listFonts() { | |
| let { fonts } = document; | |
| const it = fonts.entries(); | |
| let arr = []; | |
| let done = false; | |
| while (!done) { | |
| const font = it.next(); |