Commit Graph

105 Commits

Author SHA1 Message Date
Michael Drake
decdefb7b1 Add table border styles to default CSS.
svn path=/trunk/netsurf/; revision=9542
2009-09-05 14:57:15 +00:00
John Mark Bell
b0f127aa2c Support HTML alignment hints.
svn path=/trunk/netsurf/; revision=9381
2009-08-21 17:05:22 +00:00
Michael Drake
83acae8e1f Add default line-height for form elements. Fixes squashed Google homepage.
svn path=/trunk/netsurf/; revision=9012
2009-08-03 09:10:45 +00:00
Michael Drake
836859763e Undo alignment change pending proper implementation of HTML alignment.
svn path=/trunk/netsurf/; revision=8764
2009-07-24 00:20:59 +00:00
Michael Drake
010774fb25 Remove old forced table cell text alignement.
svn path=/trunk/netsurf/; revision=8759
2009-07-23 23:54:49 +00:00
Michael Drake
17373c1911 Remove default margin from form elements, to match other browsers.
svn path=/trunk/netsurf/; revision=7385
2009-05-01 17:57:20 +00:00
John Mark Bell
250f5c2cae Relative font size hackery. This will do until libcss is done.
svn path=/trunk/netsurf/; revision=7143
2009-04-21 01:02:20 +00:00
John Mark Bell
730e7dc582 title { display: none; }
svn path=/trunk/netsurf/; revision=6582
2009-02-20 15:06:53 +00:00
Michael Drake
2138d4f327 Give iframes an initial size.
svn path=/trunk/netsurf/; revision=6357
2009-02-02 22:07:24 +00:00
Michael Drake
8dea43fc35 Do our default page margin with a margin on BODY, like other browsers and the CSS 2.1 spec example default style sheet for HTML 4.01.
svn path=/trunk/netsurf/; revision=5928
2008-12-27 00:10:57 +00:00
Michael Drake
2c405248b4 Don't display noembed content.
svn path=/trunk/netsurf/; revision=5163
2008-08-21 19:34:23 +00:00
John Mark Bell
191d876e41 Merged revisions 4859-5013,5016-5018 via svnmerge from
svn://source.netsurf-browser.org/branches/takkaria/netsurf-hubbub

........
  r4860 | takkaria | 2008-08-02 03:51:35 +0100 (Sat, 02 Aug 2008) | 2 lines
  
  A really horribly rough first go at integrating hubbub with NetSurf.  Segfaults, but I'm not sure what I've done wrong.
........
  r4861 | jmb | 2008-08-02 05:01:19 +0100 (Sat, 02 Aug 2008) | 3 lines
  
  Fix segfault caused by mismatched struct layout expectations.
  Fix warnings, too.
........
  r4862 | jmb | 2008-08-02 05:11:02 +0100 (Sat, 02 Aug 2008) | 2 lines
  
  Destroy parser as soon as it's no longer needed, and flag this so that html_destroy doesn't cause things to trample all over the heap.
........
  r4863 | takkaria | 2008-08-02 15:30:34 +0100 (Sat, 02 Aug 2008) | 2 lines
  
  Remove deugging printf()s, add Aliases file, add script { display: none; } block.
........
  r4868 | takkaria | 2008-08-02 22:14:55 +0100 (Sat, 02 Aug 2008) | 2 lines
  
  Fix a segfault bug.
........
  r4869 | takkaria | 2008-08-02 22:17:58 +0100 (Sat, 02 Aug 2008) | 2 lines
  
  Add gtk/res/Aliases as a symlink to the one in !NS/Resources
........
  r4870 | takkaria | 2008-08-02 22:26:31 +0100 (Sat, 02 Aug 2008) | 2 lines
  
  Fix symlink.
........
  r4885 | jmb | 2008-08-03 23:26:54 +0100 (Sun, 03 Aug 2008) | 2 lines
  
  Make multiple parallel parser instances work correctly.
........
  r4886 | tlsa | 2008-08-04 00:21:29 +0100 (Mon, 04 Aug 2008) | 1 line
  
  Don't display contents of STYLE.
........
  r4891 | jmb | 2008-08-04 01:18:07 +0100 (Mon, 04 Aug 2008) | 5 lines
  
  Fix reparent_children to actually work
  Make get_parent_node pay attention to the element_only flag
  Fixup node referencing when appending a text child
  Make clone_node clone attributes and namespace information in the non-deep case
........
  r4918 | jmb | 2008-08-05 15:27:03 +0100 (Tue, 05 Aug 2008) | 2 lines
  
  Fix debug target
........
  r4944 | takkaria | 2008-08-07 12:56:50 +0100 (Thu, 07 Aug 2008) | 2 lines
  
  Use talloc to allocate space for Hubbub.
........
  r4993 | takkaria | 2008-08-10 17:49:47 +0100 (Sun, 10 Aug 2008) | 2 lines
  
  Stub out the encoding change callback so NS-hubbub compiles again.
........
  r4994 | takkaria | 2008-08-10 18:02:33 +0100 (Sun, 10 Aug 2008) | 2 lines
  
  Tell Hubbub the encoding that HTTP gives us, if we have one.
........
  r5001 | takkaria | 2008-08-11 02:53:24 +0100 (Mon, 11 Aug 2008) | 2 lines
  
  First go at implementing proper <meta charset> support in NetSurf, amongst some refactoring.  Probably works, but I have no pages around to test it on.
........
  r5002 | takkaria | 2008-08-11 02:56:35 +0100 (Mon, 11 Aug 2008) | 2 lines
  
  Fix (I hope) a 64-bit compiler warning.
........
  r5012 | takkaria | 2008-08-11 08:40:28 +0100 (Mon, 11 Aug 2008) | 2 lines
  
  Fix some nits from jmb.  (Remove const from html->encoding, set encoding_source to something about right.)
........
  r5013 | takkaria | 2008-08-11 08:48:50 +0100 (Mon, 11 Aug 2008) | 2 lines
  
  Properly fix <meta charset> handling, by passing in the right thing as the context.  No idea how this worked before. :) (credit: jmb)
........
  r5017 | jmb | 2008-08-11 09:13:22 +0100 (Mon, 11 Aug 2008) | 7 lines
  
  Pedantic typo fix.
  Make Hubbub YES when building for RISC OS.
  Make Hubbub AUTO when building for GTK
  Ignore the presence of Hubbub on other platforms.
  Remove the explicit libparserutils pkg-config stuff from the makefile (see r5016)
  Add some logic that means Hubbub gets enabled correctly when building on RISC OS and when cross-compiling for it. (This is ugly and will go away when pkg-config is available on RO)
........

svn path=/trunk/netsurf/; revision=5019
2008-08-11 08:17:48 +00:00
Michael Drake
4110152a62 Change handling of form element widths / heights.
svn path=/trunk/netsurf/; revision=4107
2008-04-25 14:15:18 +00:00
Michael Drake
384327a279 Default size for textareas.
svn path=/trunk/netsurf/; revision=4080
2008-04-07 09:03:21 +00:00
Michael Drake
a4e1ffda1a Improve handling of HTML attributes / markup:
* Only apply presentational HTML attributes if no more
   important CSS has been set for the property. (NetSurf used
   to be a bit hit-and-miss when presentational markup and
   CSS were mixed.)
 * Change table cellpadding and border handling to happen as
   soon the boxes styles are available, rather than after the
   whole table has been constructed. Also fix default table
   border colour.
 * Improve handling of CENTER tag and ALIGN attribute. These
   could not be correctly supported in the default CSS file,
   so block level element alignment is now done during box
   construction. (Fixes #1891379, #1824492, #1723853)
Form improvements:
 * Small MAXLENGTH values on text inputs now reduce element
   width. (Fixes #1894854)
 * Prevent select option text from wrapping.

svn path=/trunk/netsurf/; revision=3866
2008-02-25 16:37:48 +00:00
Michael Drake
a86e38d9cc Tweak select element style.
svn path=/trunk/netsurf/; revision=3856
2008-02-11 21:18:53 +00:00
Michael Drake
7d748ae2ff Select element width is width of longest option text.
svn path=/trunk/netsurf/; revision=3855
2008-02-11 17:53:00 +00:00
Michael Drake
eb2c2e3f63 Remove dubious default CSS rule.
svn path=/trunk/netsurf/; revision=3822
2008-02-02 13:36:30 +00:00
Michael Drake
43e365f0aa Ensure button style is the same as input type=button.
svn path=/trunk/netsurf/; revision=3820
2008-02-02 09:53:42 +00:00
Michael Drake
477cfc8baf Treat font tag relative sizes of +/- >1 the same as one.
svn path=/trunk/netsurf/; revision=3817
2008-02-02 00:48:39 +00:00
Michael Drake
120ca506c1 Make text input boxes with height:auto; and no initial value get a sensible height. Make all form elements have their dimensions based on the configured minimum font size, if the current text size is smaller. Remove redundant code for setting radio icon and checkbox sizes. All em/ex based sizes now respect the min font size, when it's in effect. Updated default styles for form elements.
svn path=/trunk/netsurf/; revision=3813
2008-02-02 00:13:19 +00:00
Michael Drake
0309c25c2e Revert last change because it made the tracker almost unusable.
svn path=/trunk/netsurf/; revision=3810
2008-01-30 22:09:41 +00:00
Michael Drake
087516561f Support SUP and SUB tags with relative position in default CSS file.
svn path=/trunk/netsurf/; revision=3808
2008-01-30 18:30:59 +00:00
Michael Drake
0c311cf6a2 Add stylesheet for GTK specific rules.
svn path=/trunk/netsurf/; revision=3802
2008-01-29 14:00:56 +00:00
Michael Drake
b74a1a173e Tidy default form element styles.
svn path=/trunk/netsurf/; revision=3801
2008-01-29 13:03:29 +00:00
Michael Drake
75fe183d01 Apply default margin to select and textarea elements too.
svn path=/trunk/netsurf/; revision=3790
2008-01-28 02:25:30 +00:00
Michael Drake
b2b6fa0f10 Make inline-blocks have margins. Add defualt margin around form inputs.
svn path=/trunk/netsurf/; revision=3779
2008-01-27 17:39:14 +00:00
Michael Drake
d13ac3b066 Increase default font size and line spacing.
svn path=/trunk/netsurf/; revision=3660
2007-12-09 11:13:25 +00:00
Michael Drake
ac084adfb2 Put alignment stuff back to how it was in the release branch. However it is done in the default CSS file, there are problems. We may as well have the same problems in the release and development builds.
svn path=/trunk/netsurf/; revision=3651
2007-11-05 15:39:54 +00:00
Michael Drake
189f9f7492 Update alignment rules again.
svn path=/trunk/netsurf/; revision=3640
2007-11-01 21:59:35 +00:00
Michael Drake
e5d3a2e792 Update alignment rules.
svn path=/trunk/netsurf/; revision=3639
2007-11-01 21:44:44 +00:00
Michael Drake
bd590f4f99 Add rule to make it visually clearer that a menu is available on SELECT elements. (This will have no effect until :after and content: are implemented.)
svn path=/trunk/netsurf/; revision=3607
2007-09-29 11:51:10 +00:00
Michael Drake
65d727b190 More alignment changes.
svn path=/trunk/netsurf/; revision=3298
2007-05-21 12:58:14 +00:00
Michael Drake
87836a2b3d Treat CENTER like other browsers do.
svn path=/trunk/netsurf/; revision=3297
2007-05-21 10:59:55 +00:00
James Bursa
829f34b994 Remove form margin (broke centered forms and not needed).
svn path=/trunk/netsurf/; revision=3138
2007-01-09 19:43:52 +00:00
Michael Drake
2a5d4eacc5 Change nested list style.
svn path=/trunk/netsurf/; revision=3137
2007-01-09 18:14:22 +00:00
Richard Wilson
f7fe971613 Make default CSS rules closer to the w3c suggestions.
svn path=/trunk/netsurf/; revision=3136
2007-01-06 16:11:51 +00:00
Michael Drake
699a0e34ca Use netsurf-browser.org domain.
svn path=/trunk/netsurf/; revision=3069
2006-11-26 19:07:36 +00:00
Michael Drake
5adbed530c Fix gap between list marker and list content.
svn path=/trunk/netsurf/; revision=3040
2006-11-10 14:53:46 +00:00
Michael Drake
6d6ab5399c Update default list style types.
svn path=/trunk/netsurf/; revision=3038
2006-11-05 22:49:17 +00:00
James Bursa
f546f6b5e7 Implement list-style-type circle, square, none, and decimal.
svn path=/trunk/netsurf/; revision=3034
2006-11-05 19:50:34 +00:00
James Bursa
fc197a4835 Use new list support for li.
svn path=/trunk/netsurf/; revision=3033
2006-11-05 17:46:51 +00:00
Michael Drake
3590fa427c Update bullet image name.
svn path=/trunk/netsurf/; revision=2887
2006-08-24 17:18:47 +00:00
Michael Drake
45c6e7acdd Update bullet path.
svn path=/trunk/netsurf/; revision=2886
2006-08-24 17:12:39 +00:00
Michael Drake
229731ac82 Center text in TH.
svn path=/trunk/netsurf/; revision=2544
2006-04-22 09:24:27 +00:00
Michael Drake
9fd4526003 [project @ 2006-03-27 00:04:04 by tlsa]
Tweak various element's default margins.

svn path=/import/netsurf/; revision=2192
2006-03-27 00:04:04 +00:00
Michael Drake
1c1c7d4332 [project @ 2006-03-26 23:41:55 by tlsa]
Give PRE a bottom margin of 0.5em by default.

svn path=/import/netsurf/; revision=2190
2006-03-26 23:41:55 +00:00
Michael Drake
63bcda7110 [project @ 2005-11-21 20:46:21 by tlsa]
Align attribute on table rows and cells affects block level elements.

svn path=/import/netsurf/; revision=1882
2005-11-21 20:46:21 +00:00
Michael Drake
823c0fd52f [project @ 2005-11-14 17:51:38 by tlsa]
Add rule for hr[noshade].

svn path=/import/netsurf/; revision=1878
2005-11-14 17:51:38 +00:00
Michael Drake
005c5f32a8 [project @ 2005-08-29 13:58:33 by tlsa]
Update default HR style.

svn path=/import/netsurf/; revision=1855
2005-08-29 13:58:33 +00:00