summaryrefslogtreecommitdiff
path: root/render/layout.c
Commit message (Collapse)AuthorAgeFilesLines
* [project @ 2006-01-15 22:25:40 by bursa]James Bursa2006-01-151-1/+8
| | | | | | Fix crash related to negative margins on inlines. svn path=/import/netsurf/; revision=2021
* [project @ 2005-11-06 11:00:33 by bursa]James Bursa2005-11-061-4/+8
| | | | | | Fix crash when a frame contains floats. svn path=/import/netsurf/; revision=1877
* [project @ 2005-10-30 21:23:24 by bursa]James Bursa2005-10-301-32/+65
| | | | | | Treat HTML objects (frames) as part of the box tree during layout. svn path=/import/netsurf/; revision=1875
* [project @ 2005-08-08 19:19:20 by bursa]James Bursa2005-08-081-0/+32
| | | | | | Fix redraw of underlines and other text-decoration. svn path=/import/netsurf/; revision=1845
* [project @ 2005-08-07 21:28:48 by bursa]James Bursa2005-08-071-3/+8
| | | | | | Improvements to frames. Fix bug with BR at end of inline container. svn path=/import/netsurf/; revision=1843
* [project @ 2005-08-06 23:34:30 by bursa]James Bursa2005-08-061-1/+5
| | | | | | Fix vertical positioning of floats when an empty block with top padding is present. svn path=/import/netsurf/; revision=1842
* [project @ 2005-08-06 22:29:30 by bursa]James Bursa2005-08-061-2/+7
| | | | | | Use given width as initial min/max width of fixed-width table columns. This improves the layout of certain tables with colspans. svn path=/import/netsurf/; revision=1841
* [project @ 2005-07-31 21:57:07 by bursa]James Bursa2005-07-311-1/+12
| | | | | | Implement clear on <br>. svn path=/import/netsurf/; revision=1834
* [project @ 2005-07-31 11:21:46 by bursa]James Bursa2005-07-311-9/+7
| | | | | | Fix certain cases of relative positioning, and make the recursion more efficient (don't recurse for BOX_TEXT). svn path=/import/netsurf/; revision=1831
* [project @ 2005-07-30 23:32:48 by jmb]John Mark Bell2005-07-301-1/+132
| | | | | | Position: relative; support. svn path=/import/netsurf/; revision=1830
* [project @ 2005-07-24 14:29:32 by bursa]James Bursa2005-07-241-5/+12
| | | | | | Fix position of certain floats. svn path=/import/netsurf/; revision=1822
* [project @ 2005-07-21 21:48:41 by bursa]James Bursa2005-07-211-0/+22
| | | | | | Fix layout min max bug with blocks with negative margins. Add assert()s to check that 0 <= min_width <= max_width at the end of each layout_minmax_X() function. svn path=/import/netsurf/; revision=1813
* [project @ 2005-07-20 22:25:56 by bursa]James Bursa2005-07-201-0/+10
| | | | | | Fix fixed width table min / max width calculations. svn path=/import/netsurf/; revision=1811
* [project @ 2005-07-20 22:08:56 by bursa]James Bursa2005-07-201-2/+4
| | | | | | Fix min / max bug with negative margins (treat as 0 for now). svn path=/import/netsurf/; revision=1810
* [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