sosieversion Documentation on ocaml.org

DOM equivalence checker for UI-conservative HTML/CSS refactoring

sosie answers whether an HTML/CSS refactoring changed the visual output. It captures the resolved layout and style tree of a page from a real browser using standard Web APIs (getBoundingClientRect, getComputedStyle) and compares two captures structurally. Unlike pixel diffing it is immune to subpixel/GPU/font-rendering noise; unlike CSS diffing it compares rendered effect rather than source. The design prioritises trustworthiness: missed regressions are fatal, spurious diffs are tolerable, and an explicit property whitelist is the trust boundary.

AuthorCuihtlauac Alvarado <cuihtlauac@tarides.com>
LicenseMIT
Published
Homepagehttps://github.com/cuihtlauac/sosie
Issue Trackerhttps://github.com/cuihtlauac/sosie/issues
MaintainerCuihtlauac Alvarado <cuihtlauac@tarides.com>
Dependencies
Source [http] https://github.com/cuihtlauac/sosie/archive/refs/tags/v0.1.2.tar.gz
md5=199782a06197155221af65895bdd0efe
sha512=167cba8eefd621da19b205838541dda80027798520fb50e4af48b1ed715cccb57939a961a39e378a67852db1a8cdb4c86ffc48652779f67b5096450914a8d72f
Edithttps://github.com/ocaml/opam-repository/tree/master/packages/sosie/sosie.0.1.2/opam
No package is dependent