2 Problems in GtkHtml



Hello All,

I'm using libgtkhtml-2.so in my application.  I have found two
problems in the display of html documents using gtkhtml (the same
problems are not seen with a web browser such as mozilla).  I wish to
know whether these are known problems in GTKHTML?

1) The trailing "/" at the end of an href url leads to URL not being a
link, but just simple text.

Simple Example:
---------------
<HTML>
<BODY>

<a href="http://www.gtk.org"/>GTK Website</a>

</BODY>
</HTML>
---------------
Expected output: A clickable hyperlink "GTK Website"
Actual output: Simple text "GTK Website", but no link
Note: If we don't have the trailing "/" at the end of the hyperlink,
the output it correctly displayed.

2) A "div" tag inside a table row doesn't display table data at all.

Simple Example:
---------------
<HTML>
<BODY>

<TABLE border="1">
<TR>
<DIV>
<TD align=center>Hello</TD>
<TD align=center>World!</TD>
</DIV>
</TR>
</TABLE>

</BODY>
</HTML>
---------------
Expected output: a table with one row and 2 columns, in one column
"Hello" and the second "World!"
Actual output: nothing displayed
Note: If I remove the "DIV" tags, then the output is correct.

Thanks,
-Gaurav



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]