| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
Update calls to layout_document() for error handling.
svn path=/import/netsurf/; revision=915
|
|
|
|
|
|
| |
Table and float bug fixes.
svn path=/import/netsurf/; revision=899
|
|
|
|
|
|
| |
Fix some table layout bugs related to the recent changes to calculate_table_widths().
svn path=/import/netsurf/; revision=898
|
|
|
|
|
|
| |
Improved handling of objects and frames; some work on malloc() failure in box conversion.
svn path=/import/netsurf/; revision=880
|
|
|
|
|
|
| |
Remove #ifdef nastiness. Now uses alloca.
svn path=/import/netsurf/; revision=816
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
Position floats correctly horizontally when padding or margins are present.
svn path=/import/netsurf/; revision=799
|
|
|
|
|
|
| |
Implement <br> properly by adding BOX_BR; fix box tree normalisation bugs.
svn path=/import/netsurf/; revision=791
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
Take account of configured minimun font size when calculating line height.
svn path=/import/netsurf/; revision=786
|
|
|
|
|
|
| |
Table layout fix and table-float interaction changes.
svn path=/import/netsurf/; revision=778
|
|
|
|
|
|
| |
Fix layout bugs related to height and inline blocks.
svn path=/import/netsurf/; revision=756
|
|
|
|
|
|
| |
Rewrite block context layout, implementing collapsing and negative margins and margins for tables.
svn path=/import/netsurf/; revision=754
|