[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kfm-devel
Subject:    Re: Fwd: KFM Ver. 1.167.2.11 Render of HTML Table Caption Anchor
From:       Tobias Anton <anton () stud ! fbi ! fh-darmstadt ! de>
Date:       2000-07-04 15:30:28
[Download RAW message or body]

Sorry, there is rendering code, but in my installation, nothing is
rendered.
Tobias.

Tobias Anton wrote:

> David Faure wrote:
>
>> What's an HTML caption statement in a table ?
>
> W3C HTML4 Element definition:
>
> 11.2.2 Table Captions: The CAPTION element
>
>          <!ELEMENT CAPTION  - - (%inline;)*     -- table caption -->
>          <!ATTLIST CAPTION  %attrs; -- %coreattrs, %i18n, %events -->
>
>         Start tag: required, End tag: required
>
>         Attribute definitions
>
>         align = top|bottom|left|right [CI]
>             Deprecated. For visual user agents, this attribute
> specifies the position of the caption
>              with respect to the table.
>              Possible values:
>                  top: The caption is at the top of the table. This is
> the default value.
>                  bottom: The caption is at the bottom of the table.
>                  left: The caption is at the left of the table.
>                  right: The caption is at the right of the table.
>
>         Attributes defined elsewhere
>
>              id, class (document-wide identifiers)
>              lang (language information), dir (text direction)
>              title (element title)
>              style (inline style information )
>              onclick, ondblclick, onmousedown, onmouseup, onmouseover,
>
>              onmousemove, onmouseout, onkeypress, onkeydown,
>              onkeyup (intrinsic events )
>
>         When present, the CAPTION element's text should describe the
> nature of the table.
>         The CAPTION element is only permitted immediately after the
> TABLE start tag.
>         A TABLE element may only contain one CAPTION element.
>
>         Visual user agents allow sighted people to quickly grasp the
> structure of the table
>         from the headings as well as the caption. A consequence of
> this is that captions will
>         often be inadequate as a summary of the purpose and structure
> of the table from
>         the perspective of people relying on non-visual user agents.
>
>         Authors should therefore take care to provide additional
> information summarizing
>         the purpose and structure of the table using the summary
> attribute of the TABLE
>         element. This is especially important for tables without
> captions. Examples below
>         illustrate the use of the summary attribute.
>
>         Visual user agents should avoid clipping any part of the table
> including the caption,
>         unless a means is provided to access all parts, e.g., by
> horizontal or vertical scrolling.
>         We recommend that the caption text be wrapped to the same
> width as the table.
>         (See also the section on recommended layout algorithms.)
>
> There is code in the DOM for adding the caption to a table, and also
> in the rendering engine
> to create an according object, but it seems the table doesn`t make
> this object render itself.
> So, some code needs to be added to renderTable::print that takes care
> for captions.
> Unfortunately, the rendering code for tables is fairly complex, so
> that i didn't find the problem
> at a glance. Antti was the last maintainer, probably he knows a bit
> more...
>
>>
>> ----- Forwarded message from William F Bishop
>> <wbishop@mlug.missouri.edu> -----
>>
>> From: William F Bishop <wbishop@mlug.missouri.edu>
>> To: David Faure <faure@kde.org>
>> Subject: KFM Ver. 1.167.2.11 Render of HTML Table Caption Anchor
>> Statement
>> Date:   Tue, 4 Jul 2000 09:21:18 -0500
>> Cc: William F Bishop <wbishop@mlug.missouri.edu>
>>
>> David Faure,  I'm using Red Hat Linux 6.0 installed on an i486
>> computer.  And am
>> using KFM Ver. 1.167.2.11 and looking at one of my website webpages
>> at URL
>> http://mlug.missouri.edu/~wbishop/websites.php3 where I have an HTML
>> caption
>> statement in a table.  The HTML caption statement as obtained from
>> View/ViewDocumentSource is as follows:
>>
>> <caption align=top><font size="+1"><b><i>Websites of Interest
>> &nbsp;&nbsp;&nbsp;
>> <a href="website2.php3">more...</a></i></b></font></caption>
>>
>> KFM renders the anchor as "more..." in italics, bold and underlined
>> but when I
>> move my mouse cursor to point to the link, the link is not
>> recognized as a
>> link.  Am wondering if maybe having a link inside an HTML table
>> caption
>> statement is not being handling properly by KFM?  The "more..."
>> anchor works
>> with Netscape Navigator, Internet Explorer and Opera.  In fact the
>> KFM effect
>> is the first time I have noticed anything wrongly rendered with the
>> "more..."
>> link.   I don't know if this may be corrected with a later version
>> of Red Hat
>> Linux and KFM.  At this time I'm not aware that the syntax of the
>> caption
>> statement is wrong.  Just thought you might like to know about what
>> I have
>> observed.       Bill Bishop     wbishop@mlug.missouri.edu
>>
>> ----- End forwarded message -----
>>
>> --
>> David FAURE
>> david@mandrakesoft.com, faure@kde.org
>> http://home.clara.net/faure/, http://www.konqueror.org/
>> KDE, Making The Future of Computing Available Today
>
> --
> In a world without walls and fences,
> who needs Windows and Gates?
>

[Attachment #3 (text/html)]

<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
Sorry, there is rendering code, but in my installation, nothing is rendered.
<br>Tobias.
<p>Tobias Anton wrote:
<blockquote TYPE=CITE>David Faure wrote:
<blockquote TYPE=CITE>What's an HTML caption statement in a table ?</blockquote>
W3C HTML4 Element definition:
<p>11.2.2 Table Captions: The CAPTION element
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;!ELEMENT CAPTION&nbsp;
- - (%inline;)*&nbsp;&nbsp;&nbsp;&nbsp; -- table caption -->
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;!ATTLIST CAPTION&nbsp;
%attrs; -- %coreattrs, %i18n, %events -->
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Start tag: required, End
tag: required
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Attribute definitions
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; align = top|bottom|left|right
[CI]
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<b>Deprecated</b>. For visual user agents, this attribute specifies the
position of the caption
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
with respect to the table.
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Possible values:
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                
top: The caption is at the top of the table. This is the default value.
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                
bottom: The caption is at the bottom of the table.
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                
left: The caption is at the left of the table.
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                
right: The caption is at the right of the table.
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Attributes defined elsewhere
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
id, class (document-wide identifiers)
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
lang (language information), dir (text direction)
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
title (element title)
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
style (inline style information )
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
onclick, ondblclick, onmousedown, onmouseup, onmouseover,
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
onmousemove, onmouseout, onkeypress, onkeydown,
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
onkeyup (intrinsic events )
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; When present, the CAPTION
element's text should describe the nature of the table.
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; The CAPTION element is only
permitted immediately after the TABLE start tag.
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; A TABLE element may only
contain one CAPTION element.
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Visual user agents allow
sighted people to quickly grasp the structure of the table
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from the headings as well
as the caption. A consequence of this is that captions will
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; often be inadequate as a
summary of the purpose and structure of the table from
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; the perspective of people
relying on non-visual user agents.
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Authors should therefore
take care to provide additional information summarizing
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; the purpose and structure
of the table using the summary attribute of the TABLE
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; element. This is especially
important for tables without captions. Examples below
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; illustrate the use of the
summary attribute.
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Visual user agents should
avoid clipping any part of the table including the caption,
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; unless a means is provided
to access all parts, e.g., by horizontal or vertical scrolling.
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; We recommend that the caption
text be wrapped to the same width as the table.
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (See also the section on
recommended layout algorithms.)
<p>There is code in the DOM for adding the caption to a table, and also
in the rendering engine
<br>to create an according object, but it seems the table doesn`t make
this object render itself.
<br>So, some code needs to be added to renderTable::print that takes care
for captions.
<br>Unfortunately, the rendering code for tables is fairly complex, so
that i didn't find the problem
<br>at a glance. Antti was the last maintainer, probably he knows a bit
more...
<blockquote TYPE=CITE>&nbsp;
<br>----- Forwarded message from William F Bishop &lt;wbishop@mlug.missouri.edu>
-----
<p>From: William F Bishop &lt;wbishop@mlug.missouri.edu>
<br>To: David Faure &lt;faure@kde.org>
<br>Subject: KFM Ver. 1.167.2.11 Render of HTML Table Caption Anchor Statement
<br>Date:&nbsp;&nbsp; Tue, 4 Jul 2000 09:21:18 -0500
<br>Cc: William F Bishop &lt;wbishop@mlug.missouri.edu>
<p>David Faure,&nbsp; I'm using Red Hat Linux 6.0 installed on an i486
computer.&nbsp; And am
<br>using KFM Ver. 1.167.2.11 and looking at one of my website webpages
at URL
<br><a href="http://mlug.missouri.edu/~wbishop/websites.php3">http://mlug.missouri.edu/~wbishop/websites.php3</a>
 where I have an HTML caption
<br>statement in a table.&nbsp; The HTML caption statement as obtained
from
<br>View/ViewDocumentSource is as follows:
<p>&lt;caption align=top>&lt;font size="+1">&lt;b>&lt;i>Websites of Interest
&amp;nbsp;&amp;nbsp;&amp;nbsp;
<br>&lt;a href="website2.php3">more...&lt;/a>&lt;/i>&lt;/b>&lt;/font>&lt;/caption>
<p>KFM renders the anchor as "more..." in italics, bold and underlined
but when I
<br>move my mouse cursor to point to the link, the link is not recognized
as a
<br>link.&nbsp; Am wondering if maybe having a link inside an HTML table
caption
<br>statement is not being handling properly by KFM?&nbsp; The "more..."
anchor works
<br>with Netscape Navigator, Internet Explorer and Opera.&nbsp; In fact
the KFM effect
<br>is the first time I have noticed anything wrongly rendered with the
"more..."
<br>link.&nbsp;&nbsp; I don't know if this may be corrected with a later
version of Red Hat
<br>Linux and KFM.&nbsp; At this time I'm not aware that the syntax of
the caption
<br>statement is wrong.&nbsp; Just thought you might like to know about
what I have
<br>observed.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Bill Bishop&nbsp;&nbsp;&nbsp;&nbsp;
wbishop@mlug.missouri.edu
<p>----- End forwarded message -----
<p>--
<br>David FAURE
<br>david@mandrakesoft.com, faure@kde.org
<br><a href="http://home.clara.net/faure/">http://home.clara.net/faure/</a>,
<a href="http://www.konqueror.org/">http://www.konqueror.org/</a>
<br>KDE, Making The Future of Computing Available Today</blockquote>

<pre>--&nbsp;
In a world without walls and fences,
who needs Windows and Gates?</pre>
</blockquote>

<pre></pre>
</html>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic