Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Jun 2010 02:08:14 +0200 (CEST)
From:      Romain Tartiere <romain@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/148182: [patch] Font-size in www/webkit-gtk2 error template.
Message-ID:  <20100627000814.A2DD0C6EB@marvin.blogreen.org>
Resent-Message-ID: <201006270350.o5R3o82E002131@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         148182
>Category:       ports
>Synopsis:       [patch] Font-size in www/webkit-gtk2 error template.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jun 27 03:50:08 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Romain Tartiere
>Release:        FreeBSD 8.1-PRERELEASE amd64
>Organization:
>Environment:
System: FreeBSD marvin.blogreen.org 8.1-PRERELEASE FreeBSD 8.1-PRERELEASE #8 r208589M: Thu May 27 16:46:25 CEST 2010 root@marvin.blogreen.org:/usr/obj/usr/src/sys/MARVIN amd64


	
>Description:

The www/webkit-gtk2 port install an html file displayed when an error is encountered.  The font-size used in this page is so big the error message is painful to read.  The CSS code gets mangled from the file and font-size is set to '120' instead of '120%', resulting in a rendering using HUGE fonts (%s is replaced by the URL, but invalid %X or just removed, so replacing these 'malformed' '%' with '%%' fix the problem).

>How-To-Repeat:
Install www/epiphany and browse an inexistent URL, e.g.
http://show-me-a-big-font.com

>Fix:

This is purely cosmetic, but here is a patch:

--- patch-WebKit_gtk_resources_error.html begins here ---

$FreeBSD$

--- WebKit/gtk/resources/error.html.orig
+++ WebKit/gtk/resources/error.html
@@ -21,12 +21,12 @@
 }
 
 #errorTitleText {
- font-size: 120%;
+ font-size: 120%%;
  font-weight: bold;
 }
 
 #errorMessageText {
- font-size: 80%;
+ font-size: 80%%;
 }
 
 </style>
--- patch-WebKit_gtk_resources_error.html ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100627000814.A2DD0C6EB>