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>CSSStyleSheet repro</title> | |
</head> | |
<body> | |
<h1>CSSStyleSheet repro</h1> | |
<script type="module"> | |
const template = document.createElement('template'); |
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> | |
<title>emoji-picker-element: using Twemoji</title> | |
</head> | |
<body> | |
<h1>emoji-picker-element: using Twemoji</h1> | |
<p> | |
This demo shows how to use emoji-picker-element with Twemoji. | |
Note that this carries a performance cost because of 1) using MutationObserver to monitor for DOM changes, and 2) downloading Twemoji images. |
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"> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<title>Constructable styles benchmark: push versus reassignment</title> | |
<style> | |
label { | |
display: block; | |
margin: 20px 0; |
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<title>Test</title> | |
</head> | |
<body> | |
<main> | |
<h1>Test</h1> | |
<button id="shadow-button"><div id="shadow-button-inner"></div></button> | |
</main> |
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
<!doctype html> | |
<html lang=en> | |
<head> | |
<title>emoji-picker element: inserting characters into text input</title> | |
<style> label, div { | |
padding: 10px; | |
} | |
</style> | |
</head> | |
<body> |
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> | |
<title>emoji-picker-element React example</title> | |
</head> | |
<body> | |
<div></div> | |
<script type="module"> | |
import * as React from "https://cdn.skypack.dev/react@^17"; | |
import * as ReactDOM from "https://cdn.skypack.dev/react-dom@^17"; |
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> | |
<title>Bare ::part(foo) selector</title> | |
</head> | |
<body> | |
<h1>Bare ::part(foo) selector</h1> | |
<custom-component></custom-component> | |
<body> | |
<script type=module> |
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> | |
<title>delegatesFocus test</title> | |
</head> | |
<body> | |
<h1>delegatesFocus test</h1> | |
<div></div> | |
<pre></pre> | |
<script> |