| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
Fix redraw of underlines and other text-decoration.
svn path=/import/netsurf/; revision=1845
|
|
|
|
|
|
| |
Improvements to frames. Fix bug with BR at end of inline container.
svn path=/import/netsurf/; revision=1843
|
|
|
|
|
|
| |
Fix vertical positioning of floats when an empty block with top padding is present.
svn path=/import/netsurf/; revision=1842
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
Implement clear on <br>.
svn path=/import/netsurf/; revision=1834
|
|
|
|
|
|
| |
Fix certain cases of relative positioning, and make the recursion more efficient (don't recurse for BOX_TEXT).
svn path=/import/netsurf/; revision=1831
|
|
|
|
|
|
| |
Position: relative; support.
svn path=/import/netsurf/; revision=1830
|
|
|
|
|
|
| |
Fix position of certain floats.
svn path=/import/netsurf/; revision=1822
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
Fix fixed width table min / max width calculations.
svn path=/import/netsurf/; revision=1811
|
|
|
|
|
|
| |
Fix min / max bug with negative margins (treat as 0 for now).
svn path=/import/netsurf/; revision=1810
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
Respect minimum height for tr.
svn path=/import/netsurf/; revision=1693
|
|
|
|
|
|
| |
Implement HTML table border setting. Improve support for the collapsing border model.
svn path=/import/netsurf/; revision=1632
|
|
|
|
|
|
| |
Add an assert() to layout_line() to help detect bugs.
svn path=/import/netsurf/; revision=1614
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
Fix more FP exceptions
svn path=/import/netsurf/; revision=1589
|
|
|
|
|
|
| |
Assert when a box has UNKNOWN_WIDTH after layout.
svn path=/import/netsurf/; revision=1588
|
|
|
|
|
|
| |
Fix some rounding issues for table cell calculations.
svn path=/import/netsurf/; revision=1571
|
|
|
|
|
|
| |
Experimental cellpadding support
svn path=/import/netsurf/; revision=1569
|
|
|
|
|
|
| |
Fix some more FP exceptions related to layout.
svn path=/import/netsurf/; revision=1528
|
|
|
|
|
|
| |
Fix some FP exceptions due to widths left as UNKNOWN_WIDTH.
svn path=/import/netsurf/; revision=1526
|
|
|
|
|
|
| |
Font rewrite, part 2.
svn path=/import/netsurf/; revision=1518
|
|
|
|
|
|
| |
Fix some compilation warnings in the debug build. Update nsgtk_plot_rectangle() with the new parameters.
svn path=/import/netsurf/; revision=1447
|
|
|
|
|
|
| |
Handle property: inherit; properly
svn path=/import/netsurf/; revision=1441
|
|
|
|
|
|
| |
Perform vertical alignment for cells with specified heights.
svn path=/import/netsurf/; revision=1439
|
|
|
|
|
|
| |
Vertical alignment for table cells
svn path=/import/netsurf/; revision=1437
|
|
|
|
|
|
| |
Make frames scroll. Implement table cellspacing attribute.
svn path=/import/netsurf/; revision=1383
|
|
|
|
|
|
| |
Implement table cell padding and separated borders model for tables. Min/max width calculations still need implementing.
svn path=/import/netsurf/; revision=1378
|
|
|
|
|
|
| |
Take objects into account when calculating descendant boxes.
svn path=/import/netsurf/; revision=1367
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
Fix form textarea scrolling. The scrollbar now works properly.
svn path=/import/netsurf/; revision=1334
|
|
|
|
|
|
| |
Move box tree from html.layout->children to html.layout. Work on scrollbars.
svn path=/import/netsurf/; revision=1314
|
|
|
|
|
|
|
|
| |
- Rename len() to css_len2px().
- Less compiler warnings concerning float/int implicit casts.
- More stddef.h type usuage.
svn path=/import/netsurf/; revision=1232
|
|
|
|
|
|
| |
Using more stddef.h types.
svn path=/import/netsurf/; revision=1230
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
Make layout_inline_container() public for use of textareas.
svn path=/import/netsurf/; revision=1103
|
|
|
|
|
|
| |
Invalidate descendant_* values
svn path=/import/netsurf/; revision=1091
|
|
|
|
|
|
| |
Preliminary overflow support. This also goes some way to making the horizontal scrollbar work.
svn path=/import/netsurf/; revision=1088
|
|
|
|
|
|
| |
Using UTF-8 instead of Latin1 encoding.
svn path=/import/netsurf/; revision=1049
|
|
|
|
|
|
| |
Fix some strdup()s on non-terminated strings.
svn path=/import/netsurf/; revision=992
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
Memory exhaustion handling. Form control related bug fix.
svn path=/import/netsurf/; revision=917
|
|
|
|
|
|
| |
Revert accidental checkin.
svn path=/import/netsurf/; revision=916
|