summaryrefslogtreecommitdiff
path: root/render
Commit message (Collapse)AuthorAgeFilesLines
* Merge LibCSS port to trunk.John Mark Bell2009-07-2322-2595/+2804
| | | | svn path=/trunk/netsurf/; revision=8752
* Set height of all text boxes in a line to the height of the highest one. ↵James Bursa2009-07-231-2/+11
| | | | | | This aligns the baseline of text which changes font size in a line. However, when the inline-block is reflowed, the heights do not shrink again where they could. svn path=/trunk/netsurf/; revision=8716
* Scale font sizes, for better accuracy.John Mark Bell2009-07-211-1/+2
| | | | svn path=/trunk/netsurf/; revision=8657
* Fix render colour of selected text.Michael Drake2009-07-211-3/+3
| | | | svn path=/trunk/netsurf/; revision=8642
* Refactor text plotter and other font functions to remove dependency on CSS.John Mark Bell2009-07-217-70/+266
| | | | svn path=/trunk/netsurf/; revision=8641
* Fix comment.Michael Drake2009-07-141-1/+1
| | | | svn path=/trunk/netsurf/; revision=8520
* Rename debug outline plot styles and make them const.Michael Drake2009-07-141-6/+6
| | | | svn path=/trunk/netsurf/; revision=8518
* Plot debug outlines after borders and backgrounds, so that they can be seen ↵Michael Drake2009-07-141-37/+40
| | | | | | when things are coloured. Plot content edge before padding edge, so that the colour for the outermost edge is always shown when margin, border or padding are 0. svn path=/trunk/netsurf/; revision=8515
* Simplify debug outline calculations and avoid fp maths when scale is 1.0. ↵Michael Drake2009-07-141-31/+52
| | | | | | Comment some border stuff. svn path=/trunk/netsurf/; revision=8514
* Rename TRANSPARENT to NS_TRANSPARENT to avoid clash on Windows. By MarkieB.Michael Drake2009-07-142-25/+28
| | | | svn path=/trunk/netsurf/; revision=8513
* next round of plotter refactorVincent Sanders2009-07-141-60/+94
| | | | svn path=/trunk/netsurf/; revision=8512
* Positioned elements are taken out of normal flow, so don't let them affect ↵Michael Drake2009-07-131-0/+11
| | | | | | min/max width calculations. svn path=/trunk/netsurf/; revision=8502
* Delete html_redraw lighter/darker and use the colour tweakers in plot_style.Michael Drake2009-07-101-50/+22
| | | | svn path=/trunk/netsurf/; revision=8452
* Move colour blend routine from html_redraw to plot_style and make it a define.Michael Drake2009-07-101-25/+10
| | | | svn path=/trunk/netsurf/; revision=8451
* Remove html_redraw_aa because it is the same as html_redraw_blend. Fix ↵Michael Drake2009-07-101-27/+11
| | | | | | html_redraw_blend to be 50/50 instead of 75/25. svn path=/trunk/netsurf/; revision=8448
* plotters line refactorVincent Sanders2009-07-101-98/+119
| | | | svn path=/trunk/netsurf/; revision=8446
* Replace parent_url with a pointer to the parent content.John Mark Bell2009-07-101-5/+5
| | | | svn path=/trunk/netsurf/; revision=8428
* ploter refactor of rectangle handling Vincent Sanders2009-07-082-33/+32
| | | | svn path=/trunk/netsurf/; revision=8399
* Style guide indentation.Michael Drake2009-07-061-6/+6
| | | | svn path=/trunk/netsurf/; revision=8345
* Fix indentation to use tabs instead of spaces.Michael Drake2009-07-061-40/+40
| | | | svn path=/trunk/netsurf/; revision=8344
* Refactor fill plotter to take a styleVincent Sanders2009-07-052-32/+73
| | | | svn path=/trunk/netsurf/; revision=8332
* Fix stupidJohn Mark Bell2009-07-021-2/+3
| | | | svn path=/trunk/netsurf/; revision=8275
* Make this more legible and squash leaks.John Mark Bell2009-07-021-121/+127
| | | | svn path=/trunk/netsurf/; revision=8273
* remove redundant clg callVincent Sanders2009-07-012-2/+2
| | | | svn path=/trunk/netsurf/; revision=8240
* Fix assert when replaced element has display:table;.Michael Drake2009-06-241-2/+4
| | | | svn path=/trunk/netsurf/; revision=7950
* Fix frame targets.John Mark Bell2009-06-081-2/+3
| | | | svn path=/trunk/netsurf/; revision=7729
* Don't need height of css positioned boxes when laying out boxes in normal flow.Michael Drake2009-05-301-5/+1
| | | | svn path=/trunk/netsurf/; revision=7656
* When computing relative offset values for floats, use block formatting ↵Michael Drake2009-05-281-2/+11
| | | | | | context for containing block, rather than parent. svn path=/trunk/netsurf/; revision=7614
* Remove redundant increment.Michael Drake2009-05-281-2/+2
| | | | svn path=/trunk/netsurf/; revision=7596
* Remove redundant calculation.Michael Drake2009-05-281-1/+0
| | | | svn path=/trunk/netsurf/; revision=7595
* Reorganise some conditions and only try to deal with min-height and ↵Michael Drake2009-05-281-21/+33
| | | | | | max-height where it should be done. svn path=/trunk/netsurf/; revision=7594
* Limit scope of manually-defined NDEBUG. Purge a bunch of redundant #undef ↵John Mark Bell2009-05-284-1/+3
| | | | | | NDEBUG. svn path=/trunk/netsurf/; revision=7593
* Remove unused code.Michael Drake2009-05-271-11/+2
| | | | svn path=/trunk/netsurf/; revision=7591
* Make layout_apply_minmax_height assert if it's called with a box that ↵Michael Drake2009-05-271-1/+2
| | | | | | shouldn't exist. svn path=/trunk/netsurf/; revision=7590
* Pedantic wrap.Michael Drake2009-05-271-1/+2
| | | | svn path=/trunk/netsurf/; revision=7589
* Remove a couple of superfluous conditions.Michael Drake2009-05-271-4/+4
| | | | svn path=/trunk/netsurf/; revision=7588
* Remove dead assignmentMichael Drake2009-05-271-2/+0
| | | | svn path=/trunk/netsurf/; revision=7587
* Handle percentage table heights. Spare height is still not distributed over ↵Michael Drake2009-05-081-10/+52
| | | | | | cells. svn path=/trunk/netsurf/; revision=7439
* Fix viewport height handling not to obliterate calculationMichael Drake2009-05-071-29/+42
| | | | | | | of root element height from children's dimensions. Improve handling of percentage heights on HTML and BODY. svn path=/trunk/netsurf/; revision=7429
* Make layout_block_context() private.Michael Drake2009-05-062-1/+1
| | | | svn path=/trunk/netsurf/; revision=7406
* Move special casing of form element dimensions out into separate helper ↵Michael Drake2009-05-061-61/+62
| | | | | | function. svn path=/trunk/netsurf/; revision=7403
* Make form elements with specified sizes include paddings and borders in ↵Michael Drake2009-05-011-48/+133
| | | | | | their sizes in some cases. svn path=/trunk/netsurf/; revision=7386
* Fix numbering of floated list itemsJohn Mark Bell2009-04-291-16/+40
| | | | svn path=/trunk/netsurf/; revision=7361
* Allow box at point to search descendant space of boxes with no style.Michael Drake2009-04-281-1/+2
| | | | svn path=/trunk/netsurf/; revision=7359
* Move handling of TR height attribute from box construction to layout and add ↵Michael Drake2009-04-282-49/+13
| | | | | | support for height property on TR. svn path=/trunk/netsurf/; revision=7358
* Make box_at_point() only return boxes if the point is physically contained ↵Michael Drake2009-04-272-50/+81
| | | | | | within them, and not if the point is mearly in the descendant area. (Fixes sites like BBC F1 page where whole page became an iPlayer link.) svn path=/trunk/netsurf/; revision=7335
* I deleted this, honest.John Mark Bell2009-04-211-0/+0
| | | | svn path=/trunk/netsurf/; revision=7144
* If we calculate the height of the root box to be AUTO, set it to the ↵John Mark Bell2009-04-171-0/+2
| | | | | | viewport height before laying out the document (makes html, body { height: 100%; } behave correctly) svn path=/trunk/netsurf/; revision=7127
* Hubbub is no longer optional.John Mark Bell2009-04-176-589/+1
| | | | | | Remove libxml2 parser binding. svn path=/trunk/netsurf/; revision=7115
* Fix compilation with GCC 2.95.John Mark Bell2009-04-164-13/+13
| | | | | | It astounds me how some of this lot compiled at all. svn path=/trunk/netsurf/; revision=7104