This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Test Windows 11 emoji</title> | |
<style> | |
.emoji-1 { | |
font-family: "Segoe UI Emoji"; | |
} | |
.emoji-2 { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Test event capture</title> | |
</head> | |
<body> | |
<h1>Test event capture</h1> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
node_modules |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"benchmarks": [ | |
{ | |
"name": "Scoping - classes", | |
"bytesSent": 0, | |
"measurement": { | |
"name": "total", | |
"mode": "performance", | |
"entryName": "total" | |
}, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"benchmarks": [ | |
{ | |
"name": "Scoping - classes", | |
"bytesSent": 0, | |
"measurement": { | |
"name": "total", | |
"mode": "performance", | |
"entryName": "total" | |
}, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Math.max(...[...document.querySelectorAll('*')].map(node => { | |
let count = 0 | |
while ((node = node.parentNode)) { count++ } | |
return count | |
})) |
This file has been truncated, but you can view the full file.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<meta charset="UTF-8"> | |
<title>Separate styles vs one big style</title> | |
</head> | |
<body> | |
<main style="max-width: 600px; margin: 0 auto;"> | |
<h1>Separate styles vs one big style</h1> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>CSS preparser: imports</title> | |
</head> | |
<body> | |
<h1>CSS preparser: imports</h1> | |
<pre id="display"></pre> | |
<script> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- delegation --> | |
<x-input aria-labelledby="foo"> | |
#shadow-root | |
<input type=text autoarialabelledby> <!-- delegates aria-labelledby to the host --> | |
</x-input> | |
<!-- reflection --> | |
<x-label id="foo"> | |
#shadow-root reflects=ariaLabelledBy | |
<label reflectsAriaLabelledBy> <!-- reflects its "id" upward, in a sense --> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Dialog element and shadow DOM - first element is in a closed shadow root</title> | |
<style> | |
body { | |
margin: 0 auto; | |
max-width: 400px; | |
padding: 40px; |