summaryrefslogtreecommitdiff
path: root/render/layout.c
Commit message (Collapse)AuthorAgeFilesLines
* Improve float positioning.Michael Drake2008-02-031-1/+1
| | | | svn path=/trunk/netsurf/; revision=3833
* Turn debug output off again. Remove extraneous include.Michael Drake2008-02-031-2/+1
| | | | svn path=/trunk/netsurf/; revision=3828
* Ensure min line length takes into account margins, borders and paddings of ↵Michael Drake2008-02-031-2/+7
| | | | | | objects. svn path=/trunk/netsurf/; revision=3827
* Make text input boxes with height:auto; and no initial value get a sensible ↵Michael Drake2008-02-021-41/+12
| | | | | | height. Make all form elements have their dimensions based on the configured minimum font size, if the current text size is smaller. Remove redundant code for setting radio icon and checkbox sizes. All em/ex based sizes now respect the min font size, when it's in effect. Updated default styles for form elements. svn path=/trunk/netsurf/; revision=3813
* Fix syntax.Michael Drake2008-01-291-1/+1
| | | | svn path=/trunk/netsurf/; revision=3800
* Reinstate things lost in the last checkins.Michael Drake2008-01-291-3/+5
| | | | svn path=/trunk/netsurf/; revision=3799
* No need to recalculate a value we already have.Michael Drake2008-01-291-10/+5
| | | | svn path=/trunk/netsurf/; revision=3798
* Apply min font size config option to radio icons and checkboxes.Michael Drake2008-01-291-13/+47
| | | | svn path=/trunk/netsurf/; revision=3797
* Only needed the vertical position changed.Michael Drake2008-01-281-1/+3
| | | | svn path=/trunk/netsurf/; revision=3789
* Fix vertical position of images with margin/borders/padding.Michael Drake2008-01-281-1/+2
| | | | svn path=/trunk/netsurf/; revision=3785
* Ensure images within inline-blocks are shown properly. Fixed by zamez.Michael Drake2008-01-271-1/+1
| | | | svn path=/trunk/netsurf/; revision=3783
* Make inline-blocks have margins. Add defualt margin around form inputs.Michael Drake2008-01-271-4/+4
| | | | svn path=/trunk/netsurf/; revision=3779
* Hopefully fix inline-block positioning. (Stops form elements from overlapping.)Michael Drake2008-01-271-2/+6
| | | | svn path=/trunk/netsurf/; revision=3778
* No need to reduce box height when adding scrollbar.Michael Drake2008-01-261-1/+0
| | | | svn path=/trunk/netsurf/; revision=3777
* Protect <pre> fix in cases where c->style is NULLDaniel Silverstone2007-12-231-3/+5
| | | | svn path=/trunk/netsurf/; revision=3673
* An INLINE_CONTAINER which contains a TEXT which is zero chars long but *is* ↵Daniel Silverstone2007-12-231-3/+7
| | | | | | in a PRE white-space rule *DOES* contain a text child. svn path=/trunk/netsurf/; revision=3672
* Remove legacy code.Richard Wilson2007-10-101-8/+1
| | | | svn path=/trunk/netsurf/; revision=3629
* Fix disappearing borders for elements with overflow: hidden.James Bursa2007-08-281-2/+1
| | | | svn path=/trunk/netsurf/; revision=3534
* Make F9 dump box tree to an editor for easier debugging.James Bursa2007-08-201-3/+3
| | | | svn path=/trunk/netsurf/; revision=3529
* Provide the facility to set the DPI of the display by removing the ↵Daniel Silverstone2007-08-191-2/+2
| | | | | | assumptions of 90.0 dpi from the CSS and layout engines. svn path=/trunk/netsurf/; revision=3528
* Update all source code file headers to reflect GPL version 2 only and ↵Vincent Sanders2007-08-081-3/+14
| | | | | | contain appropriate licence text svn path=/trunk/netsurf/; revision=3486
* Remove the netsurf/ from the include paths and rationalise use of <> vs "" ↵Daniel Silverstone2007-05-301-10/+10
| | | | | | | | | | | | | | in includes NetSurf includes are now done with ""s and other system includes with <>s as C intended. The scandeps tool has been updated to only look for ""ed includes, and to verify that the files exist in the tree before adding them to the dependency lines. The depend rule has therefore been augmented to make sure the autogenerated files are built before it is run. This is untested under self-hosted RISC OS builds. All else tested and works. svn path=/trunk/netsurf/; revision=3307
* Object sizes do not apply when calculating the extent of descendent John Mark Bell2007-04-071-11/+0
| | | | | | bounding boxes. (fixes 1601881) svn path=/trunk/netsurf/; revision=3240
* Fix assertion when table has negative mbp (1579981)John Mark Bell2007-03-251-0/+4
| | | | svn path=/trunk/netsurf/; revision=3222
* Fix handling of scrollbar addition to blocks which have height/width == John Mark Bell2007-03-241-19/+41
| | | | | | AUTO (fixes 1567430) svn path=/trunk/netsurf/; revision=3220
* Fix FP exception when right-aligned tables with margin: auto are nested John Mark Bell2007-03-241-0/+5
| | | | | | | (interaction with floats, resulting in margin[TOP] == AUTO) (fixes 1662931) svn path=/trunk/netsurf/; revision=3218
* Fix height of absolutely positioned inline blocks with an object. Fix layout ↵James Bursa2006-12-261-6/+22
| | | | | | of list markers with no text. svn path=/trunk/netsurf/; revision=3122
* Update project URL.Michael Drake2006-11-271-1/+1
| | | | svn path=/trunk/netsurf/; revision=3073
* Fix gap between list marker and list content.Michael Drake2006-11-101-0/+1
| | | | svn path=/trunk/netsurf/; revision=3040
* Fix distortion of list marker images.James Bursa2006-11-071-6/+16
| | | | svn path=/trunk/netsurf/; revision=3039
* More work on lists. Simplify the implementation to a BLOCK for display: ↵James Bursa2006-11-051-199/+50
| | | | | | list-item, with a marker box on box->list_marker. svn path=/trunk/netsurf/; revision=3031
* Initial work for display: list-item supportJohn Mark Bell2006-11-041-6/+199
| | | | svn path=/trunk/netsurf/; revision=3028
* Implement absolute positioned inlines.James Bursa2006-11-041-9/+32
| | | | svn path=/trunk/netsurf/; revision=3026
* Do absolute positioning after other layout so that containing block is fully ↵James Bursa2006-10-101-37/+30
| | | | | | positioned. svn path=/trunk/netsurf/; revision=2991
* Check for null style before using it.James Bursa2006-10-091-2/+3
| | | | svn path=/trunk/netsurf/; revision=2986
* Modify implementation of absolute positioning to support "static positions". ↵James Bursa2006-10-081-89/+59
| | | | | | Absolutely positioned boxes are now in their original place in the tree instead of linked from absolute_children. svn path=/trunk/netsurf/; revision=2984
* Add some documentation to layout_block_context(). Move code out into ↵James Bursa2006-09-161-33/+67
| | | | | | layout_block_object(). svn path=/trunk/netsurf/; revision=2957
* Fixed textarea wordwrap if first character on line is a spaceJeffrey Lee2006-09-101-0/+5
| | | | svn path=/trunk/netsurf/; revision=2941
* textarea html tag fix; horizontal scrollbars; auto-scroll improvementsJeffrey Lee2006-09-101-19/+30
| | | | svn path=/trunk/netsurf/; revision=2940
* Fix layout of standalone <br>.James Bursa2006-08-141-1/+1
| | | | svn path=/trunk/netsurf/; revision=2849
* Use a minimum line height of 0 for inline containers which have no text.James Bursa2006-08-131-2/+16
| | | | svn path=/trunk/netsurf/; revision=2838
* Layout absolutely positioned children of tables.James Bursa2006-07-231-0/+3
| | | | svn path=/trunk/netsurf/; revision=2791
* Ensure that layout of absolute children is carried out after the height is ↵James Bursa2006-07-021-15/+10
| | | | | | known. svn path=/trunk/netsurf/; revision=2696
* Ensure containing block has valid height for positioning absolute childrenJohn Mark Bell2006-06-291-0/+14
| | | | svn path=/trunk/netsurf/; revision=2680
* Properly take account of padding on containing block.John Mark Bell2006-06-291-9/+22
| | | | svn path=/trunk/netsurf/; revision=2673
* Position specifiers are relative to containing block's padding edge for John Mark Bell2006-06-291-0/+20
| | | | | | absolutely positioned boxes. Compensate for this. svn path=/trunk/netsurf/; revision=2672
* Fix previous commit; it failed to make available_width include mbp such John Mark Bell2006-06-291-11/+5
| | | | | | | that subtracting them after determining the width works in the case where available_width > box->min_width. svn path=/trunk/netsurf/; revision=2671
* Compensate for box->{min_width,max_width} including mbp when John Mark Bell2006-06-291-0/+12
| | | | | | auto-widthing absolutely positioned content. svn path=/trunk/netsurf/; revision=2670
* Fix float placement when it's an exact fit for the width availableJohn Mark Bell2006-06-281-1/+1
| | | | svn path=/trunk/netsurf/; revision=2661
* Relative positioning for absolutely positioned boxesJohn Mark Bell2006-06-261-0/+34
| | | | svn path=/trunk/netsurf/; revision=2653