Blocked ideas, tested: a picker in a scene, PDF pages, cross-origin pictures, a popover, a permission button and an overscroll drawer

Six ideas from the backlog were marked as blocked by the browser. Each one is tried here anyway. Every section runs the blocked route and the routes that could stand in for it, in the browser that opens the page, and says which of them worked. A route that reads pixels waits for a tap on its Measure button.

Customisable select with the picker in the scene

A select at the top chooses the colour of the sail. Its picker opens in the top layer. On the panel below it is the same list as a list box, drawn sheared by the canvas. Tap a row on the panel, then open the select.

The picker of a customisable select, drawn by the canvas
Not measured yet. Tap the button.
A list box (size="5") drawn sheared, taking taps
No choice made on the panel yet.

The picker is in the top layer, and a canvas draws only its own children. A list box has no picker: its rows are in its own picture. /select/ takes a third route and draws the options itself from select.options inside the picker.

Show the code

PDF pages as a book

Two pages of one PDF file as the pages of an open book: page 1 in an <embed>, page 2 in an <iframe>. The file is fetched when you tap the button, because a browser with no PDF viewer may offer to download it.

<embed type="application/pdf"> in a drawable block
Not measured yet. Tap the button.
<iframe> with the PDF as its document
Not measured yet. Tap the button.

The PDF viewer is a separate document that the page can't read, like a frame from another origin, so the expectation is blank paper. Chrome has no API that turns a PDF page into pixels for a page. A site that needs this ships a PDF renderer written in JavaScript and draws into its own canvas.

Show the code

Cross-origin image wall

Nine pictures. The first row is from this origin. The other two rows are the same files from a second origin. Row 3 asks for them with the crossorigin attribute and row 2 does not.

Row 2: a picture from a second origin
Not measured yet. Tap Measure.
Row 3: the same with crossorigin="anonymous" and a CORS header
Not measured yet. Tap Measure.

A drawable canvas is never tainted. Instead, a picture the page may not read is left out of the element's picture, and the canvas is told nothing. The page can still work it out from the URL and the attribute, and it draws the alt text on a hatched card in those places. The wall isn't blocked when the other server sends Access-Control-Allow-Origin.

Show the code

Popover drawn into the canvas

A warning card that hangs from a string in the canvas. Tap beside it to push it. The button moves it to the top layer as a popover, where the browser draws it. Closing the popover drops it back on its string.

Gale warning

South-west force 8 expected in sea area Malin at 18:00.

An open popover that is a child of the canvas, drawn with drawElementImage()
Not measured yet. Tap Measure.
The same element with no popover attribute, drawn and taking taps
The button on the card hasn't been tapped yet.

An element is in the top layer or in the canvas, not both. The same element can change home: the attribute is removed to draw it and set to show it over everything. /top-layer/ draws tooltips, a dialog and toasts this way, and /popovers/ keeps real popovers anchored to buttons drawn in perspective.

Show the code

Permission button in a scene

Two <geolocation> buttons. The canvas draws the first one. The second lies over the canvas. The ring round each is solid when the browser says it would accept a tap. Move or turn the second one and watch its ring.

Use my location Use my location
A permission button drawn by the canvas
Waiting for the browser's answer.
A permission button outside the canvas, positioned over it
Waiting for the browser's answer.

A permission button works only if the browser can be sure the person saw it as it is: not covered, not distorted, not just moved. A picture of it in a canvas fails that test by design, even drawn flat at full size. The route that works keeps the button out of the canvas and draws the scene round it.

Show the code

A drawer on the overscroll area

A ship's log in a list that scrolls. Scroll to the end and keep pulling up: a drawer of older entries rises from the bottom, and opens if you pull far enough. With a mouse, scroll the wheel past the end.

  1. Slipped the mooring at Oban
  2. Lismore light abeam
  3. Wind south-west, force 4
  4. One reef in the main
  5. Duart Castle to port
  6. Tide turned in the Sound
  7. Lochaline abeam
  8. Wind backed, force 5
  9. Second reef
  10. Calve Island in sight
  11. Sails down off Tobermory
  12. Alongside the pontoon

Yesterday

Crinan to Oban, 31 miles, 7 hours 20 minutes under sail.

CSS overscroll-area
Waiting.
The pull measured by the page from touch and wheel events
No pull has opened the drawer yet.

With no overscroll-area the browser gives the page no number for how far a scroller was pulled past its end. Touch events keep arriving while the list scrolls and after it stops at its end, so the page takes the finger's travel from that moment as the pull. overscroll-behavior: contain keeps the pull from scrolling the page.

Show the code

How it works

Each demo is a canvas with content="drawable" whose children are ordinary elements. A demo starts when its section comes near the screen. The paint handler draws the elements with drawElementImage() and draws everything else with canvas calls.

A measurement that needs pixels runs after a tap. It copies the canvas into a plain 2D canvas with drawImage() and reads single pixels from the copy. The permission buttons and the overscroll property need no pixels: the browser reports them.

Show the code

Live checks

These run on their own fixtures, after a tap.

Findings

Measured in headless Chromium 157 on 2026-11-22. Not yet run on a phone.