Johannes Zellner 83b7c0adab Add a browser compatibility ladder and CSS layout fixes 2 weeks ago
..
001-cascade.html 83b7c0adab Add a browser compatibility ladder and CSS layout fixes 2 weeks ago
002-inline.html 83b7c0adab Add a browser compatibility ladder and CSS layout fixes 2 weeks ago
003-lists.html 83b7c0adab Add a browser compatibility ladder and CSS layout fixes 2 weeks ago
004-float-row.html 83b7c0adab Add a browser compatibility ladder and CSS layout fixes 2 weeks ago
005-table.html 83b7c0adab Add a browser compatibility ladder and CSS layout fixes 2 weeks ago
006-flex-grid.html 83b7c0adab Add a browser compatibility ladder and CSS layout fixes 2 weeks ago
007-absolute.html 83b7c0adab Add a browser compatibility ladder and CSS layout fixes 2 weeks ago
008-media.html 83b7c0adab Add a browser compatibility ladder and CSS layout fixes 2 weeks ago
010-block-width.html 83b7c0adab Add a browser compatibility ladder and CSS layout fixes 2 weeks ago
011-block-height.html 83b7c0adab Add a browser compatibility ladder and CSS layout fixes 2 weeks ago
012-auto-margin.html 83b7c0adab Add a browser compatibility ladder and CSS layout fixes 2 weeks ago
013-box-sizing.html 83b7c0adab Add a browser compatibility ladder and CSS layout fixes 2 weeks ago
014-em.html 83b7c0adab Add a browser compatibility ladder and CSS layout fixes 2 weeks ago
015-font-shorthand.html 83b7c0adab Add a browser compatibility ladder and CSS layout fixes 2 weeks ago
016-borders.html 83b7c0adab Add a browser compatibility ladder and CSS layout fixes 2 weeks ago
017-z-index.html 83b7c0adab Add a browser compatibility ladder and CSS layout fixes 2 weeks ago
018-relative.html 83b7c0adab Add a browser compatibility ladder and CSS layout fixes 2 weeks ago
019-right-bottom.html 83b7c0adab Add a browser compatibility ladder and CSS layout fixes 2 weeks ago
020-table-span.html 83b7c0adab Add a browser compatibility ladder and CSS layout fixes 2 weeks ago
021-table-percent.html 83b7c0adab Add a browser compatibility ladder and CSS layout fixes 2 weeks ago
022-flex-align.html 83b7c0adab Add a browser compatibility ladder and CSS layout fixes 2 weeks ago
023-calc.html 83b7c0adab Add a browser compatibility ladder and CSS layout fixes 2 weeks ago
024-nested-em.html 83b7c0adab Add a browser compatibility ladder and CSS layout fixes 2 weeks ago
025-nowrap.html 83b7c0adab Add a browser compatibility ladder and CSS layout fixes 2 weeks ago
026-transform.html 83b7c0adab Add a browser compatibility ladder and CSS layout fixes 2 weeks ago
027-sticky.html 83b7c0adab Add a browser compatibility ladder and CSS layout fixes 2 weeks ago
028-background-image.html 83b7c0adab Add a browser compatibility ladder and CSS layout fixes 2 weeks ago
029-float-percent.html 83b7c0adab Add a browser compatibility ladder and CSS layout fixes 2 weeks ago
README 83b7c0adab Add a browser compatibility ladder and CSS layout fixes 2 weeks ago
index.html 83b7c0adab Add a browser compatibility ladder and CSS layout fixes 2 weeks ago

README

NebOS browser compatibility ladder
=================================

One page per behaviour. Each failing page is a small, isolated test:

left pane (A) uses the feature under test
right pane (B) produces the same result with primitives that already work

When the two panes look identical the feature is correct. Later the panes can
be screenshotted and diffed automatically because they are at fixed offsets.

Serve this directory from the host and open it on the board:

make compat-serve
# or: python3 -m http.server -d testdata/browser/compat 8000

browser http://:8000/ # board
browser http://10.0.2.2:8000/ # QEMU with -netdev user

Status: 010-029 pass. Still missing from the ladder: table rowspan,
float text wrap/clear, @font-face, percentage margins/padding, and the
full CSS background/transform property sets (the pages cover the forms
that the engine implements).

Rules for new pages:
- one behaviour per page;
- no JavaScript and no network assets outside this directory;
- explicit white background and dark text;
- page chrome uses only primitives introduced earlier in the ladder;
- keep the two panes at fixed offsets: floats with explicit px widths.