Johannes Zellner 8552c0aa9a Fix browser page background, flex footer and query selectors 2 тижнів тому
..
001-cascade.html 83b7c0adab Add a browser compatibility ladder and CSS layout fixes 2 тижнів тому
002-inline.html 83b7c0adab Add a browser compatibility ladder and CSS layout fixes 2 тижнів тому
003-lists.html 83b7c0adab Add a browser compatibility ladder and CSS layout fixes 2 тижнів тому
004-float-row.html 83b7c0adab Add a browser compatibility ladder and CSS layout fixes 2 тижнів тому
005-table.html 83b7c0adab Add a browser compatibility ladder and CSS layout fixes 2 тижнів тому
006-flex-grid.html 83b7c0adab Add a browser compatibility ladder and CSS layout fixes 2 тижнів тому
007-absolute.html 83b7c0adab Add a browser compatibility ladder and CSS layout fixes 2 тижнів тому
008-media.html 83b7c0adab Add a browser compatibility ladder and CSS layout fixes 2 тижнів тому
010-block-width.html 83b7c0adab Add a browser compatibility ladder and CSS layout fixes 2 тижнів тому
011-block-height.html 83b7c0adab Add a browser compatibility ladder and CSS layout fixes 2 тижнів тому
012-auto-margin.html 83b7c0adab Add a browser compatibility ladder and CSS layout fixes 2 тижнів тому
013-box-sizing.html 83b7c0adab Add a browser compatibility ladder and CSS layout fixes 2 тижнів тому
014-em.html 83b7c0adab Add a browser compatibility ladder and CSS layout fixes 2 тижнів тому
015-font-shorthand.html 83b7c0adab Add a browser compatibility ladder and CSS layout fixes 2 тижнів тому
016-borders.html 83b7c0adab Add a browser compatibility ladder and CSS layout fixes 2 тижнів тому
017-z-index.html 83b7c0adab Add a browser compatibility ladder and CSS layout fixes 2 тижнів тому
018-relative.html 83b7c0adab Add a browser compatibility ladder and CSS layout fixes 2 тижнів тому
019-right-bottom.html 83b7c0adab Add a browser compatibility ladder and CSS layout fixes 2 тижнів тому
020-table-span.html 83b7c0adab Add a browser compatibility ladder and CSS layout fixes 2 тижнів тому
021-table-percent.html 83b7c0adab Add a browser compatibility ladder and CSS layout fixes 2 тижнів тому
022-flex-align.html 83b7c0adab Add a browser compatibility ladder and CSS layout fixes 2 тижнів тому
023-calc.html 83b7c0adab Add a browser compatibility ladder and CSS layout fixes 2 тижнів тому
024-nested-em.html 83b7c0adab Add a browser compatibility ladder and CSS layout fixes 2 тижнів тому
025-nowrap.html 83b7c0adab Add a browser compatibility ladder and CSS layout fixes 2 тижнів тому
026-transform.html 83b7c0adab Add a browser compatibility ladder and CSS layout fixes 2 тижнів тому
027-sticky.html 83b7c0adab Add a browser compatibility ladder and CSS layout fixes 2 тижнів тому
028-background-image.html 83b7c0adab Add a browser compatibility ladder and CSS layout fixes 2 тижнів тому
029-float-percent.html 83b7c0adab Add a browser compatibility ladder and CSS layout fixes 2 тижнів тому
030-rowspan.html e0e19e2b34 Add browser rect queries, table rowspan and form controls 2 тижнів тому
030a-rect.html e0e19e2b34 Add browser rect queries, table rowspan and form controls 2 тижнів тому
031-percent-padding.html e0e19e2b34 Add browser rect queries, table rowspan and form controls 2 тижнів тому
032-float-wrap.html cd973a81ad Add browser float wrapping and live form state 2 тижнів тому
033-forms.html e0e19e2b34 Add browser rect queries, table rowspan and form controls 2 тижнів тому
034-form-submit.html e0e19e2b34 Add browser rect queries, table rowspan and form controls 2 тижнів тому
035-form-js.html cd973a81ad Add browser float wrapping and live form state 2 тижнів тому
036-form-events.html fe2677f050 Add browser form events and POST submission 2 тижнів тому
036a-post.html fe2677f050 Add browser form events and POST submission 2 тижнів тому
037-font-face.html 05c59ad9d6 Add browser @font-face support 2 тижнів тому
038-background-props.html 6874d1fcaf Add browser background repeat, position and size 2 тижнів тому
039-transform-scale-rotate.html e0f0991d57 Add browser transform scale and rotate 2 тижнів тому
040-sticky-bottom.html f502cad228 Add browser sticky bottom and containing-block clamp 2 тижнів тому
041-calc-boxes.html e20b0b1ed4 Add browser calc margins, padding and box sizes 2 тижнів тому
042-computed-style.html 0436dba5ea Add browser getComputedStyle values 2 тижнів тому
043-relative-zindex.html 9f71f20446 Add browser relative z-index and overflow clipping 2 тижнів тому
044-overflow-hidden.html 9f71f20446 Add browser relative z-index and overflow clipping 2 тижнів тому
045-bgcolor.html 1324c4c402 Add browser legacy bgcolor attributes 2 тижнів тому
046-flex-footer-query.html 8552c0aa9a Fix browser page background, flex footer and query selectors 2 тижнів тому
README 8552c0aa9a Fix browser page background, flex footer and query selectors 2 тижнів тому
TILE.PNG 6874d1fcaf Add browser background repeat, position and size 2 тижнів тому
TILE90.PNG e0f0991d57 Add browser transform scale and rotate 2 тижнів тому
index.html 8552c0aa9a Fix browser page background, flex footer and query selectors 2 тижнів тому
post_server.py fe2677f050 Add browser form events and POST submission 2 тижнів тому

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-046 and 030a pass. 036a needs the POST echo server:

python3 testdata/browser/compat/post_server.py
browser /floppy1/036a.htm # action is http://10.0.2.2:8765/echo

Still missing from the ladder: 3D/perspective transforms and transformed
text/descendants.

Rules for new pages:
- one behaviour per page;
- no network assets outside this directory (036a is the one explicit
POST test and documents its server);
- pages up to 034 are static; 035-037 use JavaScript and assert their own
PASS/FAIL line;
- 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.