summaryrefslogtreecommitdiff
path: root/render/layout.c
Commit message (Collapse)AuthorAgeFilesLines
* [project @ 2004-12-01 21:48:11 by bursa]James Bursa2004-12-011-59/+126
| | | | | | Implement table cell padding and separated borders model for tables. Min/max width calculations still need implementing. svn path=/import/netsurf/; revision=1378
* [project @ 2004-11-21 19:45:51 by bursa]James Bursa2004-11-211-0/+11
| | | | | | Take objects into account when calculating descendant boxes. svn path=/import/netsurf/; revision=1367
* [project @ 2004-11-20 00:02:56 by bursa]James Bursa2004-11-201-3/+7
| | | | | | Improvements to overflow and scrolling: scrollbars now have most of the usual RISC OS behaviour. Better rendering of dotted and dashed borders. svn path=/import/netsurf/; revision=1363
* [project @ 2004-10-22 20:58:11 by bursa]James Bursa2004-10-221-1/+0
| | | | | | Fix form textarea scrolling. The scrollbar now works properly. svn path=/import/netsurf/; revision=1334
* [project @ 2004-10-17 21:10:19 by bursa]James Bursa2004-10-171-0/+13
| | | | | | Move box tree from html.layout->children to html.layout. Work on scrollbars. svn path=/import/netsurf/; revision=1314
* [project @ 2004-08-14 15:07:19 by joty]John Tytgat2004-08-141-23/+23
| | | | | | | | - Rename len() to css_len2px(). - Less compiler warnings concerning float/int implicit casts. - More stddef.h type usuage. svn path=/import/netsurf/; revision=1232
* [project @ 2004-08-14 12:57:00 by joty]John Tytgat2004-08-141-2/+4
| | | | | | Using more stddef.h types. svn path=/import/netsurf/; revision=1230
* [project @ 2004-08-01 13:08:18 by bursa]James Bursa2004-08-011-69/+66
| | | | | | More work on overflow. Modify block centering to left-align when insufficient space. Fix caret positioning for form controls with padding. svn path=/import/netsurf/; revision=1171
* [project @ 2004-07-19 14:29:16 by bursa]James Bursa2004-07-191-2/+0
| | | | | | Make layout_inline_container() public for use of textareas. svn path=/import/netsurf/; revision=1103
* [project @ 2004-07-17 01:36:21 by jmb]John Mark Bell2004-07-171-0/+20
| | | | | | Invalidate descendant_* values svn path=/import/netsurf/; revision=1091
* [project @ 2004-07-16 20:26:49 by jmb]John Mark Bell2004-07-161-0/+49
| | | | | | Preliminary overflow support. This also goes some way to making the horizontal scrollbar work. svn path=/import/netsurf/; revision=1088
* [project @ 2004-07-05 20:19:51 by joty]John Tytgat2004-07-051-5/+5
| | | | | | Using UTF-8 instead of Latin1 encoding. svn path=/import/netsurf/; revision=1049
* [project @ 2004-06-22 17:52:40 by bursa]James Bursa2004-06-221-2/+4
| | | | | | Fix some strdup()s on non-terminated strings. svn path=/import/netsurf/; revision=992
* [project @ 2004-06-18 22:54:07 by bursa]James Bursa2004-06-181-4/+9
| | | | | | Fix inline boxes with 0 width not having their width set when available width is 0 (eg. in tables) (fixes www.hic.gov.au crash reported by Peter Prewett). Table layout fix related to cells spanning columns with fixed-width cells. svn path=/import/netsurf/; revision=979
* [project @ 2004-06-14 07:28:27 by joty]John Tytgat2004-06-141-21/+23
| | | | | | layout_table() : avoid division by zero (e.g. table at <URL:http://www.pcguide.com/ref/fdd/confCable-c.html>) svn path=/import/netsurf/; revision=970
* [project @ 2004-06-02 21:21:13 by bursa]James Bursa2004-06-021-85/+179
| | | | | | Memory exhaustion handling. Form control related bug fix. svn path=/import/netsurf/; revision=917
* [project @ 2004-06-02 21:14:40 by bursa]James Bursa2004-06-021-180/+85
| | | | | | Revert accidental checkin. svn path=/import/netsurf/; revision=916
* [project @ 2004-06-02 21:09:14 by bursa]James Bursa2004-06-021-85/+180
| | | | | | Update calls to layout_document() for error handling. svn path=/import/netsurf/; revision=915
* [project @ 2004-05-27 23:45:26 by bursa]James Bursa2004-05-271-2/+5
| | | | | | Table and float bug fixes. svn path=/import/netsurf/; revision=899
* [project @ 2004-05-27 22:13:20 by bursa]James Bursa2004-05-271-67/+73
| | | | | | Fix some table layout bugs related to the recent changes to calculate_table_widths(). svn path=/import/netsurf/; revision=898
* [project @ 2004-05-21 14:26:59 by bursa]James Bursa2004-05-211-115/+299
| | | | | | Improved handling of objects and frames; some work on malloc() failure in box conversion. svn path=/import/netsurf/; revision=880
* [project @ 2004-05-02 17:01:37 by jmb]John Mark Bell2004-05-021-13/+2
| | | | | | Remove #ifdef nastiness. Now uses alloca. svn path=/import/netsurf/; revision=816
* [project @ 2004-05-02 01:04:38 by jmb]John Mark Bell2004-05-021-0/+12
| | | | | | | A couple more Norcroft-related patches. The use of #ifdef __GNU_C__ in both of these can be avoided. I'm not entirely sure whether it would be sensible to do so, so I've left them as-is. svn path=/import/netsurf/; revision=814
* [project @ 2004-04-21 22:27:49 by bursa]James Bursa2004-04-211-7/+9
| | | | | | Position floats correctly horizontally when padding or margins are present. svn path=/import/netsurf/; revision=799
* [project @ 2004-04-18 15:19:53 by bursa]James Bursa2004-04-181-11/+33
| | | | | | Implement <br> properly by adding BOX_BR; fix box tree normalisation bugs. svn path=/import/netsurf/; revision=791
* [project @ 2004-04-16 22:29:10 by bursa]James Bursa2004-04-161-16/+12
| | | | | | Fix height of block contexts with no children (fixes FP exception crashes); factor out code for increasing height for floats. svn path=/import/netsurf/; revision=787
* [project @ 2004-04-15 16:18:19 by jmb]John Mark Bell2004-04-151-4/+10
| | | | | | Take account of configured minimun font size when calculating line height. svn path=/import/netsurf/; revision=786
* [project @ 2004-04-13 23:20:23 by bursa]James Bursa2004-04-131-4/+33
| | | | | | Table layout fix and table-float interaction changes. svn path=/import/netsurf/; revision=778
* [project @ 2004-04-12 17:32:45 by bursa]James Bursa2004-04-121-4/+35
| | | | | | Fix layout bugs related to height and inline blocks. svn path=/import/netsurf/; revision=756
* [project @ 2004-04-12 00:00:47 by bursa]James Bursa2004-04-121-182/+208
| | | | | | Rewrite block context layout, implementing collapsing and negative margins and margins for tables. svn path=/import/netsurf/; revision=754
* [project @ 2004-03-26 01:35:35 by bursa]James Bursa2004-03-261-26/+60
| | | | | | Fix infinite loop in layout_line(), improve layout of inline blocks, break out layout_float(). svn path=/import/netsurf/; revision=669
* [project @ 2004-03-22 00:37:38 by bursa]James Bursa2004-03-221-1/+2
| | | | | | Minor change in layout_line() to fix some failures. svn path=/import/netsurf/; revision=651
* [project @ 2004-03-14 22:49:14 by bursa]James Bursa2004-03-141-1/+1
| | | | | | Fix serious inline container layout bug. svn path=/import/netsurf/; revision=620
* [project @ 2004-03-13 20:48:00 by bursa]James Bursa2004-03-131-1/+1
| | | | | | Remove +1 from size of inline containers. svn path=/import/netsurf/; revision=619
* [project @ 2004-02-28 17:23:07 by bursa]James Bursa2004-02-281-95/+125
| | | | | | Fix float-related crashes. svn path=/import/netsurf/; revision=577
* [project @ 2004-02-22 22:27:31 by bursa]James Bursa2004-02-221-17/+18
| | | | | | Fix calculate_widths() for floats. svn path=/import/netsurf/; revision=564
* [project @ 2004-02-22 22:22:50 by bursa]James Bursa2004-02-221-5/+34
| | | | | | Take margins, broder, padding into account in calculate_widths(). svn path=/import/netsurf/; revision=563
* [project @ 2004-02-20 00:42:36 by bursa]James Bursa2004-02-201-2/+8
| | | | | | Partial implementation of collapsing margins. svn path=/import/netsurf/; revision=561
* [project @ 2004-02-13 16:10:28 by bursa]James Bursa2004-02-131-19/+33
| | | | | | Simplify and break out layout_clear(). svn path=/import/netsurf/; revision=537
* [project @ 2004-02-11 20:51:34 by bursa]James Bursa2004-02-111-1/+2
| | | | | | Fix crash related to floats. svn path=/import/netsurf/; revision=535
* [project @ 2004-02-11 17:15:36 by bursa]James Bursa2004-02-111-245/+370
| | | | | | Work on margins etc., clean up many parts of layout code. svn path=/import/netsurf/; revision=534
* [project @ 2004-02-02 00:22:59 by bursa]James Bursa2004-02-021-51/+147
| | | | | | Start at margin / padding / border support. svn path=/import/netsurf/; revision=529
* [project @ 2004-02-01 22:42:40 by jmb]John Mark Bell2004-02-011-3/+25
| | | | | | Add text-indent support. svn path=/import/netsurf/; revision=527
* [project @ 2003-12-27 02:03:48 by jmb]John Mark Bell2003-12-271-33/+34
| | | | | | Reduce compiler warnings svn path=/import/netsurf/; revision=456
* [project @ 2003-11-04 18:35:32 by bursa]James Bursa2003-11-041-2/+4
| | | | | | Patch inline container failure on some pages (eg. ebay). svn path=/import/netsurf/; revision=402
* [project @ 2003-10-08 20:49:57 by bursa]James Bursa2003-10-081-5/+2
| | | | | | Fix column width recalculation when objects are loaded. svn path=/import/netsurf/; revision=354
* [project @ 2003-10-07 21:34:39 by bursa]James Bursa2003-10-071-1/+5
| | | | | | Implement white-space property. svn path=/import/netsurf/; revision=348
* [project @ 2003-10-01 22:48:39 by bursa]James Bursa2003-10-011-0/+13
| | | | | | Improvements to <select>. svn path=/import/netsurf/; revision=341
* [project @ 2003-09-26 23:22:00 by bursa]James Bursa2003-09-261-8/+18
| | | | | | Implement button element and more work on input element. svn path=/import/netsurf/; revision=322
* [project @ 2003-09-23 21:48:22 by bursa]James Bursa2003-09-231-2/+6
| | | | | | Textarea related fixes. svn path=/import/netsurf/; revision=312