X-Git-Url: http://git.shiar.net/sheet.git/blobdiff_plain/9dd7b1b37f9b31ca95965d2a41808771d0863053..2ae4ccbb6ac3ce310890beef55fda11f670772bb:/browser.plp?ds=inline diff --git a/browser.plp b/browser.plp index afad32c..3f7b6f8 100644 --- a/browser.plp +++ b/browser.plp @@ -9,7 +9,7 @@ Html({ description => "caniuse.", keywords => [qw'html css browser feature'], - stylesheet => [qw'circus dark mono red'], + stylesheet => [qw'circus dark mono red light'], data => ['browser-support.inc.pl'], }); @@ -147,7 +147,11 @@ for my $id (sort { printf '%s', join(' ', X => $CSTATS{ $data->{$browser}->{$prev} }, - sprintf('opacity%.0f', $usage / $scorediv), + !$usage ? ('p0') : ('p', + sprintf('p%01d', $usage / 10), + sprintf('p%02d', $usage), + ), + sprintf('pp%02d', $usage / $scorediv), ), scalar @span, $usage, @@ -183,19 +187,6 @@ sub showversions { } :> -
@@ -207,6 +198,16 @@ alert(t); missing +
+ Usage percentage: + 0 - + .01 - + 1-9 - + 10 - + 20 - + majority +
+