tests.gosub.io

Hand-written pages for eyeballing how the Gosub browser engine renders things. Open one here and in a reference browser, and compare. Most pages state what they expect to happen.

91 fixtures / 11 groups / 2 need javascript

Contents

01 Progressive ······························· 10
02 Text & typography ························· 10
03 Box model & layout ························ 11
04 Tables ···································· 20
05 Shadow DOM ································ 20
06 Pickers ··································· 10
07 Graphics & media ··························· 3
08 Visual effects ····························· 2
09 CSS mechanics ······························ 2
10 Interactive & embedded ····················· 2
11 Real-world pages ··························· 1

§01 Progressive

Each page adds one capability to the page before it. Work down until something breaks — that is the first feature to look at.

§02 Text & typography

Fonts, inline flow, line boxes, wrapping and writing modes.

§03 Box model & layout

Margins, floats, overflow, grid and scrolling — the geometry everything else sits on.

§04 Tables tables/

From a bare 3×3 grid up to spans, collapsed borders and a real infobox.

§05 Shadow DOM shadow-dom/

Declarative shadow roots only, so the set runs with scripting off. If 01 shows “light child” the templates never became shadow roots, and the rest is noise.

§06 Pickers pickers/

The six input types the engine hands to the shell — color, date, time, datetime-local, month, week. Every page says what the control should show and what its picker should do; the engine sanitises the value, the shell draws the picker.

§07 Graphics & media

Raster and vector images, backgrounds, borders and gradients.

§08 Visual effects

Compositing-level features: transforms, filters, opacity and blending.

§09 CSS mechanics

Selector matching and value resolution, mostly independent of layout.

§10 Interactive & embedded

Elements with behaviour of their own, and foreign content in the page.

§11 Real-world pages

A whole page as it ships, to check the isolated fixtures against something messy.