From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Jun 27 03:50:08 2010 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C969E1065679 for ; Sun, 27 Jun 2010 03:50:08 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 912C68FC27 for ; Sun, 27 Jun 2010 03:50:08 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o5R3o8S1002132 for ; Sun, 27 Jun 2010 03:50:08 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o5R3o82E002131; Sun, 27 Jun 2010 03:50:08 GMT (envelope-from gnats) Resent-Date: Sun, 27 Jun 2010 03:50:08 GMT Resent-Message-Id: <201006270350.o5R3o82E002131@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Romain Tartiere Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4C447106564A for ; Sun, 27 Jun 2010 00:08:16 +0000 (UTC) (envelope-from romain@blogreen.org) Received: from marvin.blogreen.org (unknown [IPv6:2a01:e35:2f7d:58c0::2]) by mx1.freebsd.org (Postfix) with ESMTP id CE1908FC13 for ; Sun, 27 Jun 2010 00:08:15 +0000 (UTC) Received: by marvin.blogreen.org (Postfix, from userid 1001) id A2DD0C6EB; Sun, 27 Jun 2010 02:08:14 +0200 (CEST) Message-Id: <20100627000814.A2DD0C6EB@marvin.blogreen.org> Date: Sun, 27 Jun 2010 02:08:14 +0200 (CEST) From: Romain Tartiere To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/148182: [patch] Font-size in www/webkit-gtk2 error template. X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Romain Tartiere List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Jun 2010 03:50:08 -0000 >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%%; } --- patch-WebKit_gtk_resources_error.html ends here --- >Release-Note: >Audit-Trail: >Unformatted: