Skip to content

Instantly share code, notes, and snippets.

<!doctype html>
<html lang="en">
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<title>CSS Painting API Level 1</title>
T.J. Catkins, Google, TabAtkins
Peter Linss, HP, plinss
Rossen Atanassov, Microsoft, Rossen
Ojan Vafai, Google, ojan
Daniel Holbert, Mozilla, dholbert
Chris Lilley, W3C, ChrisL
Koji Ishi, Google, koji
Robert Flack, Google, flackr
Rick Byers, Google, rbyers
Surma Surma, Google, surma
registerAnimator('throwaway-name', class {
static elements = {
scroller: {
isRoot: true;
scrollInput: true;
name: 'foo-scroller';
},
parallax: {
outputProperties: ['transform']
{"cardview-heading": "Example",
"users": [
{"user": "Nasko Oskov", "email": "nasko@chromium.org"},
{"user": "Daniel Cheng", "email": "dcheng@chromium.org"},
{"user": "Charlie Reis", "email": "creis@chromium.org"},
{"user": "Nick Carter", "email": "nick@chromium.org"}
],
"dashes": [
"cz-clock-dash",
"cz-review-latency-dash(true)",
{"cardview-heading": "🍻🍕🍑🍔🍟🍦🍫🍰🍩🍪🍗🍝🍣🍱🍙🍘🍡🍠🍨🍵🍖🍯🌽🍜🍥🍤🍳🍻",
"users": [
{"user": "Tim Loh", "email": "timloh@chromium.org"},
{"user": "Shane", "email": "shans@chromium.org"},
{"user": "Doug", "email": "dstockwell@chromium.org"},
{"user": "Eric", "email": "ericwilligers@chromium.org"},
{"user": "Alan", "email": "alancutter@chromium.org"},
{"user": "Mike", "email": "mikelawther@chromium.org"},
{"user": "Naina", "email": "nainar@chromium.org"},
{"user": "Suzy", "email": "suzyh@chromium.org"},
recipe
require
&foo
* <- h1
construct
handle h1
&bar
* -> h1
```
😌
🙋 peg
🙆 peg
🙋 build
Files: 171
Lines: 89265
Nodes: 412260
Identifiers: 139748
Symbols: 118580