Colspan and table percentages
Hi! After a lot of work, the patch for better table rendering (regarding colspan and percentages) was good enough to be committed. Please enjoy and send feedback (or patches) ;-). - Implemented a weighted apportionment algorithm for table colspan. - Implemented percentage widths in tables (better rendering!). - Fixed an initialization bug in hruler. If you: #define DBG In table.cc. Verbose debugging output is enabled. I tried to make special and ill cases decision-making similar to firefox, but frankly, some cases are really weird! For instance, take a look here and compare: http://www.dillo.org/test/cs1.html http://www.dillo.org/test/cs7.html // e.g. look at th 20% table Well, the main point is for you to test and to report how it works! -- Cheers Jorge.-
On Sun, Dec 09, 2007 at 02:07:48PM -0300, Jorge Arellano Cid wrote:
Hi!
After a lot of work, the patch for better table rendering (regarding colspan and percentages) was good enough to be committed. Please enjoy and send feedback (or patches) ;-).
- Implemented a weighted apportionment algorithm for table colspan. - Implemented percentage widths in tables (better rendering!). - Fixed an initialization bug in hruler.
+ Minor fix to table-wide percentage apportion. Now about:splash renders OK. -- Cheers Jorge.-
On Sun, Dec 09, 2007 at 05:58:04PM -0300, Jorge Arellano Cid wrote:
On Sun, Dec 09, 2007 at 02:07:48PM -0300, Jorge Arellano Cid wrote:
Hi!
After a lot of work, the patch for better table rendering (regarding colspan and percentages) was good enough to be committed. Please enjoy and send feedback (or patches) ;-).
- Implemented a weighted apportionment algorithm for table colspan. - Implemented percentage widths in tables (better rendering!). - Fixed an initialization bug in hruler.
+ Minor fix to table-wide percentage apportion.
Now about:splash renders OK.
Excellent, dpi:/bm/ renders fine too! Cheers, Johannes
-- Cheers Jorge.-
_______________________________________________ Dillo-dev mailing list Dillo-dev@dillo.org http://lists.auriga.wearlab.de/cgi-bin/mailman/listinfo/dillo-dev
Hi Jorge, just noticed that http://www.dillo.org/MList.html still looks weird with dillo-fltk: The main text is rendered just one word wide here. Cheers, Johannes On Sun, Dec 09, 2007 at 05:58:04PM -0300, Jorge Arellano Cid wrote:
On Sun, Dec 09, 2007 at 02:07:48PM -0300, Jorge Arellano Cid wrote:
Hi!
After a lot of work, the patch for better table rendering (regarding colspan and percentages) was good enough to be committed. Please enjoy and send feedback (or patches) ;-).
- Implemented a weighted apportionment algorithm for table colspan. - Implemented percentage widths in tables (better rendering!). - Fixed an initialization bug in hruler.
+ Minor fix to table-wide percentage apportion.
Now about:splash renders OK.
-- Cheers Jorge.-
_______________________________________________ Dillo-dev mailing list Dillo-dev@dillo.org http://lists.auriga.wearlab.de/cgi-bin/mailman/listinfo/dillo-dev
On Mon, Dec 10, 2007 at 06:22:36PM +0100, Johannes Hofmann wrote:
just noticed that http://www.dillo.org/MList.html still looks weird with dillo-fltk: The main text is rendered just one word wide here.
I see this quite a lot. I've attached a simple example below. It depends on the table cell having colspan="2". Not only does each word appear on a line by itself but no horizontal scrollbar appears even though one word extends past the right of the page. Regards, Jeremy Henty <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> <title> Dillo: display and layout strangeness in a table cell with colspan="2" </title> </head> <body> <table> <tr> <td colspan="2"> aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa bbbbb cccccc dddddddd eeeeee </td> </tr> </table> </body> </html>
On Tue, Dec 11, 2007 at 01:04:02PM +0000, Jeremy Henty (ie. me) wrote:
I've attached a simple example below. It depends on the table cell having colspan="2". Not only does each word appear on a line by itself
OK, this is now fixed.
... but no horizontal scrollbar appears even though one word extends past the right of the page.
This issue remains. Regards, Jeremy Henty <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> <title> Dillo: display and layout strangeness in a table cell with colspan="2" </title> </head> <body> <table> <tr> <td colspan="2"> aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa bbbbb cccccc dddddddd eeeeee </td> </tr> </table> </body> </html> _______________________________________________ Dillo-dev mailing list Dillo-dev@dillo.org http://lists.auriga.wearlab.de/cgi-bin/mailman/listinfo/dillo-dev
On Tue, Dec 11, 2007 at 01:04:02PM +0000, Jeremy Henty wrote:
On Mon, Dec 10, 2007 at 06:22:36PM +0100, Johannes Hofmann wrote:
just noticed that http://www.dillo.org/MList.html still looks weird with dillo-fltk: The main text is rendered just one word wide here.
I see this quite a lot. I've attached a simple example below. It depends on the table cell having colspan="2". Not only does each word appear on a line by itself but no horizontal scrollbar appears even though one word extends past the right of the page.
OK, a patch was committed to CVS. It fixes this issue but some glitches remain. With http://www.dillo.org/MList.html, the "Bug Track Engine" cell is too narrow. The main problem is that, AFAIS, new data structures&algorithm is necessary to handle the special case where a colsapanned cell has a larger width than the spanned cells. Some workarounds can be coded but they corrupt the meaning of the current data structures. I'll try to find a solution... Please test and post the URLs where you found the problem. -- Cheers Jorge.-
Hi, On Wed, Dec 12, 2007 at 06:09:17PM -0300, Jorge Arellano Cid wrote:
On Tue, Dec 11, 2007 at 01:04:02PM +0000, Jeremy Henty wrote:
On Mon, Dec 10, 2007 at 06:22:36PM +0100, Johannes Hofmann wrote:
just noticed that http://www.dillo.org/MList.html still looks weird with dillo-fltk: The main text is rendered just one word wide here.
I see this quite a lot. I've attached a simple example below. It depends on the table cell having colspan="2". Not only does each word appear on a line by itself but no horizontal scrollbar appears even though one word extends past the right of the page.
OK, a patch was committed to CVS. It fixes this issue but some glitches remain.
With http://www.dillo.org/MList.html, the "Bug Track Engine" cell is too narrow. The main problem is that, AFAIS, new data structures&algorithm is necessary to handle the special case where a colsapanned cell has a larger width than the spanned cells. Some workarounds can be coded but they corrupt the meaning of the current data structures. I'll try to find a solution...
OK, a new patch with improved algorithms, using the same data structures, was committed. This time rendering is much better. Please test and send feedback, URLs. It looks like the "gross work" is done. Some polishing remains, but that's subject to another patch. 8-) -- Cheers Jorge.-
On Mon, Dec 10, 2007 at 06:22:36PM +0100, Johannes Hofmann wrote:
Hi Jorge,
just noticed that http://www.dillo.org/MList.html still looks weird with dillo-fltk: The main text is rendered just one word wide here.
Yes, that's a special colspan case. Please test now! -- Cheers Jorge.-
On Tue, Dec 11, 2007 at 10:16:01AM -0300, Jorge Arellano Cid wrote:
On Mon, Dec 10, 2007 at 06:22:36PM +0100, Johannes Hofmann wrote:
Hi Jorge,
just noticed that http://www.dillo.org/MList.html still looks weird with dillo-fltk: The main text is rendered just one word wide here.
Yes, that's a special colspan case.
Please test now!
Works fine now. Thanks, Johannes
-- Cheers Jorge.-
_______________________________________________ Dillo-dev mailing list Dillo-dev@dillo.org http://lists.auriga.wearlab.de/cgi-bin/mailman/listinfo/dillo-dev
participants (3)
-
jcid@dillo.org
-
Johannes.Hofmann@gmx.de
-
onepoint@starurchin.org