Found by the new headless e2e harness during a smoke pass. Several user-agent stylesheet defaults are missing or wrong.
Symptoms#
Reproduce: cargo run -p we-e2e -- --url crates/e2e/pages/01_basic.html --out /tmp/01.png
See screenshot crates/e2e/artifacts/01_basic.png.
-
<body>has no default margin. Content is glued to x=0, y=0. Per CSS UA defaults, body should havemargin: 8px. Visible on virtually every page rendered without explicit body styling. -
<ul>/<ol>render no bullets / numbers and have no left padding. Items appear flush-left as plain lines. -
<strong>is not bold and<em>is not italic. Inline text uses the same weight/style as surrounding text. -
<pre>does not preserve whitespace. Sourcepreblocks render with collapsed spaces and joined lines instead ofwhite-space: pre. Seecrates/e2e/artifacts/03_typography.png.
Repro#
cargo run -p we-e2e -- --scenario crates/e2e/scenarios/smoke.we --out-dir crates/e2e/artifacts
Acceptance#
UA stylesheet (or the equivalent in we_style) populates these defaults so the smoke test renders body content with proper margin and inline emphasis renders with the expected weight/style.