adjust search-page sizing of 'provided from' to use a CSS entry, which scales by the magic 82% instead of 80% (because 80% drops just below the threshold of anti-aliasing the default monospace font in Safari)

svn: r10036
This commit is contained in:
Matthew Flatt 2008-05-30 13:25:54 +00:00
parent 85f636d072
commit a78bf662b2
5 changed files with 14 additions and 6 deletions

View File

@ -315,7 +315,7 @@ several known ways:
(>= #f "r6rs-Z-H-14.html" "node_idx_472") (>= #f "r6rs-Z-H-14.html" "node_idx_472")
(abs #f "r6rs-Z-H-14.html" "node_idx_506") (abs #f "r6rs-Z-H-14.html" "node_idx_506")
(acos #f "r6rs-Z-H-14.html" "node_idx_554") (acos #f "r6rs-Z-H-14.html" "node_idx_554")
(and #f "r6rs-Z-H-14.html" "node_idx_388") (and #t "r6rs-Z-H-14.html" "node_idx_388")
(angle #f "r6rs-Z-H-14.html" "node_idx_576") (angle #f "r6rs-Z-H-14.html" "node_idx_576")
(append #f "r6rs-Z-H-14.html" "node_idx_634") (append #f "r6rs-Z-H-14.html" "node_idx_634")
(apply #f "r6rs-Z-H-14.html" "node_idx_752") (apply #f "r6rs-Z-H-14.html" "node_idx_752")
@ -418,7 +418,7 @@ several known ways:
(number? #f "r6rs-Z-H-14.html" "node_idx_440") (number? #f "r6rs-Z-H-14.html" "node_idx_440")
(numerator #f "r6rs-Z-H-14.html" "node_idx_524") (numerator #f "r6rs-Z-H-14.html" "node_idx_524")
(odd? #f "r6rs-Z-H-14.html" "node_idx_480") (odd? #f "r6rs-Z-H-14.html" "node_idx_480")
(or #f "r6rs-Z-H-14.html" "node_idx_390") (or #t "r6rs-Z-H-14.html" "node_idx_390")
(pair? #f "r6rs-Z-H-14.html" "node_idx_608") (pair? #f "r6rs-Z-H-14.html" "node_idx_608")
(positive? #f "r6rs-Z-H-14.html" "node_idx_476") (positive? #f "r6rs-Z-H-14.html" "node_idx_476")
(procedure? #f "r6rs-Z-H-14.html" "node_idx_342") (procedure? #f "r6rs-Z-H-14.html" "node_idx_342")

View File

@ -456,6 +456,10 @@ i {
margin-right: 0.3em; margin-right: 0.3em;
} }
.smaller{
font-size: 82%;
}
/* A hack, inserted to break some Scheme ids: */ /* A hack, inserted to break some Scheme ids: */
.mywbr { .mywbr {
width: 0; width: 0;

View File

@ -284,8 +284,8 @@
desc += (j==0 ? "" : ", " ) desc += (j==0 ? "" : ", " )
+ '<span class="schememod">' + libs[j] + '</span>'; + '<span class="schememod">' + libs[j] + '</span>';
desc = '&nbsp;&nbsp;' desc = '&nbsp;&nbsp;'
+ '<span style="font-size: 80%;">' + '<span class="smaller">'
+ '<span style="font-size: 80%;">provided from</span> ' + '<span class="smaller">provided from</span> '
+ desc + '</span>'; + desc + '</span>';
} }
result_links[i].innerHTML = result_links[i].innerHTML =

View File

@ -195,7 +195,8 @@
(for ([i infos] (for ([i infos]
#:when (not (or (info-need-run? i) (not (info-build? i))))) #:when (not (or (info-need-run? i) (not (info-build? i)))))
(let ([ch (ormap (lambda (i2) (let ([ch (ormap (lambda (i2)
(and (>= (info-out-time i2) (info-time i)) i2)) (or (not (info? i2))
(and (>= (info-out-time i2) (info-time i)) i2)))
(info-deps i))]) (info-deps i))])
(when ch (when ch
(when (verbose) (when (verbose)

View File

@ -104,7 +104,10 @@
(define (check-test expr got expected) (define (check-test expr got expected)
(set! checked (+ 1 checked)) (set! checked (+ 1 checked))
(unless (equal? got expected) (unless (if (and (real? expected)
(nan? expected))
(nan? got)
(equal? got expected))
(set! failures (set! failures
(cons (list expr got expected) (cons (list expr got expected)
failures)))) failures))))