| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
followed for a given item and abort if a fixed limit is reached. This fixes sites which have pages that redirect to themselves.
Redirect handling is now transparent to clients of fetchcache.
The new scheme works as follows:
1) Request content for URL (fetchcache()
2) Start fetch of content (fetchcache_go()
3) If no redirect, continue through LOADING, READY, DONE etc. states as before
If redirect, receive NEWPTR for each redirect that occurs, then continue
through LOADING, READY, DONE etc. states as before.
The upshot of this is that redirects result in extra contents being created. It also means that, until LOADING has been received, the content (and thus the URL being fetched) may change. Therefore, fetchcache clients should expect to have to deal with transient data prior to LOADING occurring.
As a necessary side-effect of this, the HTML object URLs and CSS @import URLs are no longer stored alongside the relevant contents. These URLs can be accessed by interrogating the url member of struct content anyway, so it was a rather redundant scheme before.
svn path=/trunk/netsurf/; revision=3787
|
|
|
|
|
|
| |
colour parsing code common.
svn path=/trunk/netsurf/; revision=3625
|
|
|
|
|
|
| |
assumptions of 90.0 dpi from the CSS and layout engines.
svn path=/trunk/netsurf/; revision=3528
|
|
|
|
|
|
| |
contain appropriate licence text
svn path=/trunk/netsurf/; revision=3486
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
in includes
NetSurf includes are now done with ""s and other system includes with <>s as C intended.
The scandeps tool has been updated to only look for ""ed includes, and to verify that the
files exist in the tree before adding them to the dependency lines. The depend rule has
therefore been augmented to make sure the autogenerated files are built before it is run.
This is untested under self-hosted RISC OS builds. All else tested and works.
svn path=/trunk/netsurf/; revision=3307
|
|
|
|
| |
svn path=/trunk/netsurf/; revision=3073
|
|
|
|
|
|
|
| |
css.[ch]: Add css_len2pt to convert a CSS length to points for use on systems
which actually recognise that DPI might not be 90 all the time.
svn path=/import/netsurf/; revision=2114
|
|
|
|
|
|
| |
Ignore @import rules which occur after a valid rule.
svn path=/import/netsurf/; revision=1835
|
|
|
|
|
|
| |
Improve selector specificity support by adding "working stylesheets" with pre-sorted lists of rules. This also simplifies css_get_style(). The stylesheet origin is now encoded in the specificity. Improve output of css_dump_style().
svn path=/import/netsurf/; revision=1729
|
|
|
|
|
|
| |
Implement HTML table border setting. Improve support for the collapsing border model.
svn path=/import/netsurf/; revision=1632
|
|
|
|
|
|
| |
Move HTML contents almost fully over to talloc(), simplifying code. Improvements to title attributes, broken forms, cellpadding. Reorder functions in box_construct.c.
svn path=/import/netsurf/; revision=1608
|
|
|
|
|
|
| |
Experimental cellpadding support
svn path=/import/netsurf/; revision=1569
|
|
|
|
|
|
| |
Add const qualifiers to css_len2px arguments.
svn path=/import/netsurf/; revision=1516
|
|
|
|
|
|
| |
Read content, counter-reset and counter-increment properties.
svn path=/import/netsurf/; revision=1456
|
|
|
|
|
|
| |
Create interface for duplication and destruction of css_style structs.
svn path=/import/netsurf/; revision=1450
|
|
|
|
|
|
| |
Background work for CSS counters (CSS 2.1/12.4)
svn path=/import/netsurf/; revision=1449
|
|
|
|
|
|
| |
Handle property: inherit; properly
svn path=/import/netsurf/; revision=1441
|
|
|
|
|
|
| |
Fix #include path.
svn path=/import/netsurf/; revision=1307
|
|
|
|
|
|
|
|
| |
- Rename len() to css_len2px().
- Less compiler warnings concerning float/int implicit casts.
- More stddef.h type usuage.
svn path=/import/netsurf/; revision=1232
|
|
|
|
|
|
| |
Rationalise top, bottom, right and left property handling
svn path=/import/netsurf/; revision=1174
|
|
|
|
|
|
| |
Internal representation and parsing of most CSS2 properties.
svn path=/import/netsurf/; revision=1172
|
|
|
|
|
|
| |
Implement some CSS3 attribute selectors
svn path=/import/netsurf/; revision=1167
|
|
|
|
|
|
|
| |
Add overflow support.
Re-tabulate property table in ruleset.c
svn path=/import/netsurf/; revision=1087
|
|
|
|
|
|
| |
Parse CSS background shorthand property. Background rendering improvements.
svn path=/import/netsurf/; revision=1006
|
|
|
|
|
|
| |
Fix for crash caused by inline style attributes specifying background images.
svn path=/import/netsurf/; revision=961
|
|
|
|
|
|
| |
Add global content list. Better error handling in content code. Improved code documentation. Remove some obsolete functions. Implement debug window listing contents.
svn path=/import/netsurf/; revision=951
|
|
|
|
|
|
|
|
|
| |
Implement background-image, background-repeat, background-position and background-attachment CSS properties.
background-attachment and background-position need more work.
Some redraw issues remain.
svn path=/import/netsurf/; revision=938
|
|
|
|
|
|
| |
Revert this change because it breaks the autobuilder.
svn path=/import/netsurf/; revision=877
|
|
|
|
|
|
| |
Bring css_parser_Alloc() declaration inline with its implementation.
svn path=/import/netsurf/; revision=876
|
|
|
|
|
|
| |
CSS parsing improvements: new tokeniser using re2c, improve memory-exhaustion behaviour, plug leaks, reduce memory usage, clean up code, add source documention.
svn path=/import/netsurf/; revision=806
|
|
|
|
|
|
| |
Merge css_create() into css_convert().
svn path=/import/netsurf/; revision=782
|
|
|
|
|
|
| |
Implement CSS cursor property
svn path=/import/netsurf/; revision=705
|
|
|
|
|
|
| |
Add source_data to content structure and remove equivalents from individual contents.
svn path=/import/netsurf/; revision=606
|
|
|
|
|
|
| |
Add font size configuration and fix proxy options bug.
svn path=/import/netsurf/; revision=538
|
|
|
|
|
|
| |
Start at margin / padding / border support.
svn path=/import/netsurf/; revision=529
|
|
|
|
|
|
| |
Add text-indent support.
svn path=/import/netsurf/; revision=527
|
|
|
|
|
|
| |
text-transform support.
svn path=/import/netsurf/; revision=521
|
|
|
|
|
|
| |
Add font-variant support. Update TODO-CSS appropriately
svn path=/import/netsurf/; revision=518
|
|
|
|
|
|
| |
Improve font-family.
svn path=/import/netsurf/; revision=515
|
|
|
|
|
|
|
|
| |
Add font-family support. Still needs a little work, but works fine as is.
Add CSS rules for text formatting HTML tags (<DFN> <CITE> <CODE> etc.)
Update TODO lists.
svn path=/import/netsurf/; revision=514
|
|
|
|
|
|
| |
Use charset from Content-Type header.
svn path=/import/netsurf/; revision=460
|
|
|
|
|
|
|
| |
Tidy code to reduce compiler warnings. htmlredraw.c and plugin.c produce
the most now. Hopefully I haven't broken anything ;)
svn path=/import/netsurf/; revision=451
|
|
|
|
|
|
| |
Improved text-decoration support.
svn path=/import/netsurf/; revision=403
|
|
|
|
|
|
|
| |
Add text-decoration support. Overline needs work. a:link defaults to
being underlined.
svn path=/import/netsurf/; revision=368
|
|
|
|
|
|
| |
Implement :link, ignore stylesheets with syntax errors, parse pseudo classes.
svn path=/import/netsurf/; revision=367
|
|
|
|
|
|
| |
Buffer css and scan in one piece to fix tokens split across blocks.
svn path=/import/netsurf/; revision=365
|
|
|
|
|
|
| |
CSS visibility support (not collapse)
svn path=/import/netsurf/; revision=361
|
|
|
|
|
|
| |
Implement white-space property, rename struct node to struct css_node and NODE_* to CSS_NODE_*.
svn path=/import/netsurf/; revision=347
|
|
|
|
|
|
| |
Implement background and font properties.
svn path=/import/netsurf/; revision=336
|