James Bursa
|
dffc8779ed
|
Set height of all text boxes in a line to the height of the highest one. 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
|
2009-07-23 02:29:12 +00:00 |
|
John Mark Bell
|
6e13c2fb0a
|
Scale font sizes, for better accuracy.
svn path=/trunk/netsurf/; revision=8657
|
2009-07-21 16:55:35 +00:00 |
|
Michael Drake
|
4ff22c67df
|
Fix render colour of selected text.
svn path=/trunk/netsurf/; revision=8642
|
2009-07-21 11:33:55 +00:00 |
|
John Mark Bell
|
2565a37a52
|
Refactor text plotter and other font functions to remove dependency on CSS.
svn path=/trunk/netsurf/; revision=8641
|
2009-07-21 10:59:53 +00:00 |
|
Michael Drake
|
12cdd0f6dd
|
Fix comment.
svn path=/trunk/netsurf/; revision=8520
|
2009-07-14 13:13:47 +00:00 |
|
Michael Drake
|
2d95b8aa57
|
Rename debug outline plot styles and make them const.
svn path=/trunk/netsurf/; revision=8518
|
2009-07-14 12:42:02 +00:00 |
|
Michael Drake
|
336b21198d
|
Plot debug outlines after borders and backgrounds, so that they can be seen 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
|
2009-07-14 11:45:29 +00:00 |
|
Michael Drake
|
08fc83b189
|
Simplify debug outline calculations and avoid fp maths when scale is 1.0. Comment some border stuff.
svn path=/trunk/netsurf/; revision=8514
|
2009-07-14 11:26:44 +00:00 |
|
Michael Drake
|
8365d46eb7
|
Rename TRANSPARENT to NS_TRANSPARENT to avoid clash on Windows. By MarkieB.
svn path=/trunk/netsurf/; revision=8513
|
2009-07-14 10:57:07 +00:00 |
|
Vincent Sanders
|
86232d72a6
|
next round of plotter refactor
svn path=/trunk/netsurf/; revision=8512
|
2009-07-14 10:03:58 +00:00 |
|
Michael Drake
|
ed2206316c
|
Positioned elements are taken out of normal flow, so don't let them affect min/max width calculations.
svn path=/trunk/netsurf/; revision=8502
|
2009-07-13 15:37:54 +00:00 |
|
Michael Drake
|
ebe0db1864
|
Delete html_redraw lighter/darker and use the colour tweakers in plot_style.
svn path=/trunk/netsurf/; revision=8452
|
2009-07-10 20:38:57 +00:00 |
|
Michael Drake
|
e0a4b50e87
|
Move colour blend routine from html_redraw to plot_style and make it a define.
svn path=/trunk/netsurf/; revision=8451
|
2009-07-10 19:53:30 +00:00 |
|
Michael Drake
|
96d8e9335c
|
Remove html_redraw_aa because it is the same as html_redraw_blend. Fix html_redraw_blend to be 50/50 instead of 75/25.
svn path=/trunk/netsurf/; revision=8448
|
2009-07-10 19:09:33 +00:00 |
|
Vincent Sanders
|
680298e61c
|
plotters line refactor
svn path=/trunk/netsurf/; revision=8446
|
2009-07-10 18:36:49 +00:00 |
|
John Mark Bell
|
5feb7018c5
|
Replace parent_url with a pointer to the parent content.
svn path=/trunk/netsurf/; revision=8428
|
2009-07-10 00:26:37 +00:00 |
|
Vincent Sanders
|
f9ecd56f62
|
ploter refactor of rectangle handling
svn path=/trunk/netsurf/; revision=8399
|
2009-07-08 22:04:40 +00:00 |
|
Michael Drake
|
21a2bfc53c
|
Style guide indentation.
svn path=/trunk/netsurf/; revision=8345
|
2009-07-06 10:38:13 +00:00 |
|
Michael Drake
|
7372218033
|
Fix indentation to use tabs instead of spaces.
svn path=/trunk/netsurf/; revision=8344
|
2009-07-06 10:33:19 +00:00 |
|
Vincent Sanders
|
0ade453958
|
Refactor fill plotter to take a style
svn path=/trunk/netsurf/; revision=8332
|
2009-07-05 20:10:17 +00:00 |
|
John Mark Bell
|
2dbf92761f
|
Fix stupid
svn path=/trunk/netsurf/; revision=8275
|
2009-07-02 23:05:10 +00:00 |
|
John Mark Bell
|
e6f70d9760
|
Make this more legible and squash leaks.
svn path=/trunk/netsurf/; revision=8273
|
2009-07-02 22:35:15 +00:00 |
|
Vincent Sanders
|
1165edf662
|
remove redundant clg call
svn path=/trunk/netsurf/; revision=8240
|
2009-07-01 13:53:06 +00:00 |
|
Michael Drake
|
f9b905be95
|
Fix assert when replaced element has display:table;.
svn path=/trunk/netsurf/; revision=7950
|
2009-06-24 15:43:24 +00:00 |
|
John Mark Bell
|
90c0fb6f3e
|
Fix frame targets.
svn path=/trunk/netsurf/; revision=7729
|
2009-06-08 09:34:58 +00:00 |
|
Michael Drake
|
1a0f62f529
|
Don't need height of css positioned boxes when laying out boxes in normal flow.
svn path=/trunk/netsurf/; revision=7656
|
2009-05-30 12:22:22 +00:00 |
|
Michael Drake
|
798f421a88
|
When computing relative offset values for floats, use block formatting context for containing block, rather than parent.
svn path=/trunk/netsurf/; revision=7614
|
2009-05-28 18:06:49 +00:00 |
|
Michael Drake
|
8f9b03578f
|
Remove redundant increment.
svn path=/trunk/netsurf/; revision=7596
|
2009-05-28 11:48:32 +00:00 |
|
Michael Drake
|
a7c3c7bf15
|
Remove redundant calculation.
svn path=/trunk/netsurf/; revision=7595
|
2009-05-28 11:46:14 +00:00 |
|
Michael Drake
|
b595970d82
|
Reorganise some conditions and only try to deal with min-height and max-height where it should be done.
svn path=/trunk/netsurf/; revision=7594
|
2009-05-28 11:14:32 +00:00 |
|
John Mark Bell
|
243c1ba03f
|
Limit scope of manually-defined NDEBUG. Purge a bunch of redundant #undef NDEBUG.
svn path=/trunk/netsurf/; revision=7593
|
2009-05-28 10:39:53 +00:00 |
|
Michael Drake
|
ee4beae9e2
|
Remove unused code.
svn path=/trunk/netsurf/; revision=7591
|
2009-05-27 20:14:36 +00:00 |
|
Michael Drake
|
223818b84c
|
Make layout_apply_minmax_height assert if it's called with a box that shouldn't exist.
svn path=/trunk/netsurf/; revision=7590
|
2009-05-27 19:43:03 +00:00 |
|
Michael Drake
|
50219b81e6
|
Pedantic wrap.
svn path=/trunk/netsurf/; revision=7589
|
2009-05-27 19:17:16 +00:00 |
|
Michael Drake
|
7bb2aa7cbb
|
Remove a couple of superfluous conditions.
svn path=/trunk/netsurf/; revision=7588
|
2009-05-27 19:11:07 +00:00 |
|
Michael Drake
|
5b33c1e723
|
Remove dead assignment
svn path=/trunk/netsurf/; revision=7587
|
2009-05-27 18:43:14 +00:00 |
|
Michael Drake
|
65a888dd87
|
Handle percentage table heights. Spare height is still not distributed over cells.
svn path=/trunk/netsurf/; revision=7439
|
2009-05-08 11:43:38 +00:00 |
|
Michael Drake
|
c2ecbebd3d
|
Fix viewport height handling not to obliterate calculation
of root element height from children's dimensions.
Improve handling of percentage heights on HTML and BODY.
svn path=/trunk/netsurf/; revision=7429
|
2009-05-07 16:22:38 +00:00 |
|
Michael Drake
|
129fb84ed5
|
Make layout_block_context() private.
svn path=/trunk/netsurf/; revision=7406
|
2009-05-06 14:20:46 +00:00 |
|
Michael Drake
|
a008d3486e
|
Move special casing of form element dimensions out into separate helper function.
svn path=/trunk/netsurf/; revision=7403
|
2009-05-06 11:16:06 +00:00 |
|
Michael Drake
|
5a35e5cd97
|
Make form elements with specified sizes include paddings and borders in their sizes in some cases.
svn path=/trunk/netsurf/; revision=7386
|
2009-05-01 18:00:01 +00:00 |
|
John Mark Bell
|
c18945f771
|
Fix numbering of floated list items
svn path=/trunk/netsurf/; revision=7361
|
2009-04-29 10:44:20 +00:00 |
|
Michael Drake
|
68a72d17ab
|
Allow box at point to search descendant space of boxes with no style.
svn path=/trunk/netsurf/; revision=7359
|
2009-04-28 21:24:11 +00:00 |
|
Michael Drake
|
a99a5bdd70
|
Move handling of TR height attribute from box construction to layout and add support for height property on TR.
svn path=/trunk/netsurf/; revision=7358
|
2009-04-28 20:13:10 +00:00 |
|
Michael Drake
|
044a953400
|
Make box_at_point() only return boxes if the point is physically contained 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
|
2009-04-27 10:20:44 +00:00 |
|
John Mark Bell
|
f4afb83815
|
I deleted this, honest.
svn path=/trunk/netsurf/; revision=7144
|
2009-04-21 01:32:48 +00:00 |
|
John Mark Bell
|
56000c4736
|
If we calculate the height of the root box to be AUTO, set it to the viewport height before laying out the document (makes html, body { height: 100%; } behave correctly)
svn path=/trunk/netsurf/; revision=7127
|
2009-04-17 17:28:38 +00:00 |
|
John Mark Bell
|
daf7a52dd6
|
Hubbub is no longer optional.
Remove libxml2 parser binding.
svn path=/trunk/netsurf/; revision=7115
|
2009-04-17 00:54:27 +00:00 |
|
John Mark Bell
|
6a7b1a73a7
|
Fix compilation with GCC 2.95.
It astounds me how some of this lot compiled at all.
svn path=/trunk/netsurf/; revision=7104
|
2009-04-16 12:49:49 +00:00 |
|
Michael Drake
|
3a12ed0fac
|
Update some comments.
svn path=/trunk/netsurf/; revision=7092
|
2009-04-15 13:22:28 +00:00 |
|