A clock
Every second: one text node and the datetime attribute.
View source
A canvas draws this whole page. Drag the turned corner at the top right towards the bottom left, or press the first button. Under the page is its DOM as it is now, written out as HTML, and nothing else. The text is written again when the page changes. A second page has the HTML as the server sent it under it.
The page is flat. Its top right corner is turned over.
Counted by a MutationObserver on the document since this page's script started. Changes to this table are left out of the counts, and the table stands still while the page is peeled back, so that it isn't itself a change in the text under the page.
Each block changes the DOM in one way. Peel the page and use a block: the lines that changed are marked, and the text scrolls to the first of them unless you have just scrolled it yourself.
Every second: one text node and the datetime attribute.
Each press: the data-count attribute and the text of an <output>.
Elements are added, moved and removed.
One custom property in the style attribute of #sheet. The canvas draws the whole page again.
<details> elementThe browser adds the open attribute when the element opens and removes it when it closes.
One attribute, written by the browser.
Typing and ticking change properties. The attributes, and so the live DOM text, keep what the server sent until the button copies them.
Change this sentence.
Each key press changes a text node.
A second drawable canvas, drawn into the picture of the first. Its button changes its own text.
fx="page-peel", so the fx library moves it into a canvas.clip-path on the canvas host, and two more on the handle.#sheet is a scrolling box as tall as the window below the menu bar, and it holds everything from the banner to the findings. The fx library wraps it in <fx-surface>, whose shadow root holds a canvas with content="drawable". The canvas is one screen in size whatever the length of the page.page-peel is one fragment shader. It gets the picture of the page and one point, the position of the paper's corner, from the CSS properties --fx-x and --fx-y. It rolls the paper round a cylinder that lies across the direction the corner has travelled, and draws the peeled paper mirrored and faded on top of the page. Where no paper is left it writes transparent pixels and a shadow.clip-path polygon on the canvas host, computed in script from the same numbers as the shader, cuts the canvas along the roll. Taps, scrolling and text selection beyond it go to the source text.document.documentElement.getHTML() with the shadow root of the canvas host passed in, so the canvas that draws the page is in it. It's written again at most four times a second while a MutationObserver reports changes and the page is peeled back.getHTML(). So the text doesn't contain itself, and the observer on the document isn't told about its updates.Each check builds its own fixture in a corner of the window. The page isn't peeled or changed by them.
| Result | Experiment | Detail |
|---|
From Chromium 157 with software rendering, 412 px wide, on 2026-11-22. The rows above say what your browser does.
On this device: move the paper and scroll the page, and the number of frames the canvas drew is written here.
clip-path on the canvas host splits input along the roll. A shader can make pixels transparent but the element behind them still takes the tap. With the host clipped, elementFromPoint() gives the layer under the page, and a touch swipe there scrolls the source and not the page.<fx-surface>, its canvas with content="drawable", the menu that a script built, and the --fx-x and --fx-y values, which change while the paper is dragged.outerHTML also leaves out every shadow root. getHTML({ shadowRoots }) writes the ones it is given.textContent is reported as a change to the list of children. The clock replaces its text node each second, so the count of changes "to text" stays at 0 until the editable sentence is typed in.getHTML() skips unless asked and which a MutationObserver on the document doesn't report. The table of counts is in the page, so the observer leaves its changes out by hand.