README 1.4 KB

123456789101112131415161718192021222324252627282930313233343536
  1. NebOS browser compatibility ladder
  2. =================================
  3. One page per behaviour. Each failing page is a small, isolated test:
  4. left pane (A) uses the feature under test
  5. right pane (B) produces the same result with primitives that already work
  6. When the two panes look identical the feature is correct. Later the panes can
  7. be screenshotted and diffed automatically because they are at fixed offsets.
  8. Serve this directory from the host and open it on the board:
  9. make compat-serve
  10. # or: python3 -m http.server -d testdata/browser/compat 8000
  11. browser http://<host>:8000/ # board
  12. browser http://10.0.2.2:8000/ # QEMU with -netdev user
  13. Status: 010-045 and 030a pass. 036a needs the POST echo server:
  14. python3 testdata/browser/compat/post_server.py
  15. browser /floppy1/036a.htm # action is http://10.0.2.2:8765/echo
  16. Still missing from the ladder: 3D/perspective transforms and transformed
  17. text/descendants.
  18. Rules for new pages:
  19. - one behaviour per page;
  20. - no network assets outside this directory (036a is the one explicit
  21. POST test and documents its server);
  22. - pages up to 034 are static; 035-037 use JavaScript and assert their own
  23. PASS/FAIL line;
  24. - explicit white background and dark text;
  25. - page chrome uses only primitives introduced earlier in the ladder;
  26. - keep the two panes at fixed offsets: floats with explicit px widths.