browser: define known 0% score markers
authorMischa POSLAWSKY <perl@shiar.org>
Sun, 3 Apr 2016 21:49:29 +0000 (23:49 +0200)
committerMischa POSLAWSKY <perl@shiar.org>
Wed, 22 Mar 2017 21:28:03 +0000 (22:28 +0100)
Same results (undefined is also counted as 0) but allows spotting undeclared
classes by checking for existence.

browser.plp

index eb7e0d0bf7dab0d01c0877dcad2db904aef01c14..f8b20a9eeab7726a483fc05444300038dbd48b8e 100644 (file)
@@ -69,6 +69,7 @@ my %PSTATS = (  # score percentage
        a => .5, 'a x' => .5, 'a d' => .1,
        j => .2, 'p j' => .2, 'n d' => .2, 'n x d' => .2,
        p => .2, 'p p' => .2, 'p d' => .1,
+       n => 0,   u => 0,
 );
 my %CSTATUS = (
        unoff => 'l1', # unofficial