- Be an SVG root (
<svg>
). - Be a text or search
<input>
field.
or:
- Not be display
inline
orinline-block
- Not have a percentage height value.
- Not have an implicit or
auto
height value.
// 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(); |
window.addEventListener("beforeunload", function() { debugger; }, false) |