W3C home > Mailing lists > Public > public-html@w3.org > December 2014

Re: th role mapping details - for review

From: Alexander Surkov <surkov.alexander@gmail.com>
Date: Mon, 29 Dec 2014 10:30:26 -0500
Message-ID: <CA+epNsf3Jg0y2_3Nmr8OLzu0g9R1DyZe16fn_KCYVryxKdWByw@mail.gmail.com>
To: Julie Jeongeun Kim <je00julie.kim@gmail.com>
Cc: Joseph Scheuhammer <clown@alum.mit.edu>, Steve Faulkner <faulkner.steve@gmail.com>, "W3C WAI Protocols & Formats" <public-pfwg@w3.org>, Marco Zehe <mzehe@mozilla.com>, HTMLWG WG <public-html@w3.org>, Dominic Mazzoni <dmazzoni@chromium.org>, David Bolter <dbolter@mozilla.com>
Hi, Julie. Is your wording different from the wording I gave for current
Firefox algorithm? It was:

* if header is preceded by header cells then it's a column header, if it is
preceded by cells then it's a row header
* if header is followed by header cells then it's a column header, if it is
followed by cells then it's a row header

On Mon, Dec 29, 2014 at 10:22 AM, Julie Jeongeun Kim <
je00julie.kim@gmail.com> wrote:

> Hi Alexsander,
> Sorry for causing confusion.
> Here is correction.
>
> First we can check the previous cell.
> * if header is preceded by header cells then it's a column header,
> if it is preceded by cells then it's a row header
> We can cover cases except case 1), case 4), case 5) and case 7) because
> they have header cells at row index 0.
>
> And then,
> * if header has no previous cell (row index is 0) then we can check the
> next cell.
>     if header is followed by header cells then it's a column header,
>     if it is followed by cells then it's a row header
> We can cover case 1,4,5 and 7 without breaking others.
>
> What do you think?
>
> 2014-12-29 23:50 GMT+09:00 Alexander Surkov <surkov.alexander@gmail.com>:
>
>> Hi, Julie. I'm confused by terms.
>>
>> On Fri, Dec 26, 2014 at 1:04 AM, Julie Jeongeun Kim <
>> je00julie.kim@gmail.com> wrote:
>>
>>> Hi Alexander,
>>>
>>> First we can check the previous cell.
>>> * if header is followed by header cells then it's a column header,
>>>
>>
>> did you mean "preceded" rather than "followed" here?
>>
>>
>>> if it is followed by cells then it's a row header
>>> We can cover cases except case 4), case 5) and case 7) because they have
>>> header cells at row index 0.
>>>
>>> And then,
>>> * if header has no previous cell (row index is 0) then we can check the
>>> next cell.
>>>     if header is preceded by header cells then it's a column header,
>>>     if it is preceded by cells then it's a row header
>>>
>>> We can cover case 4,5 and 7 without breaking others.
>>> What do you think?
>>>
>>> 2014-12-24 23:33 GMT+09:00 Alexander Surkov <surkov.alexander@gmail.com>
>>> :
>>>
>>>> Hi, Julie. That was just an algorithm, it's not necessary perfect, and
>>>> probably wasn't even designed keeping in mind edge cases. I think we should
>>>> do what's reasonable. What do you think we should do for case 6?
>>>>
>>>> On Thu, Dec 18, 2014 at 7:32 PM, Julie Jeongeun Kim <
>>>> je00julie.kim@gmail.com> wrote:
>>>>
>>>>> Thanks for your detail description.
>>>>> Your description covers generally all cases.
>>>>> But I'm not clear about the case 4 and the case 6.
>>>>> The case 4 and the case 6 are similar.
>>>>>
>>>>> Case 4)
>>>>> The first th is column header role because it is preceded by header
>>>>> cell as you described.
>>>>>
>>>>> Case 6)
>>>>> The first th is row header role even though it is preceded by header
>>>>> cell.
>>>>>
>>>>> Did I miss something?
>>>>>
>>>>> Thanks,
>>>>> Julie
>>>>>
>>>>>
>>>>> 2014-12-19 1:05 GMT+09:00 Alexander Surkov <surkov.alexander@gmail.com
>>>>> >:
>>>>>>
>>>>>> sure :)
>>>>>>
>>>>>> On Thu, Dec 18, 2014 at 9:28 AM, Joseph Scheuhammer <
>>>>>> clown@alum.mit.edu> wrote:
>>>>>>>
>>>>>>> On 2014-12-18 9:15 AM, Alexander Surkov wrote:
>>>>>>>
>>>>>>>> Here's correction.
>>>>>>>> * if header is preceded by header cells then it's a column header,
>>>>>>>> if it is preceded by cells then it's a raw header
>>>>>>>> * if header is followed by header cells then it's a column header,
>>>>>>>> if it is followed by cells then it's a raw header
>>>>>>>>
>>>>>>>
>>>>>>> You mean "row" header, not "raw" header, right?
>>>>>>>
>>>>>>> --
>>>>>>> ;;;;joseph.
>>>>>>>
>>>>>>> 'Array(16).join("wat" - 1) + " Batman!"'
>>>>>>>            - G. Bernhardt -
>>>>>>>
>>>>>>>
>>>>
>>>
>>
>
Received on Monday, 29 December 2014 15:31:01 UTC

This archive was generated by hypermail 2.4.0 : Saturday, 9 October 2021 18:46:11 UTC