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.

text-decoration: line-through not rendered (only underline works) #191

open opened by pierrelf.com

Found by headless e2e smoke pass. text-decoration: line-through (and overline) is not painted; only underline shows up.

Repro#

cargo run -p we-e2e -- --url crates/e2e/pages/03_typography.html --out /tmp/typo.png

See crates/e2e/artifacts/03_typography.png: the underlined span renders correctly, the .strike span renders as plain text with no strike line.

Source#

crates/style/computed/TextDecoration exposes the value, but the renderer (crates/render/src/lib.rs) only paints the underline variant.

Acceptance#

text-decoration: line-through paints a horizontal line at the text x-height (mid-line), and text-decoration: overline paints above the text. Both should match the text-decoration-color (or color) of the element. Unit test in we-render covers all three variants.

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/3mlyaaog4lh2z