[PATCH 3/4] lib: fwts_log_html: tweak style and table format

IvanHu ivan.hu at canonical.com
Wed Jun 6 04:12:37 UTC 2012


On 05/31/2012 08:42 PM, Colin King wrote:
> From: Colin Ian King<colin.king at canonical.com>
>
> Signed-off-by: Colin Ian King<colin.king at canonical.com>
> ---
>   src/lib/src/fwts_log_html.c |    5 +++--
>   1 file changed, 3 insertions(+), 2 deletions(-)
>
> diff --git a/src/lib/src/fwts_log_html.c b/src/lib/src/fwts_log_html.c
> index 25f81ef..d293dbc 100644
> --- a/src/lib/src/fwts_log_html.c
> +++ b/src/lib/src/fwts_log_html.c
> @@ -266,11 +266,12 @@ static void fwts_log_open_html(fwts_log *log)
>   		"text-align: center; vertical-align: center }\n"
>   		".style_subtest { background-color: lightgray; }\n"
>   		".style_info { }\n"
> -		".style_code { font-family=sans-mono; line-height: 70% }\n");
> +		".style_code { font-family: \"courier\",\"mono\"; font-size:0.75em; overflow:auto; "
> +		"width:90%; line-height:0.82em; font-stretch:extra-condensed; word-wrap:normal }\n");
>   	fwts_log_html(log, "</STYLE>\n");
>   	fflush(log->fp);
>
> -	fwts_log_html(log, "<TABLE>\n");
> +	fwts_log_html(log, "<TABLE WIDTH=1024>\n");
>   	fwts_log_html(log, "</TR>\n");
>
>   	fwts_log_section_begin_html(log, "fwts");
Acked-by: Ivan Hu<ivan.hu at canonical.com>




More information about the fwts-devel mailing list