summaryrefslogtreecommitdiff
path: root/render/layout.c
Commit message (Collapse)AuthorAgeFilesLines
...
* move options includeVincent Sanders2013-05-281-1/+1
|
* Hacky fix for clipping of top of text.Michael Drake2013-04-171-0/+16
|
* Fix min line width calc when an inline isn't to be wrapped in a block that ↵Michael Drake2013-03-061-3/+18
| | | | allows wrap.
* Fix min width to take account of white-space property.Michael Drake2013-02-221-2/+12
|
* Don't reduce width of textarea box for CSS overflow scrollbar; it won't get one.Michael Drake2013-02-111-2/+0
|
* Merge branch 'master' of git://git.netsurf-browser.org/netsurfMichael Drake2013-02-101-55/+44
|\ | | | | | | | | | | | | Conflicts: gtk/font_pango.c Conflict resolved.
| * Update HTML layout not to demand that nsfont_split only splits on a space.Michael Drake2013-02-101-56/+43
| | | | | | | | | | | | | | This allows the HTML layout code to wrap unicode text correctly. For example on our Japanese Welcome page, the characters will be wrapped if the platform's nsfont_split implementation implements the Unicode line breaking algorithm.
| * Make nowrap code path a bit plainer.Michael Drake2013-02-101-4/+4
| |
| * Comment current html wrap/text-splitting behaviour.Michael Drake2013-02-101-3/+5
| |
* | Don't add box scrollbar padding to gadgets.Michael Drake2013-02-091-2/+4
| |
* | First pass at getting html forms to use textarea widget.Michael Drake2013-02-061-0/+15
|/ | | | | (Input element types text & password, and textarea element.) Can edit and submit forms, but there are loads of issues.
* Fix min_max line width calc to include box spaces.Michael Drake2013-01-021-6/+12
|
* Fix placement of first inline on line below a float, when float has been ↵Michael Drake2012-11-041-1/+4
| | | | shifted up by >= its own height with a negative margin.
* reduce talloc usage to box tree layout onlyVincent Sanders2012-10-031-2/+2
|
* Don't convert spaces to non-breaking spaces inside white-space:pre. ↵Michael Drake2012-10-031-1/+3
| | | | Instead, handle not wrapping in layout.
* More white-space:nowrap.Michael Drake2012-10-031-4/+4
|
* Support white-space:nowrap.Michael Drake2012-10-031-2/+5
|
* Include dom/dom.h where it might be neededDaniel Silverstone2012-03-241-0/+1
| | | | svn path=/trunk/netsurf/; revision=13625
* Delete some trailing whitespace.Michael Drake2012-03-231-2/+2
| | | | svn path=/trunk/netsurf/; revision=13555
* NetSurf options rework (a=vince r=daniels,jmb)Vincent Sanders2012-03-221-2/+2
| | | | svn path=/trunk/netsurf/; revision=13548
* content_get_url -> hlcache_handle_get_url, content__get_url -> content_get_urlJohn Mark Bell2011-12-041-1/+1
| | | | svn path=/trunk/netsurf/; revision=13236
* Only make space for vertical box scrollbar if box has height set.Michael Drake2011-11-241-0/+6
| | | | svn path=/trunk/netsurf/; revision=13179
* Fix bug #3433954: make containing_block available to layout_table so it can ↵John Mark Bell2011-11-061-0/+4
| | | | | | resolve percentage height specified on an absolutely-positioned table. svn path=/trunk/netsurf/; revision=13130
* Fix bug #3433840: <img style="display: table" src="..."> will crash if the ↵John Mark Bell2011-11-051-2/+1
| | | | | | | | | | | image fetch completes before initial layout. A number of things wrong here: 1) The BOX_TABLE generated for the img shouldn't ever have been associated with the object (it should have been associated with the implied BOX_TABLE_CELL) 2) The layout engine's decision to treat BOX_TABLE/BOX_INLINE_CONTAINER with associated objects differently from non-replaced TABLE/INLINE_CONTAINERs seems wrong (looking though SVN history, it appears that this was introduced as part of the very first frames implementation, since replaced (twice!)) 3) Now we fetch objects in parallel with building the box tree, we're open to this kind of race condition. svn path=/trunk/netsurf/; revision=13128
* Add layout_get_object_dimensions param documentation missing from last commit.Michael Drake2011-09-231-0/+2
| | | | svn path=/trunk/netsurf/; revision=12871
* Handle min/max-width on replaced elements.Michael Drake2011-09-231-11/+41
| | | | svn path=/trunk/netsurf/; revision=12870
* Use fixed insted of floating point to get percentage of available_width, for ↵Michael Drake2011-09-231-2/+2
| | | | | | width calc. svn path=/trunk/netsurf/; revision=12869
* Move css_fixed and css_unit variables to where they're used.Michael Drake2011-09-231-2/+2
| | | | svn path=/trunk/netsurf/; revision=12868
* Simplify layout_get_object_dimensions.Michael Drake2011-09-231-22/+15
| | | | svn path=/trunk/netsurf/; revision=12867
* Use layout_find_dimensions to get inline object width/height.Michael Drake2011-09-231-24/+5
| | | | svn path=/trunk/netsurf/; revision=12866
* Remove gui_multitaskJohn Mark Bell2011-09-211-40/+0
| | | | svn path=/trunk/netsurf/; revision=12828
* Replaced elements' children are not laid out, so don't look at their ↵Michael Drake2011-08-231-0/+4
| | | | | | descendants. Fixes #3380281. svn path=/trunk/netsurf/; revision=12642
* Prevent iframes with display:inline and percentage width from getting a ↵Michael Drake2011-06-281-1/+6
| | | | | | width of AUTO during minmax layout phase. svn path=/trunk/netsurf/; revision=12528
* If iframes are reformatted due to containing document reflow, don't need to ↵Michael Drake2011-06-241-21/+15
| | | | | | redraw them since they will be redrawn when the containing document is redrawn. Make iframe handling more robust. svn path=/trunk/netsurf/; revision=12497
* Reformat floated iframe browser windows only after the iframe box has been ↵Michael Drake2011-06-141-6/+10
| | | | | | linked into the box tree from the block formatting context block. svn path=/trunk/netsurf/; revision=12476
* First pass at core iframes. Currently lacking scrollbars.Michael Drake2011-06-141-12/+61
| | | | svn path=/trunk/netsurf/; revision=12474
* Use height type enum.Michael Drake2011-05-161-2/+3
| | | | svn path=/trunk/netsurf/; revision=12413
* Elements replaced with HTML don't affect parent descendants.Michael Drake2011-05-101-1/+4
| | | | svn path=/trunk/netsurf/; revision=12365
* s/scroll/scrollbar/ and improve scrollbar widget comments.Michael Drake2011-05-091-1/+1
| | | | svn path=/trunk/netsurf/; revision=12363
* Merge branches/jmb/content-factory to trunkJohn Mark Bell2011-05-061-23/+22
| | | | svn path=/trunk/netsurf/; revision=12283
* Reduce number of page reflows and viewportMichael Drake2011-04-271-14/+27
| | | | | | | | | | | redraws as images are fetched: + Flag known-sized boxes generated by images. + Treat them as replaced all through layout. + Only reflow the document for fetched images if we don't already have the box at the right size. svn path=/trunk/netsurf/; revision=12243
* Optimise first pass of layout. Reduces number of nsfont_width calls by up ↵Michael Drake2011-04-261-11/+36
| | | | | | to the page's word count. svn path=/trunk/netsurf/; revision=12239
* Change how blocks are positioned vertically (esp. margin handling).Michael Drake2011-04-221-60/+217
| | | | svn path=/trunk/netsurf/; revision=12235
* Fix build with NDEBUG definedJohn Mark Bell2011-04-031-2/+89
| | | | svn path=/trunk/netsurf/; revision=12154
* Allow box margins to collapse through zero-height boxes.Michael Drake2011-03-121-10/+51
| | | | svn path=/trunk/netsurf/; revision=11981
* Saturated maths in css fixed point Vincent Sanders2011-03-121-4/+4
| | | | svn path=/trunk/netsurf/; revision=11975
* Update left/right margins comment.Michael Drake2011-03-121-2/+2
| | | | svn path=/trunk/netsurf/; revision=11967
* Esimated width is fine for last box.Michael Drake2011-03-051-2/+4
| | | | svn path=/trunk/netsurf/; revision=11922
* Ensure box has appropriate space before cloning.Michael Drake2011-03-051-6/+14
| | | | svn path=/trunk/netsurf/; revision=11921
* Make sure the last clone box for a wrapped text is properly measuered.Michael Drake2011-03-051-0/+15
| | | | svn path=/trunk/netsurf/; revision=11920