Commit Graph

107 Commits

Author SHA1 Message Date
Vincent Sanders
903f456547 two more presentational hints
svn path=/trunk/netsurf/; revision=13699
2012-03-25 16:38:17 +00:00
Daniel Silverstone
61716fc4f9 cellpadding presentational hint works
svn path=/trunk/netsurf/; revision=13698
2012-03-25 16:24:46 +00:00
John Mark Bell
0344970df4 Squash warnings
svn path=/trunk/netsurf/; revision=13695
2012-03-25 15:19:12 +00:00
Vincent Sanders
268f3514bf fix compile
svn path=/trunk/netsurf/; revision=13694
2012-03-25 15:14:25 +00:00
Vincent Sanders
e12566e1a1 add presentational hint routine for background image
svn path=/trunk/netsurf/; revision=13693
2012-03-25 15:12:15 +00:00
John Mark Bell
7491f60696 Fix up node_presentational_hint_text_align
svn path=/trunk/netsurf/; revision=13691
2012-03-25 15:02:08 +00:00
John Mark Bell
729b34fa3b Fix up node_presentational_hint_vertical_align
svn path=/trunk/netsurf/; revision=13690
2012-03-25 14:51:37 +00:00
Vincent Sanders
7aa4147940 split presentational hints function up
svn path=/trunk/netsurf/; revision=13689
2012-03-25 14:38:37 +00:00
Vincent Sanders
6ff2da6e31 fix node_is_link
add dom string globals to css handler

svn path=/trunk/netsurf/; revision=13678
2012-03-25 11:14:19 +00:00
Vincent Sanders
66f4d9a831 fix previous commit
svn path=/trunk/netsurf/; revision=13658
2012-03-25 09:26:39 +00:00
Vincent Sanders
60e5d80aea fix node_count_siblings
svn path=/trunk/netsurf/; revision=13657
2012-03-25 09:23:41 +00:00
Daniel Silverstone
b0e04780af node_is_empty
svn path=/trunk/netsurf/; revision=13655
2012-03-25 08:55:27 +00:00
John Mark Bell
d3463d9e2a Ensure parent is NULL if there is no parent
svn path=/trunk/netsurf/; revision=13648
2012-03-25 07:59:05 +00:00
Vincent Sanders
3576ad71cb fix up framebuffer build flags
fix select attributes

svn path=/trunk/netsurf/; revision=13643
2012-03-24 22:42:14 +00:00
Vincent Sanders
784b223387 continue conversion
svn path=/trunk/netsurf/; revision=13635
2012-03-24 22:21:25 +00:00
Vincent Sanders
6a62b3a561 three more callbacks fixed up
svn path=/trunk/netsurf/; revision=13629
2012-03-24 21:35:02 +00:00
John Mark Bell
aa49a54db5 Fix up node_has_attribute
svn path=/trunk/netsurf/; revision=13611
2012-03-24 19:40:06 +00:00
John Mark Bell
1688080e04 Beginnings of fixed up selection binding
svn path=/trunk/netsurf/; revision=13609
2012-03-24 18:48:14 +00:00
Vincent Sanders
1490b52a6b NetSurf options rework (a=vince r=daniels,jmb)
svn path=/trunk/netsurf/; revision=13548
2012-03-22 09:34:34 +00:00
Michael Drake
c876a37a5f Avoid a couple of strlen calls.
svn path=/trunk/netsurf/; revision=13005
2011-10-08 12:26:10 +00:00
John Mark Bell
4e574f1252 Improve performance of style selection
svn path=/trunk/netsurf/; revision=13000
2011-10-08 00:21:59 +00:00
Michael Drake
7805550e82 Port presentational hint backgrounds to nsurl.
svn path=/trunk/netsurf/; revision=12990
2011-10-07 22:07:57 +00:00
Michael Drake
201dcddff8 Port disabled :visited support to nsurl.
svn path=/trunk/netsurf/; revision=12961
2011-10-05 20:22:56 +00:00
Michael Drake
36eff6da2b Port more internals to nsurl. Front ends may need updating.
svn path=/trunk/netsurf/; revision=12926
2011-10-03 15:56:47 +00:00
John Mark Bell
088c91b127 More accurate legacy font size handling
svn path=/trunk/netsurf/; revision=12695
2011-08-31 21:12:57 +00:00
John Mark Bell
e71691bae8 Merge branches/jmb/content-factory to trunk
svn path=/trunk/netsurf/; revision=12283
2011-05-06 20:40:09 +00:00
John Mark Bell
b652e1f36e Sync with versioned libcss ABI
svn path=/trunk/netsurf/; revision=12008
2011-03-13 09:32:13 +00:00
John Mark Bell
ffd2e6095d Fix matching of universal element selectors
svn path=/trunk/netsurf/; revision=11979
2011-03-12 18:29:40 +00:00
John Mark Bell
1bfb8c9f89 Sync API with modern libcss
svn path=/trunk/netsurf/; revision=11977
2011-03-12 17:51:59 +00:00
Vincent Sanders
74f108ee4d Saturated maths in css fixed point
svn path=/trunk/netsurf/; revision=11975
2011-03-12 17:46:11 +00:00
John Mark Bell
28d1817bdd Fix bug #3171370: initialise font resolution callback pointers
svn path=/trunk/netsurf/; revision=11608
2011-02-03 09:31:11 +00:00
John Mark Bell
a8bc5d3916 Fix :root detection
svn path=/trunk/netsurf/; revision=11571
2011-01-31 23:14:13 +00:00
John Mark Bell
7661829e60 Various fixes for selection callbacks
svn path=/trunk/netsurf/; revision=11570
2011-01-31 22:31:47 +00:00
John Mark Bell
cf561c8a6e Sync selection engine binding with latest libcss
svn path=/trunk/netsurf/; revision=11561
2011-01-31 08:49:39 +00:00
Vincent Sanders
fbb1139214 add default system colour handlers to each frontend
svn path=/trunk/netsurf/; revision=11530
2011-01-30 13:40:47 +00:00
John Mark Bell
850160c40f Reflect new css_stylesheet_create API
svn path=/trunk/netsurf/; revision=11523
2011-01-29 14:53:18 +00:00
Michael Drake
12a9c138e6 Fix attempt to destroy selection resutls that don't exist.
svn path=/trunk/netsurf/; revision=11216
2011-01-05 19:53:35 +00:00
Michael Drake
08ed4c207f Update to new libcss API for simultanious selection for base element and its pseudo elements.
svn path=/trunk/netsurf/; revision=11215
2011-01-05 19:36:05 +00:00
Michael Drake
3c698793a0 Make function only used in the selection code private.
svn path=/trunk/netsurf/; revision=11193
2011-01-04 18:02:55 +00:00
John Mark Bell
08ca689172 Reflect changes to libcss API
svn path=/trunk/netsurf/; revision=11001
2010-12-05 14:24:29 +00:00
John Mark Bell
73ace49c5a Fix colours
svn path=/trunk/netsurf/; revision=10989
2010-12-04 21:52:26 +00:00
Rob Kendrick
974f42f8cf Only obey size property on input elements that are either text or password. Fixes submit buttons with size properties being too small/large.
svn path=/trunk/netsurf/; revision=10191
2010-03-28 18:33:10 +00:00
Daniel Silverstone
270ef59a98 Merge jmb/new-cache; r=dsilvers,rs=vince
svn path=/trunk/netsurf/; revision=10180
2010-03-28 12:56:39 +00:00
John Mark Bell
aaa14e7672 Fix erroneous switch fallthrough
svn path=/trunk/netsurf/; revision=9694
2009-11-22 14:12:49 +00:00
John Mark Bell
9e742f13da Log failures
svn path=/trunk/netsurf/; revision=9629
2009-10-12 17:38:22 +00:00
John Mark Bell
d442d4ff9f Yet more case insensitivity
svn path=/trunk/netsurf/; revision=9549
2009-09-06 22:49:32 +00:00
Michael Drake
cd07aa9d31 Fix for percentage values.
svn path=/trunk/netsurf/; revision=9546
2009-09-05 16:36:44 +00:00
Michael Drake
3dd906c813 Remove redundant line.
svn path=/trunk/netsurf/; revision=9545
2009-09-05 16:24:17 +00:00
Michael Drake
d8f4c0d029 Fix table border=0.
svn path=/trunk/netsurf/; revision=9544
2009-09-05 16:23:00 +00:00
Michael Drake
ca8a2b5af0 Fix defualt table cell border width and move border style from default css to code.
svn path=/trunk/netsurf/; revision=9543
2009-09-05 15:49:09 +00:00
John Mark Bell
d82b27ff58 Attribute value comparisons should be case insensitive
svn path=/trunk/netsurf/; revision=9537
2009-09-05 08:13:34 +00:00
John Mark Bell
0d412f5604 Sync with libcss.
svn path=/trunk/netsurf/; revision=9406
2009-08-23 07:58:33 +00:00
John Mark Bell
5552f2b06c Use new alignment scheme
svn path=/trunk/netsurf/; revision=9390
2009-08-22 09:56:41 +00:00
John Mark Bell
b0f127aa2c Support HTML alignment hints.
svn path=/trunk/netsurf/; revision=9381
2009-08-21 17:05:22 +00:00
John Mark Bell
efc284836b Sync with new libcss API. There's huge amounts of room for improvement in this implementation.
svn path=/trunk/netsurf/; revision=8883
2009-07-29 09:59:29 +00:00
John Mark Bell
c51b14383c Now that libwapcaplet guarantees NUL-termination of strings, stop copying them unnecessarily.
svn path=/trunk/netsurf/; revision=8785
2009-07-25 15:47:11 +00:00
John Mark Bell
ddeadd1c02 Merge LibCSS port to trunk.
svn path=/trunk/netsurf/; revision=8752
2009-07-23 23:05:34 +00:00