Re: line numbers as links in warning messages?

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 UTC