W3C home > Mailing lists > Public > www-validator-css@w3.org > October 2008

Re: line numbers as links in warning messages?

From: Paul Arzul <paul.arzul@gmail.com>
Date: Thu, 9 Oct 2008 19:10:15 +0200
Message-ID: <423830b0810091010i7d3953ffx333a5cfe7fa40671@mail.gmail.com>
To: www-validator-css@w3.org

2008/9/12 olivier Thereaux <ot@w3.org>:
>
> Hi Anthony,
>
> On 10-Sep-08, at 4:43 PM, Anthony Ettinger wrote:
>>
>> I think the line numbers next to the warning messages should jump down
>> to their appropriate line number in the full code at the bottom.
>
> Yes, that would make sense if the full code at the bottom was a direct copy
> of the existing stylesheet, but in fact, it is a concatenation and cleanup
> of all the styles found inline, in imported sheets, etc. The cleanup is
> fairly useful, but it also means that lines in the output and in the input
> are no longer related at all.

the error and warning tables have no headers. should probably read for errors:

Line, Selector, Error

and for warnings:

Line, Warning

or

<thead>
    <tr>
        <th>Line</th>
        <th>Selector</th>
        <th>Error</th>
    </tr>
</thead>

etc

it seems rather odd that we provide line numbers but without any html
source excerpted for context - this is really useful for understanding
and finding the problem; i think the html validator does this.

- p
Received on Thursday, 9 October 2008 17:10:56 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 27 June 2012 00:14:21 GMT