README 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839
  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-054 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. 047 is a two-part check: the top shows SCRIPT-OK, and after pressing End the
  17. blue footer must show SCROLL-OK (it proves the 100%-height page is scrollable).
  18. Still missing from the ladder: 3D/perspective transforms and transformed
  19. text/descendants.
  20. Rules for new pages:
  21. - one behaviour per page;
  22. - no network assets outside this directory (036a is the one explicit
  23. POST test and documents its server);
  24. - pages up to 034 are static; 035-037 use JavaScript and assert their own
  25. PASS/FAIL line;
  26. - explicit white background and dark text;
  27. - page chrome uses only primitives introduced earlier in the ladder;
  28. - keep the two panes at fixed offsets: floats with explicit px widths.