aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2024-12-29 22:22:11 +0100
committerbptato <nincsnevem662@gmail.com>2024-12-29 22:24:46 +0100
commit4c67a38c71d170b55f6d62a1a38cb2050a360a31 (patch)
tree90afd8887b2a3e5cc3a1c7c52849aee1d34d0150 /test
parent7d647f04bfbb3550ac508ec94799e1b18a8d2f69 (diff)
downloadchawan-4c67a38c71d170b55f6d62a1a38cb2050a360a31.tar.gz
cssvalues: fix font-weight parsing
you can't bisearch an unsorted map... (also, turn on text styling for colored layout tests because it would have caught this)
Diffstat (limited to 'test')
-rw-r--r--test/layout/acid1.color.expected2
-rw-r--r--test/layout/config.color.toml1
2 files changed, 2 insertions, 1 deletions
diff --git a/test/layout/acid1.color.expected b/test/layout/acid1.color.expected
index f38e5f58..f4eabf5f 100644
--- a/test/layout/acid1.color.expected
+++ b/test/layout/acid1.color.expected
@@ -1,7 +1,7 @@
 
  
    
-   toggle        
+   toggle        
     the way   the world ends   i grow old  
       bang ( )    
       whimper ( )    
diff --git a/test/layout/config.color.toml b/test/layout/config.color.toml
index 4b5e999c..bebb411d 100644
--- a/test/layout/config.color.toml
+++ b/test/layout/config.color.toml
@@ -2,3 +2,4 @@ include = "config.toml"
[display]
color-mode = 'true-color'
+format-mode = ["bold", "italic", "underline", "reverse", "strike"]