From db0fc5a55e797044c5e404f301f12dba9969e4d8 Mon Sep 17 00:00:00 2001 From: bptato Date: Tue, 15 Oct 2024 17:21:57 +0200 Subject: css: add reverse video extension Called -cha-reverse. Mostly to solve the problem that code tags are indistinguishable from regular text - on a graphical browser this is normally served by monospace font, but we always use monospace... So now the default ua.css adds reverse video to code and xmp. pre remains as it was, because it means "preformatted", not "monospaced". Also, it would mess with our whatever-to-HTML converter output. --- src/css/cssvalues.nim | 1 + 1 file changed, 1 insertion(+) (limited to 'src/css/cssvalues.nim') diff --git a/src/css/cssvalues.nim b/src/css/cssvalues.nim index 03543576..74e97aa5 100644 --- a/src/css/cssvalues.nim +++ b/src/css/cssvalues.nim @@ -188,6 +188,7 @@ type TextDecorationOverline = "overline" TextDecorationLineThrough = "line-through" TextDecorationBlink = "blink" + TextDecorationReverse = "-cha-reverse" CSSWordBreak* = enum WordBreakNormal = "normal" -- cgit 1.4.1-2-gfad0