summaryrefslogtreecommitdiff
path: root/render
Commit message (Collapse)AuthorAgeFilesLines
* Sync hubbub binding with spec.John Mark Bell2009-03-101-3/+35
| | | | svn path=/trunk/netsurf/; revision=6769
* Squash warningsJohn Mark Bell2009-03-022-2/+2
| | | | svn path=/trunk/netsurf/; revision=6674
* Purge WITH_AUTHJohn Mark Bell2009-02-221-4/+0
| | | | svn path=/trunk/netsurf/; revision=6600
* Purge NETSURF_USE_SSL and WITH_SSLJohn Mark Bell2009-02-221-4/+0
| | | | svn path=/trunk/netsurf/; revision=6599
* Fix handling of buttons in successful control searchJohn Mark Bell2009-02-201-0/+1
| | | | svn path=/trunk/netsurf/; revision=6576
* If we have no document charset on completion of parse, retrieve it from the ↵John Mark Bell2009-02-203-8/+32
| | | | | | | | | | binding. Make the binding return Windows-1252 if it has no idea (as this is what the parser will have defaulted to). Fix form_new to not require a document charset to be present -- it may not be known at this point. Fixup form document charsets post-parse, so that form submission works correctly. svn path=/trunk/netsurf/; revision=6575
* Utilise hubbub's form association callback.John Mark Bell2009-02-206-154/+647
| | | | | | | | Please can we dispense with the libxml binding? It's causing much #ifdef mess. Fix encoding of <input type=image> names -- previously were output as raw utf-8, rather than in the submission charset. Actually bother to destroy forms in a document, and the controls associated with them. We still leak non form-associated controls, but that's too much effort to fix right now. svn path=/trunk/netsurf/; revision=6573
* Divorce PDF export and printing.John Mark Bell2009-02-171-11/+0
| | | | | | At some point, the RISC OS printing code should be ported to the core page-based output engine. svn path=/trunk/netsurf/; revision=6544
* Ensure URLs are normalized prior to fetching.John Mark Bell2009-02-101-6/+41
| | | | | | Squash memory leaks. svn path=/trunk/netsurf/; revision=6411
* Remove unused line_height stuff for now.Michael Drake2009-02-023-22/+3
| | | | svn path=/trunk/netsurf/; revision=6354
* Fix clear:both; when there's nothing to clear.Michael Drake2009-02-021-6/+10
| | | | svn path=/trunk/netsurf/; revision=6352
* Hubbub allows FONT tags to span blocks and the way thatMichael Drake2009-01-311-1/+1
| | | | | | | | the box tree is generated, this makes the BOX_INLINE's BOX_INLINE_END appears in a different BOX_BLOCK. That seems wrong, but fix layout not to crash for now. svn path=/trunk/netsurf/; revision=6325
* Make inline boxes store the height of their line box and include in box tree ↵Michael Drake2009-01-313-2/+23
| | | | | | dump. svn path=/trunk/netsurf/; revision=6319
* Fix scale of inline borders.Michael Drake2009-01-311-14/+13
| | | | svn path=/trunk/netsurf/; revision=6309
* Selection- and link-related functions now on menu; other menu changes as per ↵Adrian Lees2009-01-302-0/+31
| | | | | | t's plan svn path=/trunk/netsurf/; revision=6296
* Only get top margin if box has style.Michael Drake2009-01-291-14/+4
| | | | svn path=/trunk/netsurf/; revision=6295
* Include top margin when finding sides for block formatting contexts.Michael Drake2009-01-291-7/+27
| | | | svn path=/trunk/netsurf/; revision=6293
* Once a float has been placed below current line,Michael Drake2009-01-271-5/+9
| | | | | | | | ensure that subsequent floats are also placed below. Make place_float_below() consider float height when searching for available space. svn path=/trunk/netsurf/; revision=6287
* Fix specified table widths to include border. Tidy block formatting context ↵Michael Drake2009-01-261-8/+26
| | | | | | and table position setup. svn path=/trunk/netsurf/; revision=6281
* Fix -ve margins.Michael Drake2009-01-261-2/+2
| | | | svn path=/trunk/netsurf/; revision=6277
* More robust float avoidance for blocks set as block formatting contexts.Michael Drake2009-01-261-44/+75
| | | | svn path=/trunk/netsurf/; revision=6275
* Ignore clear:left; when the only floats are on the right and vice versa.Michael Drake2009-01-221-2/+4
| | | | svn path=/trunk/netsurf/; revision=6176
* Handle clear before working out available width for tables and blocks that ↵Michael Drake2009-01-221-10/+12
| | | | | | cause a new block formatting context. svn path=/trunk/netsurf/; revision=6174
* Fix placement of tables in normal flow next to floats. This stops big blank ↵Michael Drake2009-01-211-1/+12
| | | | | | gaps appearing e.g. at the top of wikipedia articles, on some google search results and on amazon product pages. svn path=/trunk/netsurf/; revision=6162
* Fix positioning of floats that come after floats with negative margins.Michael Drake2009-01-201-4/+8
| | | | svn path=/trunk/netsurf/; revision=6156
* Block formatting context width is only reduced due to floats if width is auto.Michael Drake2009-01-191-20/+26
| | | | svn path=/trunk/netsurf/; revision=6145
* Make blocks which establish a new block formatting context use have the ↵Michael Drake2009-01-181-0/+17
| | | | | | correct width and position to avoid overlapping floats. Fixes the main problem on the amazon.co.uk front page. svn path=/trunk/netsurf/; revision=6142
* Move handling of background related print options to background specific ↵Michael Drake2009-01-171-120/+130
| | | | | | functions. svn path=/trunk/netsurf/; revision=6119
* Charset fallbacks. If we don't support the charset declared in the HTTP ↵John Mark Bell2009-01-061-0/+27
| | | | | | header, fall back to autodetect. If we don't support the charset declared in a meta charset, fall back to Windows-1252. svn path=/trunk/netsurf/; revision=5974
* It's probably a good idea if we're consistent in which allocation routines ↵John Mark Bell2009-01-061-3/+6
| | | | | | we're using. svn path=/trunk/netsurf/; revision=5972
* More lenient refresh delay parsingJohn Mark Bell2008-12-301-2/+10
| | | | svn path=/trunk/netsurf/; revision=5948
* Only increase the root element's redraw box to cover margin, if the redraw ↵Michael Drake2008-12-271-18/+28
| | | | | | box isn't already bigger due to protruding descendants. svn path=/trunk/netsurf/; revision=5934
* Fix crash bug.Michael Drake2008-12-271-1/+1
| | | | svn path=/trunk/netsurf/; revision=5932
* Handle replaced inline borders and backgrounds like blocks.Michael Drake2008-12-271-5/+7
| | | | svn path=/trunk/netsurf/; revision=5930
* Plot backgrounds on the root element over margin box, as per CSS 2.1 spec.Michael Drake2008-12-271-19/+78
| | | | svn path=/trunk/netsurf/; revision=5927
* Fix display of inline borders when inline has no background.Michael Drake2008-12-261-1/+2
| | | | svn path=/trunk/netsurf/; revision=5924
* Fix some wrap to 80 chars and tabs for indentation.Michael Drake2008-12-261-94/+90
| | | | svn path=/trunk/netsurf/; revision=5923
* Don't apply text decoration if the box isn't text.Michael Drake2008-12-221-0/+2
| | | | svn path=/trunk/netsurf/; revision=5921
* C89François Revel2008-12-211-59/+64
| | | | svn path=/trunk/netsurf/; revision=5919
* Rewrite inline rendering. Fixes issues with borders,Michael Drake2008-12-214-119/+393
| | | | | | | | | background colour and background image display when inlines have margins and paddings. Support for background position on inlines. Fix BOX_INLINE descendant calculation to include BOX_INLINE_END. svn path=/trunk/netsurf/; revision=5916
* C89François Revel2008-11-291-6/+11
| | | | svn path=/trunk/netsurf/; revision=5837
* Process error page correctly.John Mark Bell2008-11-201-3/+31
| | | | | | TODO: Why don't *_process_data take a const pointer to the data? svn path=/trunk/netsurf/; revision=5757
* Don't care about chunk sizes.John Mark Bell2008-11-091-4/+0
| | | | svn path=/trunk/netsurf/; revision=5671
* Don't introduce an unnecessary error messageJohn Mark Bell2008-11-091-6/+9
| | | | svn path=/trunk/netsurf/; revision=5670
* Port to new hubbub parser APIJohn Mark Bell2008-11-094-70/+94
| | | | svn path=/trunk/netsurf/; revision=5669
* Take into account variations in text line height due to styled inlines when ↵Michael Drake2008-10-161-0/+2
| | | | | | laying out inline containers. svn path=/trunk/netsurf/; revision=5587
* Fixup hubbub bindingJohn Mark Bell2008-10-141-1/+1
| | | | svn path=/trunk/netsurf/; revision=5576
* Fix warnings on OS XJohn Mark Bell2008-10-141-0/+1
| | | | svn path=/trunk/netsurf/; revision=5573
* add bitmap.h include to silence some warnings on Fedora.Rob Kendrick2008-10-142-0/+2
| | | | svn path=/trunk/netsurf/; revision=5571
* Implement percentage min/max-height.Michael Drake2008-10-131-7/+65
| | | | svn path=/trunk/netsurf/; revision=5566