we (web engine): Experimental web browser project to understand the limits of Claude
2
fork

Configure Feed

Select the types of activity you want to include in your feed.

Anchor text-decoration: underline breaks per-word instead of continuous #195

open opened by pierrelf.com

Found by headless e2e smoke pass. Inside an <a> element, the underline restarts at each word boundary; each whitespace-separated word is underlined separately with a gap between them, instead of a continuous underline across the whole link text.

Repro#

cargo run -p we-e2e -- --url crates/e2e/pages/10_links.html --out /tmp/links.png

See crates/e2e/artifacts/10_links.png: "External link" renders as "External" underlined, a visible gap of whitespace (not underlined), then "link" underlined. Same for every multi-word anchor.

Likely cause#

Text-decoration is drawn per inline text run (one segment per word). Spaces between runs do not receive the decoration.

Acceptance#

Underlined anchor text shows a continuous underline across the entire anchor, including over whitespace between words. Same fix should apply uniformly when (separate ticket) line-through is implemented.

sign up or login to add to the discussion
Labels

None yet.

assignee

None yet.

Participants 1
AT URI
at://did:plc:meotu43t6usg4qdwzenk4s2t/sh.tangled.repo.issue/3mlyabtu4z72k