summaryrefslogtreecommitdiff
path: root/render/layout.c
Commit message (Collapse)AuthorAgeFilesLines
...
* [project @ 2005-07-02 23:37:41 by bursa]James Bursa2005-07-021-42/+50
| | | | | | Improvements to layout_minmax_line(). Fix width of floats / inline blocks without an explicit width (space for margins, borders, padding was added twice). svn path=/import/netsurf/; revision=1781
* [project @ 2005-07-02 18:17:51 by bursa]James Bursa2005-07-021-674/+479
| | | | | | Rewrite calculation of box minimum and maximum widths to improve layout of many pages. Move calculation of column types and border collapsing to box tree normalising stage, since they are layout independent. Add window height parameter to layout and make <html> and <body> at least window height. svn path=/import/netsurf/; revision=1777
* [project @ 2005-06-05 20:54:37 by bursa]James Bursa2005-06-051-10/+42
| | | | | | More work on borders / padding / margins on inline elements. Add BOX_INLINE_END to hold the right border / padding / margin (left is in the BOX_INLINE). svn path=/import/netsurf/; revision=1742
* [project @ 2005-05-23 22:14:09 by bursa]James Bursa2005-05-231-1/+14
| | | | | | Start to implement borders on inline elements. Note: borders of form controls are rendered incorrectly (text boxes in form controls need changing from INLINE to TEXT). svn path=/import/netsurf/; revision=1734
* [project @ 2005-05-22 21:50:14 by bursa]James Bursa2005-05-221-5/+9
| | | | | | Add BOX_TEXT type to distinguish boxes which came from an inline element to boxes which came from a text node. Add inline_parent pointer to box structure. Rewrite text-decoration support to take advantage of the new data (line colours are now correct). Note: there is a clipping issue in redraw. svn path=/import/netsurf/; revision=1732
* [project @ 2005-04-28 02:35:03 by rjw]Richard Wilson2005-04-281-0/+3
| | | | | | HTML border attributes have lower priority that CSS values (fix osnews). Disable tr height minimum value usage for now. svn path=/import/netsurf/; revision=1694
* [project @ 2005-04-28 01:50:55 by rjw]Richard Wilson2005-04-281-5/+9
| | | | | | Respect minimum height for tr. svn path=/import/netsurf/; revision=1693
* [project @ 2005-04-14 19:54:24 by rjw]Richard Wilson2005-04-141-45/+251
| | | | | | Implement HTML table border setting. Improve support for the collapsing border model. svn path=/import/netsurf/; revision=1632
* [project @ 2005-04-09 13:25:54 by bursa]James Bursa2005-04-091-0/+2
| | | | | | Add an assert() to layout_line() to help detect bugs. svn path=/import/netsurf/; revision=1614
* [project @ 2005-04-09 09:47:36 by bursa]James Bursa2005-04-091-57/+56
| | | | | | Move HTML contents almost fully over to talloc(), simplifying code. Improvements to title attributes, broken forms, cellpadding. Reorder functions in box_construct.c. svn path=/import/netsurf/; revision=1608
* [project @ 2005-04-02 18:24:47 by jmb]John Mark Bell2005-04-021-4/+13
| | | | | | Fix more FP exceptions svn path=/import/netsurf/; revision=1589
* [project @ 2005-04-02 11:13:27 by bursa]James Bursa2005-04-021-0/+8
| | | | | | Assert when a box has UNKNOWN_WIDTH after layout. svn path=/import/netsurf/; revision=1588
* [project @ 2005-03-22 16:29:16 by rjw]Richard Wilson2005-03-221-7/+22
| | | | | | Fix some rounding issues for table cell calculations. svn path=/import/netsurf/; revision=1571
* [project @ 2005-03-22 00:10:42 by rjw]Richard Wilson2005-03-221-2/+11
| | | | | | Experimental cellpadding support svn path=/import/netsurf/; revision=1569
* [project @ 2005-03-07 21:30:28 by bursa]James Bursa2005-03-071-1/+5
| | | | | | Fix some more FP exceptions related to layout. svn path=/import/netsurf/; revision=1528
* [project @ 2005-02-26 18:30:48 by bursa]James Bursa2005-02-261-3/+5
| | | | | | Fix some FP exceptions due to widths left as UNKNOWN_WIDTH. svn path=/import/netsurf/; revision=1526
* [project @ 2005-02-20 13:18:21 by bursa]James Bursa2005-02-201-43/+59
| | | | | | Font rewrite, part 2. svn path=/import/netsurf/; revision=1518
* [project @ 2005-01-13 20:28:50 by bursa]James Bursa2005-01-131-1/+3
| | | | | | Fix some compilation warnings in the debug build. Update nsgtk_plot_rectangle() with the new parameters. svn path=/import/netsurf/; revision=1447
* [project @ 2005-01-11 19:39:49 by jmb]John Mark Bell2005-01-111-1/+2
| | | | | | Handle property: inherit; properly svn path=/import/netsurf/; revision=1441
* [project @ 2005-01-11 14:16:40 by rjw]Richard Wilson2005-01-111-4/+7
| | | | | | Perform vertical alignment for cells with specified heights. svn path=/import/netsurf/; revision=1439
* [project @ 2005-01-10 21:35:33 by rjw]Richard Wilson2005-01-101-3/+62
| | | | | | Vertical alignment for table cells svn path=/import/netsurf/; revision=1437
* [project @ 2004-12-05 21:42:08 by bursa]James Bursa2004-12-051-0/+7
| | | | | | Make frames scroll. Implement table cellspacing attribute. svn path=/import/netsurf/; revision=1383
* [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